From d7d136a354dd95be05f452bf2dee8115939a286d Mon Sep 17 00:00:00 2001 From: yibo <361071264@qq.com> Date: Tue, 27 Mar 2018 10:45:27 +0800 Subject: [PATCH] Init --- .gitignore | 6 + ButcherFactory.BO/ButcherFactory.BO.csproj | 52 ++++++++ ButcherFactory.BO/Properties/AssemblyInfo.cs | 36 ++++++ .../ButcherFactory.Form.csproj | 58 +++++++++ .../Properties/AssemblyInfo.cs | 36 ++++++ ButcherFactory.Login/App.config | 6 + .../ButcherFactory.Login.csproj | 95 ++++++++++++++ ButcherFactory.Login/Form1.Designer.cs | 39 ++++++ ButcherFactory.Login/Form1.cs | 20 +++ ButcherFactory.Login/Program.cs | 22 ++++ .../Properties/AssemblyInfo.cs | 36 ++++++ .../Properties/Resources.Designer.cs | 71 +++++++++++ .../Properties/Resources.resx | 117 ++++++++++++++++++ .../Properties/Settings.Designer.cs | 30 +++++ .../Properties/Settings.settings | 7 ++ ButcherFactorySolution.sln | 34 +++++ 16 files changed, 665 insertions(+) create mode 100644 .gitignore create mode 100644 ButcherFactory.BO/ButcherFactory.BO.csproj create mode 100644 ButcherFactory.BO/Properties/AssemblyInfo.cs create mode 100644 ButcherFactory.Form/ButcherFactory.Form.csproj create mode 100644 ButcherFactory.Form/Properties/AssemblyInfo.cs create mode 100644 ButcherFactory.Login/App.config create mode 100644 ButcherFactory.Login/ButcherFactory.Login.csproj create mode 100644 ButcherFactory.Login/Form1.Designer.cs create mode 100644 ButcherFactory.Login/Form1.cs create mode 100644 ButcherFactory.Login/Program.cs create mode 100644 ButcherFactory.Login/Properties/AssemblyInfo.cs create mode 100644 ButcherFactory.Login/Properties/Resources.Designer.cs create mode 100644 ButcherFactory.Login/Properties/Resources.resx create mode 100644 ButcherFactory.Login/Properties/Settings.Designer.cs create mode 100644 ButcherFactory.Login/Properties/Settings.settings create mode 100644 ButcherFactorySolution.sln diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a3256cd --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +.* +*.user +*.suo +*.tmp +bin +obj \ No newline at end of file diff --git a/ButcherFactory.BO/ButcherFactory.BO.csproj b/ButcherFactory.BO/ButcherFactory.BO.csproj new file mode 100644 index 0000000..c95ed86 --- /dev/null +++ b/ButcherFactory.BO/ButcherFactory.BO.csproj @@ -0,0 +1,52 @@ + + + + + Debug + AnyCPU + {B258C523-269C-4ED7-AB71-7196D5D2EF65} + Library + Properties + ButcherFactory.BO + ButcherFactory.BO + v4.5 + 512 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ButcherFactory.BO/Properties/AssemblyInfo.cs b/ButcherFactory.BO/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..16d106d --- /dev/null +++ b/ButcherFactory.BO/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// 有关程序集的常规信息通过以下 +// 特性集控制。更改这些特性值可修改 +// 与程序集关联的信息。 +[assembly: AssemblyTitle("ButcherFactory.BO")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("ButcherFactory.BO")] +[assembly: AssemblyCopyright("Copyright © 2018")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// 将 ComVisible 设置为 false 使此程序集中的类型 +// 对 COM 组件不可见。 如果需要从 COM 访问此程序集中的类型, +// 则将该类型上的 ComVisible 特性设置为 true。 +[assembly: ComVisible(false)] + +// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID +[assembly: Guid("8cc66943-e893-4ba0-aeef-0633d67ae62f")] + +// 程序集的版本信息由下面四个值组成: +// +// 主版本 +// 次版本 +// 生成号 +// 修订号 +// +// 可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值, +// 方法是按如下所示使用“*”: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/ButcherFactory.Form/ButcherFactory.Form.csproj b/ButcherFactory.Form/ButcherFactory.Form.csproj new file mode 100644 index 0000000..3f3f02c --- /dev/null +++ b/ButcherFactory.Form/ButcherFactory.Form.csproj @@ -0,0 +1,58 @@ + + + + + Debug + AnyCPU + {2485631B-624C-43E0-9287-86FA1C8485FC} + Library + Properties + ButcherFactory.Form + ButcherFactory.Form + v4.5 + 512 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + {b258c523-269c-4ed7-ab71-7196d5d2ef65} + ButcherFactory.BO + + + + + \ No newline at end of file diff --git a/ButcherFactory.Form/Properties/AssemblyInfo.cs b/ButcherFactory.Form/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..dc67cf2 --- /dev/null +++ b/ButcherFactory.Form/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// 有关程序集的常规信息通过以下 +// 特性集控制。更改这些特性值可修改 +// 与程序集关联的信息。 +[assembly: AssemblyTitle("ButcherFactory.Form")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("ButcherFactory.Form")] +[assembly: AssemblyCopyright("Copyright © 2018")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// 将 ComVisible 设置为 false 使此程序集中的类型 +// 对 COM 组件不可见。 如果需要从 COM 访问此程序集中的类型, +// 则将该类型上的 ComVisible 特性设置为 true。 +[assembly: ComVisible(false)] + +// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID +[assembly: Guid("413c943a-01fb-4341-8ce8-084abb32d026")] + +// 程序集的版本信息由下面四个值组成: +// +// 主版本 +// 次版本 +// 生成号 +// 修订号 +// +// 可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值, +// 方法是按如下所示使用“*”: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/ButcherFactory.Login/App.config b/ButcherFactory.Login/App.config new file mode 100644 index 0000000..8e15646 --- /dev/null +++ b/ButcherFactory.Login/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/ButcherFactory.Login/ButcherFactory.Login.csproj b/ButcherFactory.Login/ButcherFactory.Login.csproj new file mode 100644 index 0000000..3964607 --- /dev/null +++ b/ButcherFactory.Login/ButcherFactory.Login.csproj @@ -0,0 +1,95 @@ + + + + + Debug + AnyCPU + {EE308848-7317-4CEA-A28C-5A6CCC6AB3A1} + WinExe + Properties + ButcherFactory.Login + ButcherFactory.Login + v4.5 + 512 + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + False + ..\..\..\tsref\Debug\WinFormControl.dll + + + + + Form + + + Form1.cs + + + + + ResXFileCodeGenerator + Resources.Designer.cs + Designer + + + True + Resources.resx + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + True + Settings.settings + True + + + + + + + + {b258c523-269c-4ed7-ab71-7196d5d2ef65} + ButcherFactory.BO + + + + + \ No newline at end of file diff --git a/ButcherFactory.Login/Form1.Designer.cs b/ButcherFactory.Login/Form1.Designer.cs new file mode 100644 index 0000000..f492e64 --- /dev/null +++ b/ButcherFactory.Login/Form1.Designer.cs @@ -0,0 +1,39 @@ +namespace ButcherFactory.Login +{ + partial class Form1 + { + /// + /// 必需的设计器变量。 + /// + private System.ComponentModel.IContainer components = null; + + /// + /// 清理所有正在使用的资源。 + /// + /// 如果应释放托管资源,为 true;否则为 false。 + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows 窗体设计器生成的代码 + + /// + /// 设计器支持所需的方法 - 不要 + /// 使用代码编辑器修改此方法的内容。 + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.Text = "Form1"; + } + + #endregion + } +} + diff --git a/ButcherFactory.Login/Form1.cs b/ButcherFactory.Login/Form1.cs new file mode 100644 index 0000000..de24d64 --- /dev/null +++ b/ButcherFactory.Login/Form1.cs @@ -0,0 +1,20 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace ButcherFactory.Login +{ + public partial class Form1 : Form + { + public Form1() + { + InitializeComponent(); + } + } +} diff --git a/ButcherFactory.Login/Program.cs b/ButcherFactory.Login/Program.cs new file mode 100644 index 0000000..61d04e0 --- /dev/null +++ b/ButcherFactory.Login/Program.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace ButcherFactory.Login +{ + static class Program + { + /// + /// 应用程序的主入口点。 + /// + [STAThread] + static void Main() + { + Application.EnableVisualStyles(); + Application.SetCompatibleTextRenderingDefault(false); + Application.Run(new Form1()); + } + } +} diff --git a/ButcherFactory.Login/Properties/AssemblyInfo.cs b/ButcherFactory.Login/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..4812d0f --- /dev/null +++ b/ButcherFactory.Login/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// 有关程序集的常规信息通过以下 +// 特性集控制。更改这些特性值可修改 +// 与程序集关联的信息。 +[assembly: AssemblyTitle("ButcherFactory.Login")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("ButcherFactory.Login")] +[assembly: AssemblyCopyright("Copyright © 2018")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// 将 ComVisible 设置为 false 使此程序集中的类型 +// 对 COM 组件不可见。 如果需要从 COM 访问此程序集中的类型, +// 则将该类型上的 ComVisible 特性设置为 true。 +[assembly: ComVisible(false)] + +// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID +[assembly: Guid("1f95c8bf-4757-4301-ab7f-cf6454a9aa03")] + +// 程序集的版本信息由下面四个值组成: +// +// 主版本 +// 次版本 +// 生成号 +// 修订号 +// +// 可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值, +// 方法是按如下所示使用“*”: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/ButcherFactory.Login/Properties/Resources.Designer.cs b/ButcherFactory.Login/Properties/Resources.Designer.cs new file mode 100644 index 0000000..8e90151 --- /dev/null +++ b/ButcherFactory.Login/Properties/Resources.Designer.cs @@ -0,0 +1,71 @@ +//------------------------------------------------------------------------------ +// +// 此代码由工具生成。 +// 运行时版本: 4.0.30319.42000 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将丢失。 +// +//------------------------------------------------------------------------------ + +namespace ButcherFactory.Login.Properties +{ + + + /// + /// 一个强类型的资源类,用于查找本地化的字符串等。 + /// + // 此类是由 StronglyTypedResourceBuilder + // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。 + // 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen + // (以 /str 作为命令选项),或重新生成 VS 项目。 + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources + { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() + { + } + + /// + /// 返回此类使用的、缓存的 ResourceManager 实例。 + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager + { + get + { + if ((resourceMan == null)) + { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("ButcherFactory.Login.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// 为所有资源查找重写当前线程的 CurrentUICulture 属性, + /// 方法是使用此强类型资源类。 + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture + { + get + { + return resourceCulture; + } + set + { + resourceCulture = value; + } + } + } +} diff --git a/ButcherFactory.Login/Properties/Resources.resx b/ButcherFactory.Login/Properties/Resources.resx new file mode 100644 index 0000000..af7dbeb --- /dev/null +++ b/ButcherFactory.Login/Properties/Resources.resx @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/ButcherFactory.Login/Properties/Settings.Designer.cs b/ButcherFactory.Login/Properties/Settings.Designer.cs new file mode 100644 index 0000000..3aaefda --- /dev/null +++ b/ButcherFactory.Login/Properties/Settings.Designer.cs @@ -0,0 +1,30 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace ButcherFactory.Login.Properties +{ + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase + { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default + { + get + { + return defaultInstance; + } + } + } +} diff --git a/ButcherFactory.Login/Properties/Settings.settings b/ButcherFactory.Login/Properties/Settings.settings new file mode 100644 index 0000000..3964565 --- /dev/null +++ b/ButcherFactory.Login/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/ButcherFactorySolution.sln b/ButcherFactorySolution.sln new file mode 100644 index 0000000..1ef3623 --- /dev/null +++ b/ButcherFactorySolution.sln @@ -0,0 +1,34 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2013 +VisualStudioVersion = 12.0.40629.0 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ButcherFactory.BO", "ButcherFactory.BO\ButcherFactory.BO.csproj", "{B258C523-269C-4ED7-AB71-7196D5D2EF65}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ButcherFactory.Form", "ButcherFactory.Form\ButcherFactory.Form.csproj", "{2485631B-624C-43E0-9287-86FA1C8485FC}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ButcherFactory.Login", "ButcherFactory.Login\ButcherFactory.Login.csproj", "{EE308848-7317-4CEA-A28C-5A6CCC6AB3A1}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {B258C523-269C-4ED7-AB71-7196D5D2EF65}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B258C523-269C-4ED7-AB71-7196D5D2EF65}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B258C523-269C-4ED7-AB71-7196D5D2EF65}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B258C523-269C-4ED7-AB71-7196D5D2EF65}.Release|Any CPU.Build.0 = Release|Any CPU + {2485631B-624C-43E0-9287-86FA1C8485FC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {2485631B-624C-43E0-9287-86FA1C8485FC}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2485631B-624C-43E0-9287-86FA1C8485FC}.Release|Any CPU.ActiveCfg = Release|Any CPU + {2485631B-624C-43E0-9287-86FA1C8485FC}.Release|Any CPU.Build.0 = Release|Any CPU + {EE308848-7317-4CEA-A28C-5A6CCC6AB3A1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {EE308848-7317-4CEA-A28C-5A6CCC6AB3A1}.Debug|Any CPU.Build.0 = Debug|Any CPU + {EE308848-7317-4CEA-A28C-5A6CCC6AB3A1}.Release|Any CPU.ActiveCfg = Release|Any CPU + {EE308848-7317-4CEA-A28C-5A6CCC6AB3A1}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal