diff --git a/AppForKids.sln b/AppForKids.sln new file mode 100644 index 0000000..ed81e30 --- /dev/null +++ b/AppForKids.sln @@ -0,0 +1,16 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AppForKids", "AppForKids\AppForKids.csproj", "{4E7B7257-224A-465E-84C9-AF7DC5D9FF3E}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {4E7B7257-224A-465E-84C9-AF7DC5D9FF3E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {4E7B7257-224A-465E-84C9-AF7DC5D9FF3E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {4E7B7257-224A-465E-84C9-AF7DC5D9FF3E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {4E7B7257-224A-465E-84C9-AF7DC5D9FF3E}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/AppForKids/App.axaml b/AppForKids/App.axaml new file mode 100644 index 0000000..c349c73 --- /dev/null +++ b/AppForKids/App.axaml @@ -0,0 +1,11 @@ + + + + + + + + \ No newline at end of file diff --git a/AppForKids/App.axaml.cs b/AppForKids/App.axaml.cs new file mode 100644 index 0000000..abf90b5 --- /dev/null +++ b/AppForKids/App.axaml.cs @@ -0,0 +1,23 @@ +using Avalonia; +using Avalonia.Controls.ApplicationLifetimes; +using Avalonia.Markup.Xaml; + +namespace AppForKids; + +public partial class App : Application +{ + public override void Initialize() + { + AvaloniaXamlLoader.Load(this); + } + + public override void OnFrameworkInitializationCompleted() + { + if (ApplicationLifetime is IClassicDesktopStyleApplicationLifetime desktop) + { + desktop.MainWindow = new Registration(); + } + + base.OnFrameworkInitializationCompleted(); + } +} \ No newline at end of file diff --git a/AppForKids/AppForKids.csproj b/AppForKids/AppForKids.csproj new file mode 100644 index 0000000..36e431a --- /dev/null +++ b/AppForKids/AppForKids.csproj @@ -0,0 +1,29 @@ + + + WinExe + net8.0 + enable + true + app.manifest + true + + + + + + + + + + + None + All + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + diff --git a/AppForKids/MainWindow.axaml b/AppForKids/MainWindow.axaml new file mode 100644 index 0000000..b6a3dc9 --- /dev/null +++ b/AppForKids/MainWindow.axaml @@ -0,0 +1,19 @@ + + + + + +