Initial
This commit is contained in:
parent
141d398f42
commit
ca16dd4be9
6
Project_Periodensystem.Controller/Class1.cs
Normal file
6
Project_Periodensystem.Controller/Class1.cs
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
namespace Project_Periodensystem.Controller;
|
||||||
|
|
||||||
|
public class Class1
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,14 @@
|
|||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\Project_Periodensystem.Model\Project_Periodensystem.Model.csproj" />
|
||||||
|
<ProjectReference Include="..\Project_Periodensystem.Persistence\Project_Periodensystem.Persistence.csproj" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<TargetFramework>net9.0</TargetFramework>
|
||||||
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
|
<Nullable>enable</Nullable>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
</Project>
|
||||||
6
Project_Periodensystem.Model/Class1.cs
Normal file
6
Project_Periodensystem.Model/Class1.cs
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
namespace Project_Periodensystem.Model;
|
||||||
|
|
||||||
|
public class Class1
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,9 @@
|
|||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<TargetFramework>net9.0</TargetFramework>
|
||||||
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
|
<Nullable>enable</Nullable>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
</Project>
|
||||||
6
Project_Periodensystem.Persistence/Class1.cs
Normal file
6
Project_Periodensystem.Persistence/Class1.cs
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
namespace Project_Periodensystem.Persistence;
|
||||||
|
|
||||||
|
public class Class1
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,9 @@
|
|||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<TargetFramework>net9.0</TargetFramework>
|
||||||
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
|
<Nullable>enable</Nullable>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
</Project>
|
||||||
10
Project_Periodensystem.View/App.axaml
Normal file
10
Project_Periodensystem.View/App.axaml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<Application xmlns="https://github.com/avaloniaui"
|
||||||
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
|
x:Class="Project_Periodensystem.View.App"
|
||||||
|
RequestedThemeVariant="Default">
|
||||||
|
<!-- "Default" ThemeVariant follows system theme variant. "Dark" or "Light" are other available options. -->
|
||||||
|
|
||||||
|
<Application.Styles>
|
||||||
|
<FluentTheme />
|
||||||
|
</Application.Styles>
|
||||||
|
</Application>
|
||||||
23
Project_Periodensystem.View/App.axaml.cs
Normal file
23
Project_Periodensystem.View/App.axaml.cs
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
using Avalonia;
|
||||||
|
using Avalonia.Controls.ApplicationLifetimes;
|
||||||
|
using Avalonia.Markup.Xaml;
|
||||||
|
|
||||||
|
namespace Project_Periodensystem.View;
|
||||||
|
|
||||||
|
public partial class App : Application
|
||||||
|
{
|
||||||
|
public override void Initialize()
|
||||||
|
{
|
||||||
|
AvaloniaXamlLoader.Load(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void OnFrameworkInitializationCompleted()
|
||||||
|
{
|
||||||
|
if (ApplicationLifetime is IClassicDesktopStyleApplicationLifetime desktop)
|
||||||
|
{
|
||||||
|
desktop.MainWindow = new MainWindow();
|
||||||
|
}
|
||||||
|
|
||||||
|
base.OnFrameworkInitializationCompleted();
|
||||||
|
}
|
||||||
|
}
|
||||||
9
Project_Periodensystem.View/MainWindow.axaml
Normal file
9
Project_Periodensystem.View/MainWindow.axaml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<Window xmlns="https://github.com/avaloniaui"
|
||||||
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
|
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
||||||
|
x:Class="Project_Periodensystem.View.MainWindow"
|
||||||
|
Title="Project_Periodensystem.View">
|
||||||
|
Welcome to Avalonia!
|
||||||
|
</Window>
|
||||||
11
Project_Periodensystem.View/MainWindow.axaml.cs
Normal file
11
Project_Periodensystem.View/MainWindow.axaml.cs
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
using Avalonia.Controls;
|
||||||
|
|
||||||
|
namespace Project_Periodensystem.View;
|
||||||
|
|
||||||
|
public partial class MainWindow : Window
|
||||||
|
{
|
||||||
|
public MainWindow()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
}
|
||||||
21
Project_Periodensystem.View/Program.cs
Normal file
21
Project_Periodensystem.View/Program.cs
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
using Avalonia;
|
||||||
|
using System;
|
||||||
|
|
||||||
|
namespace Project_Periodensystem.View;
|
||||||
|
|
||||||
|
class Program
|
||||||
|
{
|
||||||
|
// Initialization code. Don't use any Avalonia, third-party APIs or any
|
||||||
|
// SynchronizationContext-reliant code before AppMain is called: things aren't initialized
|
||||||
|
// yet and stuff might break.
|
||||||
|
[STAThread]
|
||||||
|
public static void Main(string[] args) => BuildAvaloniaApp()
|
||||||
|
.StartWithClassicDesktopLifetime(args);
|
||||||
|
|
||||||
|
// Avalonia configuration, don't remove; also used by visual designer.
|
||||||
|
public static AppBuilder BuildAvaloniaApp()
|
||||||
|
=> AppBuilder.Configure<App>()
|
||||||
|
.UsePlatformDetect()
|
||||||
|
.WithInterFont()
|
||||||
|
.LogToTrace();
|
||||||
|
}
|
||||||
@ -0,0 +1,27 @@
|
|||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
<PropertyGroup>
|
||||||
|
<OutputType>WinExe</OutputType>
|
||||||
|
<TargetFramework>net9.0</TargetFramework>
|
||||||
|
<Nullable>enable</Nullable>
|
||||||
|
<BuiltInComInteropSupport>true</BuiltInComInteropSupport>
|
||||||
|
<ApplicationManifest>app.manifest</ApplicationManifest>
|
||||||
|
<AvaloniaUseCompiledBindingsByDefault>true</AvaloniaUseCompiledBindingsByDefault>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageReference Include="Avalonia" Version="11.2.6" />
|
||||||
|
<PackageReference Include="Avalonia.Desktop" Version="11.2.6" />
|
||||||
|
<PackageReference Include="Avalonia.Themes.Fluent" Version="11.2.6" />
|
||||||
|
<PackageReference Include="Avalonia.Fonts.Inter" Version="11.2.6" />
|
||||||
|
<!--Condition below is needed to remove Avalonia.Diagnostics package from build output in Release configuration.-->
|
||||||
|
<PackageReference Include="Avalonia.Diagnostics" Version="11.2.6">
|
||||||
|
<IncludeAssets Condition="'$(Configuration)' != 'Debug'">None</IncludeAssets>
|
||||||
|
<PrivateAssets Condition="'$(Configuration)' != 'Debug'">All</PrivateAssets>
|
||||||
|
</PackageReference>
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\Project_Periodensystem.Controller\Project_Periodensystem.Controller.csproj" />
|
||||||
|
<ProjectReference Include="..\Project_Periodensystem.Model\Project_Periodensystem.Model.csproj" />
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
||||||
18
Project_Periodensystem.View/app.manifest
Normal file
18
Project_Periodensystem.View/app.manifest
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||||
|
<!-- This manifest is used on Windows only.
|
||||||
|
Don't remove it as it might cause problems with window transparency and embedded controls.
|
||||||
|
For more details visit https://learn.microsoft.com/en-us/windows/win32/sbscs/application-manifests -->
|
||||||
|
<assemblyIdentity version="1.0.0.0" name="Project_Periodensystem.View.Desktop"/>
|
||||||
|
|
||||||
|
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
|
||||||
|
<application>
|
||||||
|
<!-- A list of the Windows versions that this application has been tested on
|
||||||
|
and is designed to work with. Uncomment the appropriate elements
|
||||||
|
and Windows will automatically select the most compatible environment. -->
|
||||||
|
|
||||||
|
<!-- Windows 10 -->
|
||||||
|
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}" />
|
||||||
|
</application>
|
||||||
|
</compatibility>
|
||||||
|
</assembly>
|
||||||
76
Project_Persiodensystem.sln
Normal file
76
Project_Persiodensystem.sln
Normal file
@ -0,0 +1,76 @@
|
|||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
# Visual Studio Version 17
|
||||||
|
VisualStudioVersion = 17.0.31903.59
|
||||||
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Project_Periodensystem.View", "Project_Periodensystem.View\Project_Periodensystem.View.csproj", "{13D4E523-16AF-49D5-8698-84C9550DF838}"
|
||||||
|
EndProject
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Project_Periodensystem.Controller", "Project_Periodensystem.Controller\Project_Periodensystem.Controller.csproj", "{40CC5866-54BE-407F-BA49-952AE161FC32}"
|
||||||
|
EndProject
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Project_Periodensystem.Model", "Project_Periodensystem.Model\Project_Periodensystem.Model.csproj", "{419D7396-3324-45F9-A6F2-D316701EF418}"
|
||||||
|
EndProject
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Project_Periodensystem.Persistence", "Project_Periodensystem.Persistence\Project_Periodensystem.Persistence.csproj", "{2833C62D-4832-44F3-A446-148A5D0339F0}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
Debug|x64 = Debug|x64
|
||||||
|
Debug|x86 = Debug|x86
|
||||||
|
Release|Any CPU = Release|Any CPU
|
||||||
|
Release|x64 = Release|x64
|
||||||
|
Release|x86 = Release|x86
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{13D4E523-16AF-49D5-8698-84C9550DF838}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{13D4E523-16AF-49D5-8698-84C9550DF838}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{13D4E523-16AF-49D5-8698-84C9550DF838}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||||
|
{13D4E523-16AF-49D5-8698-84C9550DF838}.Debug|x64.Build.0 = Debug|Any CPU
|
||||||
|
{13D4E523-16AF-49D5-8698-84C9550DF838}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||||
|
{13D4E523-16AF-49D5-8698-84C9550DF838}.Debug|x86.Build.0 = Debug|Any CPU
|
||||||
|
{13D4E523-16AF-49D5-8698-84C9550DF838}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{13D4E523-16AF-49D5-8698-84C9550DF838}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{13D4E523-16AF-49D5-8698-84C9550DF838}.Release|x64.ActiveCfg = Release|Any CPU
|
||||||
|
{13D4E523-16AF-49D5-8698-84C9550DF838}.Release|x64.Build.0 = Release|Any CPU
|
||||||
|
{13D4E523-16AF-49D5-8698-84C9550DF838}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
|
{13D4E523-16AF-49D5-8698-84C9550DF838}.Release|x86.Build.0 = Release|Any CPU
|
||||||
|
{40CC5866-54BE-407F-BA49-952AE161FC32}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{40CC5866-54BE-407F-BA49-952AE161FC32}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{40CC5866-54BE-407F-BA49-952AE161FC32}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||||
|
{40CC5866-54BE-407F-BA49-952AE161FC32}.Debug|x64.Build.0 = Debug|Any CPU
|
||||||
|
{40CC5866-54BE-407F-BA49-952AE161FC32}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||||
|
{40CC5866-54BE-407F-BA49-952AE161FC32}.Debug|x86.Build.0 = Debug|Any CPU
|
||||||
|
{40CC5866-54BE-407F-BA49-952AE161FC32}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{40CC5866-54BE-407F-BA49-952AE161FC32}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{40CC5866-54BE-407F-BA49-952AE161FC32}.Release|x64.ActiveCfg = Release|Any CPU
|
||||||
|
{40CC5866-54BE-407F-BA49-952AE161FC32}.Release|x64.Build.0 = Release|Any CPU
|
||||||
|
{40CC5866-54BE-407F-BA49-952AE161FC32}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
|
{40CC5866-54BE-407F-BA49-952AE161FC32}.Release|x86.Build.0 = Release|Any CPU
|
||||||
|
{419D7396-3324-45F9-A6F2-D316701EF418}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{419D7396-3324-45F9-A6F2-D316701EF418}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{419D7396-3324-45F9-A6F2-D316701EF418}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||||
|
{419D7396-3324-45F9-A6F2-D316701EF418}.Debug|x64.Build.0 = Debug|Any CPU
|
||||||
|
{419D7396-3324-45F9-A6F2-D316701EF418}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||||
|
{419D7396-3324-45F9-A6F2-D316701EF418}.Debug|x86.Build.0 = Debug|Any CPU
|
||||||
|
{419D7396-3324-45F9-A6F2-D316701EF418}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{419D7396-3324-45F9-A6F2-D316701EF418}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{419D7396-3324-45F9-A6F2-D316701EF418}.Release|x64.ActiveCfg = Release|Any CPU
|
||||||
|
{419D7396-3324-45F9-A6F2-D316701EF418}.Release|x64.Build.0 = Release|Any CPU
|
||||||
|
{419D7396-3324-45F9-A6F2-D316701EF418}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
|
{419D7396-3324-45F9-A6F2-D316701EF418}.Release|x86.Build.0 = Release|Any CPU
|
||||||
|
{2833C62D-4832-44F3-A446-148A5D0339F0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{2833C62D-4832-44F3-A446-148A5D0339F0}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{2833C62D-4832-44F3-A446-148A5D0339F0}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||||
|
{2833C62D-4832-44F3-A446-148A5D0339F0}.Debug|x64.Build.0 = Debug|Any CPU
|
||||||
|
{2833C62D-4832-44F3-A446-148A5D0339F0}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||||
|
{2833C62D-4832-44F3-A446-148A5D0339F0}.Debug|x86.Build.0 = Debug|Any CPU
|
||||||
|
{2833C62D-4832-44F3-A446-148A5D0339F0}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{2833C62D-4832-44F3-A446-148A5D0339F0}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{2833C62D-4832-44F3-A446-148A5D0339F0}.Release|x64.ActiveCfg = Release|Any CPU
|
||||||
|
{2833C62D-4832-44F3-A446-148A5D0339F0}.Release|x64.Build.0 = Release|Any CPU
|
||||||
|
{2833C62D-4832-44F3-A446-148A5D0339F0}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
|
{2833C62D-4832-44F3-A446-148A5D0339F0}.Release|x86.Build.0 = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
||||||
0
program.cs
Normal file
0
program.cs
Normal file
Loading…
Reference in New Issue
Block a user