From 122c360fce05cfa15e804340709428516670856e Mon Sep 17 00:00:00 2001 From: huiyadanli Date: Tue, 22 Oct 2019 00:43:37 +0800 Subject: [PATCH] [+] init --- RevokeMsgPatcher.MultiInstance/App.config | 6 + .../FormMultiInstance.Designer.cs | 141 ++++++++++++++++++ .../FormMultiInstance.cs | 20 +++ .../FormMultiInstance.resx | 120 +++++++++++++++ RevokeMsgPatcher.MultiInstance/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 + .../RevokeMsgPatcher.MultiInstance.csproj | 82 ++++++++++ RevokeMsgPatcher.sln | 6 + 12 files changed, 658 insertions(+) create mode 100644 RevokeMsgPatcher.MultiInstance/App.config create mode 100644 RevokeMsgPatcher.MultiInstance/FormMultiInstance.Designer.cs create mode 100644 RevokeMsgPatcher.MultiInstance/FormMultiInstance.cs create mode 100644 RevokeMsgPatcher.MultiInstance/FormMultiInstance.resx create mode 100644 RevokeMsgPatcher.MultiInstance/Program.cs create mode 100644 RevokeMsgPatcher.MultiInstance/Properties/AssemblyInfo.cs create mode 100644 RevokeMsgPatcher.MultiInstance/Properties/Resources.Designer.cs create mode 100644 RevokeMsgPatcher.MultiInstance/Properties/Resources.resx create mode 100644 RevokeMsgPatcher.MultiInstance/Properties/Settings.Designer.cs create mode 100644 RevokeMsgPatcher.MultiInstance/Properties/Settings.settings create mode 100644 RevokeMsgPatcher.MultiInstance/RevokeMsgPatcher.MultiInstance.csproj diff --git a/RevokeMsgPatcher.MultiInstance/App.config b/RevokeMsgPatcher.MultiInstance/App.config new file mode 100644 index 0000000..8e15646 --- /dev/null +++ b/RevokeMsgPatcher.MultiInstance/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/RevokeMsgPatcher.MultiInstance/FormMultiInstance.Designer.cs b/RevokeMsgPatcher.MultiInstance/FormMultiInstance.Designer.cs new file mode 100644 index 0000000..1ab1687 --- /dev/null +++ b/RevokeMsgPatcher.MultiInstance/FormMultiInstance.Designer.cs @@ -0,0 +1,141 @@ +namespace RevokeMsgPatcher.MultiInstance +{ + partial class FormMultiInstance + { + /// + /// 必需的设计器变量。 + /// + 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.txtPath = new System.Windows.Forms.TextBox(); + this.lblPathTag = new System.Windows.Forms.Label(); + this.btnChoosePath = new System.Windows.Forms.Button(); + this.label1 = new System.Windows.Forms.Label(); + this.label2 = new System.Windows.Forms.Label(); + this.numericUpDown1 = new System.Windows.Forms.NumericUpDown(); + this.button1 = new System.Windows.Forms.Button(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit(); + this.SuspendLayout(); + // + // txtPath + // + this.txtPath.Location = new System.Drawing.Point(92, 48); + this.txtPath.Name = "txtPath"; + this.txtPath.Size = new System.Drawing.Size(332, 21); + this.txtPath.TabIndex = 7; + // + // lblPathTag + // + this.lblPathTag.AutoSize = true; + this.lblPathTag.Location = new System.Drawing.Point(21, 51); + this.lblPathTag.Name = "lblPathTag"; + this.lblPathTag.Size = new System.Drawing.Size(65, 12); + this.lblPathTag.TabIndex = 6; + this.lblPathTag.Text = "微信路径:"; + // + // btnChoosePath + // + this.btnChoosePath.Location = new System.Drawing.Point(430, 47); + this.btnChoosePath.Name = "btnChoosePath"; + this.btnChoosePath.Size = new System.Drawing.Size(50, 23); + this.btnChoosePath.TabIndex = 8; + this.btnChoosePath.Text = "..."; + this.btnChoosePath.UseVisualStyleBackColor = true; + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(106, 9); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(293, 24); + this.label1.TabIndex = 9; + this.label1.Text = "只要我打开微信的速度足够快,我就多开无限个微信。\r\n我为什么能手动双开微信,别问,问就是手速快。"; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Location = new System.Drawing.Point(21, 77); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(65, 12); + this.label2.TabIndex = 11; + this.label2.Text = "多开个数:"; + // + // numericUpDown1 + // + this.numericUpDown1.Location = new System.Drawing.Point(92, 75); + this.numericUpDown1.Maximum = new decimal(new int[] { + 1000, + 0, + 0, + 0}); + this.numericUpDown1.Name = "numericUpDown1"; + this.numericUpDown1.Size = new System.Drawing.Size(55, 21); + this.numericUpDown1.TabIndex = 12; + this.numericUpDown1.Value = new decimal(new int[] { + 2, + 0, + 0, + 0}); + // + // button1 + // + this.button1.Location = new System.Drawing.Point(211, 95); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(108, 32); + this.button1.TabIndex = 13; + this.button1.Text = "点击启动!"; + this.button1.UseVisualStyleBackColor = true; + // + // FormMultiInstance + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(513, 139); + this.Controls.Add(this.button1); + this.Controls.Add(this.numericUpDown1); + this.Controls.Add(this.label2); + this.Controls.Add(this.label1); + this.Controls.Add(this.txtPath); + this.Controls.Add(this.lblPathTag); + this.Controls.Add(this.btnChoosePath); + this.Name = "FormMultiInstance"; + this.Text = "微信多开小工具"; + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.TextBox txtPath; + private System.Windows.Forms.Label lblPathTag; + private System.Windows.Forms.Button btnChoosePath; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.NumericUpDown numericUpDown1; + private System.Windows.Forms.Button button1; + } +} + diff --git a/RevokeMsgPatcher.MultiInstance/FormMultiInstance.cs b/RevokeMsgPatcher.MultiInstance/FormMultiInstance.cs new file mode 100644 index 0000000..5080549 --- /dev/null +++ b/RevokeMsgPatcher.MultiInstance/FormMultiInstance.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 RevokeMsgPatcher.MultiInstance +{ + public partial class FormMultiInstance : Form + { + public FormMultiInstance() + { + InitializeComponent(); + } + } +} diff --git a/RevokeMsgPatcher.MultiInstance/FormMultiInstance.resx b/RevokeMsgPatcher.MultiInstance/FormMultiInstance.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/RevokeMsgPatcher.MultiInstance/FormMultiInstance.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/RevokeMsgPatcher.MultiInstance/Program.cs b/RevokeMsgPatcher.MultiInstance/Program.cs new file mode 100644 index 0000000..e94f7ef --- /dev/null +++ b/RevokeMsgPatcher.MultiInstance/Program.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace RevokeMsgPatcher.MultiInstance +{ + static class Program + { + /// + /// 应用程序的主入口点。 + /// + [STAThread] + static void Main() + { + Application.EnableVisualStyles(); + Application.SetCompatibleTextRenderingDefault(false); + Application.Run(new FormMultiInstance()); + } + } +} diff --git a/RevokeMsgPatcher.MultiInstance/Properties/AssemblyInfo.cs b/RevokeMsgPatcher.MultiInstance/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..ed57d68 --- /dev/null +++ b/RevokeMsgPatcher.MultiInstance/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// 有关程序集的一般信息由以下 +// 控制。更改这些特性值可修改 +// 与程序集关联的信息。 +[assembly: AssemblyTitle("RevokeMsgPatcher.MultiInstance")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("RevokeMsgPatcher.MultiInstance")] +[assembly: AssemblyCopyright("Copyright © 2019")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// 将 ComVisible 设置为 false 会使此程序集中的类型 +//对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型 +//请将此类型的 ComVisible 特性设置为 true。 +[assembly: ComVisible(false)] + +// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID +[assembly: Guid("73043ca8-af54-4591-9174-40fb6e0a3d36")] + +// 程序集的版本信息由下列四个值组成: +// +// 主版本 +// 次版本 +// 生成号 +// 修订号 +// +// 可以指定所有值,也可以使用以下所示的 "*" 预置版本号和修订号 +// 方法是按如下所示使用“*”: : +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/RevokeMsgPatcher.MultiInstance/Properties/Resources.Designer.cs b/RevokeMsgPatcher.MultiInstance/Properties/Resources.Designer.cs new file mode 100644 index 0000000..6847c43 --- /dev/null +++ b/RevokeMsgPatcher.MultiInstance/Properties/Resources.Designer.cs @@ -0,0 +1,71 @@ +//------------------------------------------------------------------------------ +// +// 此代码由工具生成。 +// 运行时版本: 4.0.30319.42000 +// +// 对此文件的更改可能导致不正确的行为,如果 +// 重新生成代码,则所做更改将丢失。 +// +//------------------------------------------------------------------------------ + +namespace RevokeMsgPatcher.MultiInstance.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("RevokeMsgPatcher.MultiInstance.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/RevokeMsgPatcher.MultiInstance/Properties/Resources.resx b/RevokeMsgPatcher.MultiInstance/Properties/Resources.resx new file mode 100644 index 0000000..af7dbeb --- /dev/null +++ b/RevokeMsgPatcher.MultiInstance/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/RevokeMsgPatcher.MultiInstance/Properties/Settings.Designer.cs b/RevokeMsgPatcher.MultiInstance/Properties/Settings.Designer.cs new file mode 100644 index 0000000..46fb148 --- /dev/null +++ b/RevokeMsgPatcher.MultiInstance/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 RevokeMsgPatcher.MultiInstance.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/RevokeMsgPatcher.MultiInstance/Properties/Settings.settings b/RevokeMsgPatcher.MultiInstance/Properties/Settings.settings new file mode 100644 index 0000000..3964565 --- /dev/null +++ b/RevokeMsgPatcher.MultiInstance/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/RevokeMsgPatcher.MultiInstance/RevokeMsgPatcher.MultiInstance.csproj b/RevokeMsgPatcher.MultiInstance/RevokeMsgPatcher.MultiInstance.csproj new file mode 100644 index 0000000..2ed2fcd --- /dev/null +++ b/RevokeMsgPatcher.MultiInstance/RevokeMsgPatcher.MultiInstance.csproj @@ -0,0 +1,82 @@ + + + + + Debug + AnyCPU + {73043CA8-AF54-4591-9174-40FB6E0A3D36} + WinExe + RevokeMsgPatcher.MultiInstance + RevokeMsgPatcher.MultiInstance + v4.5 + 512 + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + Form + + + FormMultiInstance.cs + + + + + FormMultiInstance.cs + + + ResXFileCodeGenerator + Resources.Designer.cs + Designer + + + True + Resources.resx + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + True + Settings.settings + True + + + + + + + \ No newline at end of file diff --git a/RevokeMsgPatcher.sln b/RevokeMsgPatcher.sln index 95be170..829e586 100644 --- a/RevokeMsgPatcher.sln +++ b/RevokeMsgPatcher.sln @@ -7,6 +7,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RevokeMsgPatcher", "RevokeM EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RevokeMsgPatcher.Assistant", "RevokeMsgPatcher.Assistant\RevokeMsgPatcher.Assistant.csproj", "{6992004F-17E6-45BF-8D72-180A31E9C23C}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RevokeMsgPatcher.MultiInstance", "RevokeMsgPatcher.MultiInstance\RevokeMsgPatcher.MultiInstance.csproj", "{73043CA8-AF54-4591-9174-40FB6E0A3D36}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -21,6 +23,10 @@ Global {6992004F-17E6-45BF-8D72-180A31E9C23C}.Debug|Any CPU.Build.0 = Debug|Any CPU {6992004F-17E6-45BF-8D72-180A31E9C23C}.Release|Any CPU.ActiveCfg = Release|Any CPU {6992004F-17E6-45BF-8D72-180A31E9C23C}.Release|Any CPU.Build.0 = Release|Any CPU + {73043CA8-AF54-4591-9174-40FB6E0A3D36}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {73043CA8-AF54-4591-9174-40FB6E0A3D36}.Debug|Any CPU.Build.0 = Debug|Any CPU + {73043CA8-AF54-4591-9174-40FB6E0A3D36}.Release|Any CPU.ActiveCfg = Release|Any CPU + {73043CA8-AF54-4591-9174-40FB6E0A3D36}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE