From 5874bf759913c6b3cd483d50a9d3da3940837eb0 Mon Sep 17 00:00:00 2001 From: henning724 <9609256+henning724@users.noreply.github.com> Date: Fri, 20 Mar 2020 18:15:56 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3MainForm=20Design=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E6=8A=A5=E9=94=99=E9=97=AE=E9=A2=98=20ver2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Netch.sln | 18 ++++- Netch/Netch.csproj | 4 ++ NetchLib/.gitignore | 3 + NetchLib/NetchLib.csproj | 67 +++++++++++++++++++ NetchLib/Properties/AssemblyInfo.cs | 36 ++++++++++ .../Override => NetchLib}/SearchComboBox.cs | 0 6 files changed, 127 insertions(+), 1 deletion(-) create mode 100644 NetchLib/.gitignore create mode 100644 NetchLib/NetchLib.csproj create mode 100644 NetchLib/Properties/AssemblyInfo.cs rename {Netch/Override => NetchLib}/SearchComboBox.cs (100%) diff --git a/Netch.sln b/Netch.sln index c3d99e12..ebbc8738 100644 --- a/Netch.sln +++ b/Netch.sln @@ -3,24 +3,40 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 16 VisualStudioVersion = 16.0.29009.5 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Netch", "Netch\Netch.csproj", "{4B041B91-5790-4571-8C58-C63FFE4BC9F8}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Netch", "Netch\Netch.csproj", "{4B041B91-5790-4571-8C58-C63FFE4BC9F8}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NetchLib", "NetchLib\NetchLib.csproj", "{A8715AF4-ACC6-43F9-9381-4294C5360623}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU Debug|x64 = Debug|x64 Debug|x86 = Debug|x86 + Release|Any CPU = Release|Any CPU Release|x64 = Release|x64 Release|x86 = Release|x86 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution + {4B041B91-5790-4571-8C58-C63FFE4BC9F8}.Debug|Any CPU.ActiveCfg = Debug|x86 {4B041B91-5790-4571-8C58-C63FFE4BC9F8}.Debug|x64.ActiveCfg = Debug|x64 {4B041B91-5790-4571-8C58-C63FFE4BC9F8}.Debug|x64.Build.0 = Debug|x64 {4B041B91-5790-4571-8C58-C63FFE4BC9F8}.Debug|x86.ActiveCfg = Debug|x86 {4B041B91-5790-4571-8C58-C63FFE4BC9F8}.Debug|x86.Build.0 = Debug|x86 + {4B041B91-5790-4571-8C58-C63FFE4BC9F8}.Release|Any CPU.ActiveCfg = Release|x86 {4B041B91-5790-4571-8C58-C63FFE4BC9F8}.Release|x64.ActiveCfg = Release|x64 {4B041B91-5790-4571-8C58-C63FFE4BC9F8}.Release|x64.Build.0 = Release|x64 {4B041B91-5790-4571-8C58-C63FFE4BC9F8}.Release|x86.ActiveCfg = Release|x86 {4B041B91-5790-4571-8C58-C63FFE4BC9F8}.Release|x86.Build.0 = Release|x86 + {A8715AF4-ACC6-43F9-9381-4294C5360623}.Debug|Any CPU.ActiveCfg = Debug|x86 + {A8715AF4-ACC6-43F9-9381-4294C5360623}.Debug|x64.ActiveCfg = Debug|x64 + {A8715AF4-ACC6-43F9-9381-4294C5360623}.Debug|x64.Build.0 = Debug|x64 + {A8715AF4-ACC6-43F9-9381-4294C5360623}.Debug|x86.ActiveCfg = Debug|x86 + {A8715AF4-ACC6-43F9-9381-4294C5360623}.Debug|x86.Build.0 = Debug|x86 + {A8715AF4-ACC6-43F9-9381-4294C5360623}.Release|Any CPU.ActiveCfg = Release|x86 + {A8715AF4-ACC6-43F9-9381-4294C5360623}.Release|x64.ActiveCfg = Release|x64 + {A8715AF4-ACC6-43F9-9381-4294C5360623}.Release|x64.Build.0 = Release|x64 + {A8715AF4-ACC6-43F9-9381-4294C5360623}.Release|x86.ActiveCfg = Release|x86 + {A8715AF4-ACC6-43F9-9381-4294C5360623}.Release|x86.Build.0 = Release|x86 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/Netch/Netch.csproj b/Netch/Netch.csproj index 92193351..1fecae67 100644 --- a/Netch/Netch.csproj +++ b/Netch/Netch.csproj @@ -73,6 +73,10 @@ + + + + diff --git a/NetchLib/.gitignore b/NetchLib/.gitignore new file mode 100644 index 00000000..d2ee16f1 --- /dev/null +++ b/NetchLib/.gitignore @@ -0,0 +1,3 @@ +/bin +/obj +/NetchLib.csproj.user \ No newline at end of file diff --git a/NetchLib/NetchLib.csproj b/NetchLib/NetchLib.csproj new file mode 100644 index 00000000..6795c3d4 --- /dev/null +++ b/NetchLib/NetchLib.csproj @@ -0,0 +1,67 @@ + + + + + x86;x64 + {A8715AF4-ACC6-43F9-9381-4294C5360623} + Library + Properties + NetchLib + NetchLib + v4.8 + 512 + true + + + bin\x64\Debug\ + DEBUG;TRACE + true + false + + + + + DEBUG;TRACE + true + + false + + bin\x86\Debug\ + + + true + + false + + bin\x86\Release\ + + + true + + false + + bin\x64\Release\ + + + AnyCPU + + + AnyCPU + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/NetchLib/Properties/AssemblyInfo.cs b/NetchLib/Properties/AssemblyInfo.cs new file mode 100644 index 00000000..7a3124ff --- /dev/null +++ b/NetchLib/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("NetchLib")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("NetchLib")] +[assembly: AssemblyCopyright("Copyright © 2020")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("a8715af4-acc6-43f9-9381-4294c5360623")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Netch/Override/SearchComboBox.cs b/NetchLib/SearchComboBox.cs similarity index 100% rename from Netch/Override/SearchComboBox.cs rename to NetchLib/SearchComboBox.cs