From e09f7399d821a13c23f1c75159292ac0bc0e0696 Mon Sep 17 00:00:00 2001 From: HBL Date: Tue, 6 Sep 2022 15:58:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=A1=B9=E7=9B=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HKCard.sln | 31 +++++++++++++++++++ HKCardIN/App.xaml | 19 ++++++++++++ HKCardIN/App.xaml.cs | 8 +++++ HKCardIN/Bootstrapper.cs | 11 +++++++ HKCardIN/HKCardIN.csproj | 24 ++++++++++++++ HKCardIN/Properties/AssemblyInfo.cs | 3 ++ HKCardIN/Properties/DesignTimeResources.xaml | 6 ++++ HKCardIN/ViewModels/RootViewModel.cs | 19 ++++++++++++ HKCardIN/Views/RootView.xaml | 16 ++++++++++ HKCardIN/Views/RootView.xaml.cs | 14 +++++++++ HKCardOUT/App.xaml | 19 ++++++++++++ HKCardOUT/App.xaml.cs | 8 +++++ HKCardOUT/Bootstrapper.cs | 11 +++++++ HKCardOUT/HKCardOUT.csproj | 24 ++++++++++++++ HKCardOUT/Properties/AssemblyInfo.cs | 3 ++ HKCardOUT/Properties/DesignTimeResources.xaml | 6 ++++ HKCardOUT/ViewModels/RootViewModel.cs | 19 ++++++++++++ HKCardOUT/Views/RootView.xaml | 16 ++++++++++ HKCardOUT/Views/RootView.xaml.cs | 14 +++++++++ 19 files changed, 271 insertions(+) create mode 100644 HKCard.sln create mode 100644 HKCardIN/App.xaml create mode 100644 HKCardIN/App.xaml.cs create mode 100644 HKCardIN/Bootstrapper.cs create mode 100644 HKCardIN/HKCardIN.csproj create mode 100644 HKCardIN/Properties/AssemblyInfo.cs create mode 100644 HKCardIN/Properties/DesignTimeResources.xaml create mode 100644 HKCardIN/ViewModels/RootViewModel.cs create mode 100644 HKCardIN/Views/RootView.xaml create mode 100644 HKCardIN/Views/RootView.xaml.cs create mode 100644 HKCardOUT/App.xaml create mode 100644 HKCardOUT/App.xaml.cs create mode 100644 HKCardOUT/Bootstrapper.cs create mode 100644 HKCardOUT/HKCardOUT.csproj create mode 100644 HKCardOUT/Properties/AssemblyInfo.cs create mode 100644 HKCardOUT/Properties/DesignTimeResources.xaml create mode 100644 HKCardOUT/ViewModels/RootViewModel.cs create mode 100644 HKCardOUT/Views/RootView.xaml create mode 100644 HKCardOUT/Views/RootView.xaml.cs diff --git a/HKCard.sln b/HKCard.sln new file mode 100644 index 0000000..cebaddf --- /dev/null +++ b/HKCard.sln @@ -0,0 +1,31 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.3.32804.467 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HKCardIN", "HKCardIN\HKCardIN.csproj", "{B1174E5F-41B1-447E-BCDD-3C94E311487D}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HKCardOUT", "HKCardOUT\HKCardOUT.csproj", "{A03F8002-B946-4FD6-BEE7-54EFC199FE4E}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {B1174E5F-41B1-447E-BCDD-3C94E311487D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B1174E5F-41B1-447E-BCDD-3C94E311487D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B1174E5F-41B1-447E-BCDD-3C94E311487D}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B1174E5F-41B1-447E-BCDD-3C94E311487D}.Release|Any CPU.Build.0 = Release|Any CPU + {A03F8002-B946-4FD6-BEE7-54EFC199FE4E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A03F8002-B946-4FD6-BEE7-54EFC199FE4E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A03F8002-B946-4FD6-BEE7-54EFC199FE4E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A03F8002-B946-4FD6-BEE7-54EFC199FE4E}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {A887F695-BF16-40DC-AE7C-EAFCA61F23D3} + EndGlobalSection +EndGlobal diff --git a/HKCardIN/App.xaml b/HKCardIN/App.xaml new file mode 100644 index 0000000..1f4ad2e --- /dev/null +++ b/HKCardIN/App.xaml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + diff --git a/HKCardIN/App.xaml.cs b/HKCardIN/App.xaml.cs new file mode 100644 index 0000000..35f1267 --- /dev/null +++ b/HKCardIN/App.xaml.cs @@ -0,0 +1,8 @@ +using System.Windows; + +namespace HKCardIN +{ + public partial class App : Application + { + } +} diff --git a/HKCardIN/Bootstrapper.cs b/HKCardIN/Bootstrapper.cs new file mode 100644 index 0000000..fe98aeb --- /dev/null +++ b/HKCardIN/Bootstrapper.cs @@ -0,0 +1,11 @@ +using HKCardIN.ViewModels; +using Stylet; +using System; + +namespace HKCardIN +{ + public class Bootstrapper : Bootstrapper + { + + } +} diff --git a/HKCardIN/HKCardIN.csproj b/HKCardIN/HKCardIN.csproj new file mode 100644 index 0000000..1befbc5 --- /dev/null +++ b/HKCardIN/HKCardIN.csproj @@ -0,0 +1,24 @@ + + + WinExe + net5.0-windows + true + HKCardIN + HKCardIN + 1.0.0.0 + Debug;Release + Copyright © HBL 2022 + 1.0.0.0 + 1.0.0.0 + + + TRACE;Core + + + TRACE;Core + + + + + + diff --git a/HKCardIN/Properties/AssemblyInfo.cs b/HKCardIN/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..9ef4842 --- /dev/null +++ b/HKCardIN/Properties/AssemblyInfo.cs @@ -0,0 +1,3 @@ +using System.Windows; + +[assembly: ThemeInfo(ResourceDictionaryLocation.None, ResourceDictionaryLocation.SourceAssembly)] diff --git a/HKCardIN/Properties/DesignTimeResources.xaml b/HKCardIN/Properties/DesignTimeResources.xaml new file mode 100644 index 0000000..2e644b9 --- /dev/null +++ b/HKCardIN/Properties/DesignTimeResources.xaml @@ -0,0 +1,6 @@ + + + + + diff --git a/HKCardIN/ViewModels/RootViewModel.cs b/HKCardIN/ViewModels/RootViewModel.cs new file mode 100644 index 0000000..496525c --- /dev/null +++ b/HKCardIN/ViewModels/RootViewModel.cs @@ -0,0 +1,19 @@ +using Stylet; + +namespace HKCardIN.ViewModels +{ + public class RootViewModel : PropertyChangedBase + { + private string _title = "HandyControl Application"; + public string Title + { + get { return _title; } + set { SetAndNotify(ref _title, value); } + } + + public RootViewModel() + { + + } + } +} diff --git a/HKCardIN/Views/RootView.xaml b/HKCardIN/Views/RootView.xaml new file mode 100644 index 0000000..3d4577d --- /dev/null +++ b/HKCardIN/Views/RootView.xaml @@ -0,0 +1,16 @@ + + + diff --git a/HKCardIN/Views/RootView.xaml.cs b/HKCardIN/Views/RootView.xaml.cs new file mode 100644 index 0000000..e5b6fa5 --- /dev/null +++ b/HKCardIN/Views/RootView.xaml.cs @@ -0,0 +1,14 @@ +using System.Windows; +using System.Windows.Controls; +using System.Windows.Media; + +namespace HKCardIN.Views +{ + public partial class RootView : HandyControl.Controls.Window + { + public RootView() + { + InitializeComponent(); + } + } +} diff --git a/HKCardOUT/App.xaml b/HKCardOUT/App.xaml new file mode 100644 index 0000000..a3177d4 --- /dev/null +++ b/HKCardOUT/App.xaml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + diff --git a/HKCardOUT/App.xaml.cs b/HKCardOUT/App.xaml.cs new file mode 100644 index 0000000..92b993f --- /dev/null +++ b/HKCardOUT/App.xaml.cs @@ -0,0 +1,8 @@ +using System.Windows; + +namespace HKCardOUT +{ + public partial class App : Application + { + } +} diff --git a/HKCardOUT/Bootstrapper.cs b/HKCardOUT/Bootstrapper.cs new file mode 100644 index 0000000..b9fb7e1 --- /dev/null +++ b/HKCardOUT/Bootstrapper.cs @@ -0,0 +1,11 @@ +using HKCardOUT.ViewModels; +using Stylet; +using System; + +namespace HKCardOUT +{ + public class Bootstrapper : Bootstrapper + { + + } +} diff --git a/HKCardOUT/HKCardOUT.csproj b/HKCardOUT/HKCardOUT.csproj new file mode 100644 index 0000000..e952fab --- /dev/null +++ b/HKCardOUT/HKCardOUT.csproj @@ -0,0 +1,24 @@ + + + WinExe + net5.0-windows + true + HKCardOUT + HKCardOUT + 1.0.0.0 + Debug;Release + Copyright © HBL 2022 + 1.0.0.0 + 1.0.0.0 + + + TRACE;Core + + + TRACE;Core + + + + + + diff --git a/HKCardOUT/Properties/AssemblyInfo.cs b/HKCardOUT/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..9ef4842 --- /dev/null +++ b/HKCardOUT/Properties/AssemblyInfo.cs @@ -0,0 +1,3 @@ +using System.Windows; + +[assembly: ThemeInfo(ResourceDictionaryLocation.None, ResourceDictionaryLocation.SourceAssembly)] diff --git a/HKCardOUT/Properties/DesignTimeResources.xaml b/HKCardOUT/Properties/DesignTimeResources.xaml new file mode 100644 index 0000000..2e644b9 --- /dev/null +++ b/HKCardOUT/Properties/DesignTimeResources.xaml @@ -0,0 +1,6 @@ + + + + + diff --git a/HKCardOUT/ViewModels/RootViewModel.cs b/HKCardOUT/ViewModels/RootViewModel.cs new file mode 100644 index 0000000..4275251 --- /dev/null +++ b/HKCardOUT/ViewModels/RootViewModel.cs @@ -0,0 +1,19 @@ +using Stylet; + +namespace HKCardOUT.ViewModels +{ + public class RootViewModel : PropertyChangedBase + { + private string _title = "HandyControl Application"; + public string Title + { + get { return _title; } + set { SetAndNotify(ref _title, value); } + } + + public RootViewModel() + { + + } + } +} diff --git a/HKCardOUT/Views/RootView.xaml b/HKCardOUT/Views/RootView.xaml new file mode 100644 index 0000000..1134c78 --- /dev/null +++ b/HKCardOUT/Views/RootView.xaml @@ -0,0 +1,16 @@ + + + diff --git a/HKCardOUT/Views/RootView.xaml.cs b/HKCardOUT/Views/RootView.xaml.cs new file mode 100644 index 0000000..297c899 --- /dev/null +++ b/HKCardOUT/Views/RootView.xaml.cs @@ -0,0 +1,14 @@ +using System.Windows; +using System.Windows.Controls; +using System.Windows.Media; + +namespace HKCardOUT.Views +{ + public partial class RootView : HandyControl.Controls.Window + { + public RootView() + { + InitializeComponent(); + } + } +}