commit 20ee451026c9657f2b076dfd96f56fbf711ddde5 Author: Your Name Date: Wed Feb 5 16:36:06 2025 +0300 first diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..750eb08 Binary files /dev/null and b/.DS_Store differ diff --git a/.idea/.idea.BuggyCalculator/.idea/.gitignore b/.idea/.idea.BuggyCalculator/.idea/.gitignore new file mode 100644 index 0000000..e891fc3 --- /dev/null +++ b/.idea/.idea.BuggyCalculator/.idea/.gitignore @@ -0,0 +1,13 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Rider ignored files +/.idea.BuggyCalculator.iml +/projectSettingsUpdater.xml +/modules.xml +/contentModel.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/.idea.BuggyCalculator/.idea/.name b/.idea/.idea.BuggyCalculator/.idea/.name new file mode 100644 index 0000000..1bf1dbf --- /dev/null +++ b/.idea/.idea.BuggyCalculator/.idea/.name @@ -0,0 +1 @@ +BuggyCalculator \ No newline at end of file diff --git a/.idea/.idea.BuggyCalculator/.idea/avalonia.xml b/.idea/.idea.BuggyCalculator/.idea/avalonia.xml new file mode 100644 index 0000000..de03235 --- /dev/null +++ b/.idea/.idea.BuggyCalculator/.idea/avalonia.xml @@ -0,0 +1,11 @@ + + + + + + \ No newline at end of file diff --git a/.idea/.idea.BuggyCalculator/.idea/indexLayout.xml b/.idea/.idea.BuggyCalculator/.idea/indexLayout.xml new file mode 100644 index 0000000..7b08163 --- /dev/null +++ b/.idea/.idea.BuggyCalculator/.idea/indexLayout.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/.idea.BuggyCalculator/.idea/vcs.xml b/.idea/.idea.BuggyCalculator/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/.idea.BuggyCalculator/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/BuggyCalculator.sln b/BuggyCalculator.sln new file mode 100644 index 0000000..43298c9 --- /dev/null +++ b/BuggyCalculator.sln @@ -0,0 +1,16 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BuggyCalculator", "BuggyCalculator\BuggyCalculator.csproj", "{35EBFF1E-0DD0-4484-8A24-2D1B94744F34}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {35EBFF1E-0DD0-4484-8A24-2D1B94744F34}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {35EBFF1E-0DD0-4484-8A24-2D1B94744F34}.Debug|Any CPU.Build.0 = Debug|Any CPU + {35EBFF1E-0DD0-4484-8A24-2D1B94744F34}.Release|Any CPU.ActiveCfg = Release|Any CPU + {35EBFF1E-0DD0-4484-8A24-2D1B94744F34}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/BuggyCalculator/App.axaml b/BuggyCalculator/App.axaml new file mode 100644 index 0000000..2555bc3 --- /dev/null +++ b/BuggyCalculator/App.axaml @@ -0,0 +1,10 @@ + + + + + + + \ No newline at end of file diff --git a/BuggyCalculator/App.axaml.cs b/BuggyCalculator/App.axaml.cs new file mode 100644 index 0000000..8e3dde2 --- /dev/null +++ b/BuggyCalculator/App.axaml.cs @@ -0,0 +1,23 @@ +using Avalonia; +using Avalonia.Controls.ApplicationLifetimes; +using Avalonia.Markup.Xaml; + +namespace BuggyCalculator; + +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/BuggyCalculator/BuggyCalculator.csproj b/BuggyCalculator/BuggyCalculator.csproj new file mode 100644 index 0000000..3ea4f5b --- /dev/null +++ b/BuggyCalculator/BuggyCalculator.csproj @@ -0,0 +1,19 @@ + + + WinExe + net8.0 + enable + true + app.manifest + true + + + + + + + + + + + diff --git a/BuggyCalculator/MainWindow.axaml b/BuggyCalculator/MainWindow.axaml new file mode 100644 index 0000000..dffabd0 --- /dev/null +++ b/BuggyCalculator/MainWindow.axaml @@ -0,0 +1,43 @@ + + + + + + + + + Сложение + Вычитание + Умножение + Деление + Возведение в степень + Квадратный корень + Логарифм + Синус + Косинус + Тангенс + +