From add30ad132ca342ec9ce6ac539cc3ee63d487619 Mon Sep 17 00:00:00 2001 From: NotYoojun Date: Thu, 2 May 2024 22:39:58 +0800 Subject: [PATCH 1/2] Add TransparentNavigationViewExample --- .../TransparentNavigationViewExample/App.xaml | 15 ++++++ .../App.xaml.cs | 14 ++++++ .../AssemblyInfo.cs | 10 ++++ .../MainWindow.xaml | 47 +++++++++++++++++++ .../MainWindow.xaml.cs | 24 ++++++++++ .../TransparentNavigationViewExample.csproj | 16 +++++++ 6 files changed, 126 insertions(+) create mode 100644 samples/TransparentNavigationViewExample/App.xaml create mode 100644 samples/TransparentNavigationViewExample/App.xaml.cs create mode 100644 samples/TransparentNavigationViewExample/AssemblyInfo.cs create mode 100644 samples/TransparentNavigationViewExample/MainWindow.xaml create mode 100644 samples/TransparentNavigationViewExample/MainWindow.xaml.cs create mode 100644 samples/TransparentNavigationViewExample/TransparentNavigationViewExample.csproj diff --git a/samples/TransparentNavigationViewExample/App.xaml b/samples/TransparentNavigationViewExample/App.xaml new file mode 100644 index 0000000..d8948fd --- /dev/null +++ b/samples/TransparentNavigationViewExample/App.xaml @@ -0,0 +1,15 @@ + + + + + + + + + + diff --git a/samples/TransparentNavigationViewExample/App.xaml.cs b/samples/TransparentNavigationViewExample/App.xaml.cs new file mode 100644 index 0000000..1e47978 --- /dev/null +++ b/samples/TransparentNavigationViewExample/App.xaml.cs @@ -0,0 +1,14 @@ +using System.Configuration; +using System.Data; +using System.Windows; + +namespace TransparentNavigationViewExample +{ + /// + /// Interaction logic for App.xaml + /// + public partial class App : Application + { + } + +} diff --git a/samples/TransparentNavigationViewExample/AssemblyInfo.cs b/samples/TransparentNavigationViewExample/AssemblyInfo.cs new file mode 100644 index 0000000..b0ec827 --- /dev/null +++ b/samples/TransparentNavigationViewExample/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/samples/TransparentNavigationViewExample/MainWindow.xaml b/samples/TransparentNavigationViewExample/MainWindow.xaml new file mode 100644 index 0000000..d49429b --- /dev/null +++ b/samples/TransparentNavigationViewExample/MainWindow.xaml @@ -0,0 +1,47 @@ + + + + + 0,0,0,0 + 8,0,0,8 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/samples/TransparentNavigationViewExample/MainWindow.xaml.cs b/samples/TransparentNavigationViewExample/MainWindow.xaml.cs new file mode 100644 index 0000000..cec72c7 --- /dev/null +++ b/samples/TransparentNavigationViewExample/MainWindow.xaml.cs @@ -0,0 +1,24 @@ +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 TransparentNavigationViewExample +{ + /// + /// Interaction logic for MainWindow.xaml + /// + public partial class MainWindow : Window + { + public MainWindow() + { + InitializeComponent(); + } + } +} \ No newline at end of file diff --git a/samples/TransparentNavigationViewExample/TransparentNavigationViewExample.csproj b/samples/TransparentNavigationViewExample/TransparentNavigationViewExample.csproj new file mode 100644 index 0000000..a5daf7e --- /dev/null +++ b/samples/TransparentNavigationViewExample/TransparentNavigationViewExample.csproj @@ -0,0 +1,16 @@ + + + + WinExe + net6.0-windows10.0.18362.0 + enable + enable + true + + + + + + + + From c89d330594915655d6de9a1817e66947070abb82 Mon Sep 17 00:00:00 2001 From: NotYoojun Date: Thu, 2 May 2024 22:40:47 +0800 Subject: [PATCH 2/2] Move photo taker --- iNKORE.UI.WPF.Modern.sln | 2 +- {sample => samples}/ExamplePhotoTaker/App.xaml | 0 {sample => samples}/ExamplePhotoTaker/App.xaml.cs | 0 {sample => samples}/ExamplePhotoTaker/AssemblyInfo.cs | 0 {sample => samples}/ExamplePhotoTaker/ExamplePhotoTaker.csproj | 0 {sample => samples}/ExamplePhotoTaker/MainWindow.xaml | 0 {sample => samples}/ExamplePhotoTaker/MainWindow.xaml.cs | 0 7 files changed, 1 insertion(+), 1 deletion(-) rename {sample => samples}/ExamplePhotoTaker/App.xaml (100%) rename {sample => samples}/ExamplePhotoTaker/App.xaml.cs (100%) rename {sample => samples}/ExamplePhotoTaker/AssemblyInfo.cs (100%) rename {sample => samples}/ExamplePhotoTaker/ExamplePhotoTaker.csproj (100%) rename {sample => samples}/ExamplePhotoTaker/MainWindow.xaml (100%) rename {sample => samples}/ExamplePhotoTaker/MainWindow.xaml.cs (100%) diff --git a/iNKORE.UI.WPF.Modern.sln b/iNKORE.UI.WPF.Modern.sln index 350e5b3..688f34b 100644 --- a/iNKORE.UI.WPF.Modern.sln +++ b/iNKORE.UI.WPF.Modern.sln @@ -51,7 +51,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WindowExample", "samples\Wi EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IconKeyFileMaker", "tools\IconKeyFileMaker\IconKeyFileMaker.csproj", "{6561632F-0B5A-4869-8C82-E05238326B32}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ExamplePhotoTaker", "sample\ExamplePhotoTaker\ExamplePhotoTaker.csproj", "{194059C8-5CBF-4548-8216-3D251CE43236}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ExamplePhotoTaker", "samples\ExamplePhotoTaker\ExamplePhotoTaker.csproj", "{194059C8-5CBF-4548-8216-3D251CE43236}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/sample/ExamplePhotoTaker/App.xaml b/samples/ExamplePhotoTaker/App.xaml similarity index 100% rename from sample/ExamplePhotoTaker/App.xaml rename to samples/ExamplePhotoTaker/App.xaml diff --git a/sample/ExamplePhotoTaker/App.xaml.cs b/samples/ExamplePhotoTaker/App.xaml.cs similarity index 100% rename from sample/ExamplePhotoTaker/App.xaml.cs rename to samples/ExamplePhotoTaker/App.xaml.cs diff --git a/sample/ExamplePhotoTaker/AssemblyInfo.cs b/samples/ExamplePhotoTaker/AssemblyInfo.cs similarity index 100% rename from sample/ExamplePhotoTaker/AssemblyInfo.cs rename to samples/ExamplePhotoTaker/AssemblyInfo.cs diff --git a/sample/ExamplePhotoTaker/ExamplePhotoTaker.csproj b/samples/ExamplePhotoTaker/ExamplePhotoTaker.csproj similarity index 100% rename from sample/ExamplePhotoTaker/ExamplePhotoTaker.csproj rename to samples/ExamplePhotoTaker/ExamplePhotoTaker.csproj diff --git a/sample/ExamplePhotoTaker/MainWindow.xaml b/samples/ExamplePhotoTaker/MainWindow.xaml similarity index 100% rename from sample/ExamplePhotoTaker/MainWindow.xaml rename to samples/ExamplePhotoTaker/MainWindow.xaml diff --git a/sample/ExamplePhotoTaker/MainWindow.xaml.cs b/samples/ExamplePhotoTaker/MainWindow.xaml.cs similarity index 100% rename from sample/ExamplePhotoTaker/MainWindow.xaml.cs rename to samples/ExamplePhotoTaker/MainWindow.xaml.cs