commit e8319cee614431d1a9b9d1c9878b71cec61259a0 Author: End3r Date: Tue Feb 4 15:27:32 2025 +0300 init commit diff --git a/App.axaml b/App.axaml new file mode 100644 index 0000000..6c873ab --- /dev/null +++ b/App.axaml @@ -0,0 +1,10 @@ + + + + + + + \ No newline at end of file diff --git a/App.axaml.cs b/App.axaml.cs new file mode 100644 index 0000000..6548ec4 --- /dev/null +++ b/App.axaml.cs @@ -0,0 +1,23 @@ +using Avalonia; +using Avalonia.Controls.ApplicationLifetimes; +using Avalonia.Markup.Xaml; + +namespace demo_hard; + +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/FunctionWindow.axaml b/FunctionWindow.axaml new file mode 100644 index 0000000..f9096d2 --- /dev/null +++ b/FunctionWindow.axaml @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + diff --git a/FunctionWindow.axaml.cs b/FunctionWindow.axaml.cs new file mode 100644 index 0000000..0d60b39 --- /dev/null +++ b/FunctionWindow.axaml.cs @@ -0,0 +1,15 @@ +using Avalonia; +using Avalonia.Controls; +using Avalonia.Markup.Xaml; +using demo_hard.Models; + +namespace demo_hard; + +public partial class FunctionWindow : Window +{ + public FunctionWindow() + { + InitializeComponent(); + DataContext = new Employee(); + } +} \ No newline at end of file diff --git a/MainWindow.axaml b/MainWindow.axaml new file mode 100644 index 0000000..b974572 --- /dev/null +++ b/MainWindow.axaml @@ -0,0 +1,22 @@ + + + + + + + + + + +