From a7d18f56e9d537d5ff93b452dd3b14036dcfa08a Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Thu, 21 Mar 2024 23:24:29 +0100 Subject: [PATCH] Initialize new WPF application --- Tasks/UrlTester/DT3/App.xaml | 9 +++++++++ Tasks/UrlTester/DT3/App.xaml.cs | 12 ++++++++++++ Tasks/UrlTester/DT3/AssemblyInfo.cs | 10 ++++++++++ Tasks/UrlTester/DT3/MainWindow.xaml | 12 ++++++++++++ Tasks/UrlTester/DT3/MainWindow.xaml.cs | 23 +++++++++++++++++++++++ Tasks/UrlTester/UrlTester.csproj | 5 +++-- 6 files changed, 69 insertions(+), 2 deletions(-) create mode 100644 Tasks/UrlTester/DT3/App.xaml create mode 100644 Tasks/UrlTester/DT3/App.xaml.cs create mode 100644 Tasks/UrlTester/DT3/AssemblyInfo.cs create mode 100644 Tasks/UrlTester/DT3/MainWindow.xaml create mode 100644 Tasks/UrlTester/DT3/MainWindow.xaml.cs diff --git a/Tasks/UrlTester/DT3/App.xaml b/Tasks/UrlTester/DT3/App.xaml new file mode 100644 index 0000000..6467a90 --- /dev/null +++ b/Tasks/UrlTester/DT3/App.xaml @@ -0,0 +1,9 @@ + + + + + diff --git a/Tasks/UrlTester/DT3/App.xaml.cs b/Tasks/UrlTester/DT3/App.xaml.cs new file mode 100644 index 0000000..2a6d31d --- /dev/null +++ b/Tasks/UrlTester/DT3/App.xaml.cs @@ -0,0 +1,12 @@ +using System.Configuration; +using System.Data; +using System.Windows; + +namespace UrlTester; + +/// +/// Interaction logic for App.xaml +/// +public partial class App : Application +{ +} diff --git a/Tasks/UrlTester/DT3/AssemblyInfo.cs b/Tasks/UrlTester/DT3/AssemblyInfo.cs new file mode 100644 index 0000000..cc29e7f --- /dev/null +++ b/Tasks/UrlTester/DT3/AssemblyInfo.cs @@ -0,0 +1,10 @@ +using System.Windows; + +[assembly:ThemeInfo( + ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located + //(used if a resource is not found in the page, + // or application resource dictionaries) + ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located + //(used if a resource is not found in the page, + // app, or any theme specific resource dictionaries) +)] diff --git a/Tasks/UrlTester/DT3/MainWindow.xaml b/Tasks/UrlTester/DT3/MainWindow.xaml new file mode 100644 index 0000000..28f8c41 --- /dev/null +++ b/Tasks/UrlTester/DT3/MainWindow.xaml @@ -0,0 +1,12 @@ + + + + + diff --git a/Tasks/UrlTester/DT3/MainWindow.xaml.cs b/Tasks/UrlTester/DT3/MainWindow.xaml.cs new file mode 100644 index 0000000..4c8fd49 --- /dev/null +++ b/Tasks/UrlTester/DT3/MainWindow.xaml.cs @@ -0,0 +1,23 @@ +using System.Text; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace lel; + +/// +/// Interaction logic for MainWindow.xaml +/// +public partial class MainWindow : Window +{ + public MainWindow() + { + InitializeComponent(); + } +} \ No newline at end of file diff --git a/Tasks/UrlTester/UrlTester.csproj b/Tasks/UrlTester/UrlTester.csproj index 9e7e345..deca785 100644 --- a/Tasks/UrlTester/UrlTester.csproj +++ b/Tasks/UrlTester/UrlTester.csproj @@ -1,10 +1,11 @@ - Exe - net8.0 + WinExe + net8.0-windows enable disable + true