From 09766e18ebd8820f1fd6447ebb5015315e6874af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BA=B3=E8=BE=B9?= <836904362@qq.com> Date: Tue, 22 May 2018 13:26:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0demo=E9=A1=B9=E7=9B=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 添加demo项目 Co-Authored-By: NaBian <836904362@qq.com> --- .gitignore | 2 + HandyControl.sln | 6 ++ HandyControlDemo/App.xaml | 9 +++ HandyControlDemo/App.xaml.cs | 9 +++ HandyControlDemo/HandyControlDemo.csproj | 69 +++++++++++++++++++++ HandyControlDemo/MainWindow.xaml | 12 ++++ HandyControlDemo/MainWindow.xaml.cs | 13 ++++ HandyControlDemo/Properties/AssemblyInfo.cs | 53 ++++++++++++++++ 8 files changed, 173 insertions(+) create mode 100644 HandyControlDemo/App.xaml create mode 100644 HandyControlDemo/App.xaml.cs create mode 100644 HandyControlDemo/HandyControlDemo.csproj create mode 100644 HandyControlDemo/MainWindow.xaml create mode 100644 HandyControlDemo/MainWindow.xaml.cs create mode 100644 HandyControlDemo/Properties/AssemblyInfo.cs diff --git a/.gitignore b/.gitignore index 0ca842c8..d01f5dd7 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,5 @@ /.vs/HandyControl/v15 /HandyControl/bin/Debug /HandyControl/obj/Debug +/HandyControlDemo/bin/Debug +/HandyControlDemo/obj/Debug diff --git a/HandyControl.sln b/HandyControl.sln index f65e9773..94d5900f 100644 --- a/HandyControl.sln +++ b/HandyControl.sln @@ -5,6 +5,8 @@ VisualStudioVersion = 15.0.27703.2000 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HandyControl", "HandyControl\HandyControl.csproj", "{DC966E3D-BCFF-4652-98CF-070E5494749A}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HandyControlDemo", "HandyControlDemo\HandyControlDemo.csproj", "{9A7B52E6-94BB-4E7E-BB6A-7CF6761B79A7}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -15,6 +17,10 @@ Global {DC966E3D-BCFF-4652-98CF-070E5494749A}.Debug|Any CPU.Build.0 = Debug|Any CPU {DC966E3D-BCFF-4652-98CF-070E5494749A}.Release|Any CPU.ActiveCfg = Release|Any CPU {DC966E3D-BCFF-4652-98CF-070E5494749A}.Release|Any CPU.Build.0 = Release|Any CPU + {9A7B52E6-94BB-4E7E-BB6A-7CF6761B79A7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {9A7B52E6-94BB-4E7E-BB6A-7CF6761B79A7}.Debug|Any CPU.Build.0 = Debug|Any CPU + {9A7B52E6-94BB-4E7E-BB6A-7CF6761B79A7}.Release|Any CPU.ActiveCfg = Release|Any CPU + {9A7B52E6-94BB-4E7E-BB6A-7CF6761B79A7}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/HandyControlDemo/App.xaml b/HandyControlDemo/App.xaml new file mode 100644 index 00000000..e98a8fef --- /dev/null +++ b/HandyControlDemo/App.xaml @@ -0,0 +1,9 @@ + + + + + diff --git a/HandyControlDemo/App.xaml.cs b/HandyControlDemo/App.xaml.cs new file mode 100644 index 00000000..153528b3 --- /dev/null +++ b/HandyControlDemo/App.xaml.cs @@ -0,0 +1,9 @@ +namespace HandyControlDemo +{ + /// + /// App.xaml 的交互逻辑 + /// + public partial class App + { + } +} diff --git a/HandyControlDemo/HandyControlDemo.csproj b/HandyControlDemo/HandyControlDemo.csproj new file mode 100644 index 00000000..c40e5a63 --- /dev/null +++ b/HandyControlDemo/HandyControlDemo.csproj @@ -0,0 +1,69 @@ + + + + + Debug + AnyCPU + {9A7B52E6-94BB-4E7E-BB6A-7CF6761B79A7} + WinExe + HandyControlDemo + HandyControlDemo + v4.6.2 + 512 + {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + 4 + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + 4.0 + + + + + + + MSBuild:Compile + Designer + + + MSBuild:Compile + Designer + + + App.xaml + Code + + + MainWindow.xaml + Code + + + + + Code + + + + \ No newline at end of file diff --git a/HandyControlDemo/MainWindow.xaml b/HandyControlDemo/MainWindow.xaml new file mode 100644 index 00000000..697d1a60 --- /dev/null +++ b/HandyControlDemo/MainWindow.xaml @@ -0,0 +1,12 @@ + + + + + diff --git a/HandyControlDemo/MainWindow.xaml.cs b/HandyControlDemo/MainWindow.xaml.cs new file mode 100644 index 00000000..41d4c844 --- /dev/null +++ b/HandyControlDemo/MainWindow.xaml.cs @@ -0,0 +1,13 @@ +namespace HandyControlDemo +{ + /// + /// MainWindow.xaml 的交互逻辑 + /// + public partial class MainWindow + { + public MainWindow() + { + InitializeComponent(); + } + } +} diff --git a/HandyControlDemo/Properties/AssemblyInfo.cs b/HandyControlDemo/Properties/AssemblyInfo.cs new file mode 100644 index 00000000..45521dfc --- /dev/null +++ b/HandyControlDemo/Properties/AssemblyInfo.cs @@ -0,0 +1,53 @@ +using System.Reflection; +using System.Runtime.InteropServices; +using System.Windows; + +// 有关程序集的一般信息由以下 +// 控制。更改这些特性值可修改 +// 与程序集关联的信息。 +[assembly: AssemblyTitle("HandyControlDemo")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("HandyControlDemo")] +[assembly: AssemblyCopyright("Copyright © 2018")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// 将 ComVisible 设置为 false 会使此程序集中的类型 +//对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型 +//请将此类型的 ComVisible 特性设置为 true。 +[assembly: ComVisible(false)] + +//若要开始生成可本地化的应用程序,请设置 +//.csproj 文件中的 CultureYouAreCodingWith +//例如,如果您在源文件中使用的是美国英语, +//使用的是美国英语,请将 设置为 en-US。 然后取消 +//对以下 NeutralResourceLanguage 特性的注释。 更新 +//以下行中的“en-US”以匹配项目文件中的 UICulture 设置。 + +//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)] + + +[assembly: ThemeInfo( + ResourceDictionaryLocation.None, //主题特定资源词典所处位置 + //(未在页面中找到资源时使用, + //或应用程序资源字典中找到时使用) + ResourceDictionaryLocation.SourceAssembly //常规资源词典所处位置 + //(未在页面中找到资源时使用, + //、应用程序或任何主题专用资源字典中找到时使用) +)] + + +// 程序集的版本信息由下列四个值组成: +// +// 主版本 +// 次版本 +// 生成号 +// 修订号 +// +// 可以指定所有值,也可以使用以下所示的 "*" 预置版本号和修订号 +// 方法是按如下所示使用“*”: : +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")]