diff --git a/task-20.11 b/task-20.11 deleted file mode 160000 index 364eca0..0000000 --- a/task-20.11 +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 364eca0db6f45aa2718a8047a57821885138ea34 diff --git a/task-20.11/.idea/.gitignore b/task-20.11/.idea/.gitignore new file mode 100644 index 0000000..f8eeed6 --- /dev/null +++ b/task-20.11/.idea/.gitignore @@ -0,0 +1,15 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Rider ignored files +/modules.xml +/contentModel.xml +/projectSettingsUpdater.xml +/.idea.task-20.11.iml +# Ignored default folder with query files +/queries/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/task-20.11/.idea/indexLayout.xml b/task-20.11/.idea/indexLayout.xml new file mode 100644 index 0000000..7b08163 --- /dev/null +++ b/task-20.11/.idea/indexLayout.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/task-20.11/.idea/vcs.xml b/task-20.11/.idea/vcs.xml new file mode 100644 index 0000000..62bd7a0 --- /dev/null +++ b/task-20.11/.idea/vcs.xml @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/task-20.11/1.txt b/task-20.11/1.txt new file mode 100644 index 0000000..e69de29 diff --git a/task-20.11/App.axaml b/task-20.11/App.axaml new file mode 100644 index 0000000..aa53992 --- /dev/null +++ b/task-20.11/App.axaml @@ -0,0 +1,10 @@ + + + + + + + \ No newline at end of file diff --git a/task-20.11/App.axaml.cs b/task-20.11/App.axaml.cs new file mode 100644 index 0000000..b0bed70 --- /dev/null +++ b/task-20.11/App.axaml.cs @@ -0,0 +1,23 @@ +using Avalonia; +using Avalonia.Controls.ApplicationLifetimes; +using Avalonia.Markup.Xaml; + +namespace DemoCats; + +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(); + } +} \ No newline at end of file diff --git a/task-20.11/DemoCats.csproj b/task-20.11/DemoCats.csproj new file mode 100644 index 0000000..4d70a60 --- /dev/null +++ b/task-20.11/DemoCats.csproj @@ -0,0 +1,21 @@ + + + WinExe + net10.0 + enable + app.manifest + DemoCatas + + + + + + + + + None + All + + + +//что испозльзуется, какаи версии \ No newline at end of file diff --git a/task-20.11/MainWindow.axaml b/task-20.11/MainWindow.axaml new file mode 100644 index 0000000..46a003b --- /dev/null +++ b/task-20.11/MainWindow.axaml @@ -0,0 +1,20 @@ + + + + + + + + +