commit fb4730effe4026db7dda64ac749982ae5e309241 Author: audioprog Date: Fri Aug 15 23:40:39 2025 +0200 Init diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ce694ce --- /dev/null +++ b/.gitignore @@ -0,0 +1,55 @@ +## A streamlined .gitignore for modern .NET projects +## including temporary files, build results, and +## files generated by popular .NET tools. If you are +## developing with Visual Studio, the VS .gitignore +## https://github.com/github/gitignore/blob/main/VisualStudio.gitignore +## has more thorough IDE-specific entries. +## +## Get latest from https://github.com/github/gitignore/blob/main/Dotnet.gitignore + +# Build results +[Dd]ebug/ +[Dd]ebugPublic/ +[Rr]elease/ +[Rr]eleases/ +x64/ +x86/ +[Ww][Ii][Nn]32/ +[Aa][Rr][Mm]/ +[Aa][Rr][Mm]64/ +bld/ +[Bb]in/ +[Oo]bj/ +[Ll]og/ +[Ll]ogs/ + +# .NET Core +project.lock.json +project.fragment.lock.json +artifacts/ + +# ASP.NET Scaffolding +ScaffoldingReadMe.txt + +# NuGet Packages +*.nupkg +# NuGet Symbol Packages +*.snupkg + +# Others +~$* +*~ +CodeCoverage/ + +# MSBuild Binary and Structured Log +*.binlog + +# MSTest test Results +[Tt]est[Rr]esult*/ +[Bb]uild[Ll]og.* + +# NUnit +*.VisualState.xml +TestResult.xml +nunit-*.xml +settings.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..9f8acc7 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,19 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "name": ".NET Core Launch (console)", + "type": "coreclr", + "request": "launch", + "preLaunchTask": "build", + "program": "${workspaceFolder}/bin/Debug/net6.0/HAcontrol.dll", + "args": [], + "cwd": "${workspaceFolder}", + "stopAtEntry": false, + "console": "internalConsole" + } + ] +} \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..d644898 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,14 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "type": "msbuild", + "problemMatcher": [ + "$msCompile" + ], + "group": "build", + "label": "Build: HAcontrol.csproj", + "detail": "Build the HAcontrol.csproj project using dotnet build" + } + ] +} \ No newline at end of file diff --git a/App.axaml b/App.axaml new file mode 100644 index 0000000..948e893 --- /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..5951fdc --- /dev/null +++ b/App.axaml.cs @@ -0,0 +1,23 @@ +using Avalonia; +using Avalonia.Controls.ApplicationLifetimes; +using Avalonia.Markup.Xaml; + +namespace HAcontrol; + +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/HAcontrol.csproj b/HAcontrol.csproj new file mode 100644 index 0000000..4f32dfd --- /dev/null +++ b/HAcontrol.csproj @@ -0,0 +1,22 @@ + + + WinExe + net9.0 + enable + true + app.manifest + true + + + + + + + + + + None + All + + + diff --git a/HAcontrol.sln b/HAcontrol.sln new file mode 100644 index 0000000..16cd308 --- /dev/null +++ b/HAcontrol.sln @@ -0,0 +1,24 @@ +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.5.2.0 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HAcontrol", "HAcontrol.csproj", "{3179FA97-84FD-5AFA-A765-7986A9AE24D4}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {3179FA97-84FD-5AFA-A765-7986A9AE24D4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {3179FA97-84FD-5AFA-A765-7986A9AE24D4}.Debug|Any CPU.Build.0 = Debug|Any CPU + {3179FA97-84FD-5AFA-A765-7986A9AE24D4}.Release|Any CPU.ActiveCfg = Release|Any CPU + {3179FA97-84FD-5AFA-A765-7986A9AE24D4}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {003ED283-95ED-4466-8E3A-44DCDAA21BE1} + EndGlobalSection +EndGlobal diff --git a/MainWindow.axaml b/MainWindow.axaml new file mode 100644 index 0000000..52b09d3 --- /dev/null +++ b/MainWindow.axaml @@ -0,0 +1,17 @@ + + + +