From 5f753c173975006c4d8b51ce0ca7c65ebe3c959e Mon Sep 17 00:00:00 2001 From: XAS-712 Date: Sat, 22 Dec 2018 19:44:11 +0800 Subject: [PATCH] emmmmm --- MifareOneTool.sln | 26 +++++++++++++++++--------- MifareOneTool/Form1.Designer.cs | 15 +++++++++++++++ MifareOneTool/Form1.cs | 2 +- 3 files changed, 33 insertions(+), 10 deletions(-) diff --git a/MifareOneTool.sln b/MifareOneTool.sln index def3cf2..c2d872a 100644 --- a/MifareOneTool.sln +++ b/MifareOneTool.sln @@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 11.00 # Visual Studio 2010 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MifareOneTool", "MifareOneTool\MifareOneTool.csproj", "{CDB26016-FC77-403F-B22A-A011F8622FCF}" EndProject -Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "Setup1", "Setup1\Setup1.vdproj", "{268A15B1-42D8-492E-9073-37068C805BD9}" +Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "Setup1", "Setup1\Setup1.vdproj", "{989F68A9-CDD0-46FE-9A86-E36F581A3F7E}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -29,14 +29,22 @@ Global {CDB26016-FC77-403F-B22A-A011F8622FCF}.Release|Win32.ActiveCfg = Release|x86 {CDB26016-FC77-403F-B22A-A011F8622FCF}.Release|x86.ActiveCfg = Release|x86 {CDB26016-FC77-403F-B22A-A011F8622FCF}.Release|x86.Build.0 = Release|x86 - {268A15B1-42D8-492E-9073-37068C805BD9}.Debug|Any CPU.ActiveCfg = Debug - {268A15B1-42D8-492E-9073-37068C805BD9}.Debug|Mixed Platforms.ActiveCfg = Debug - {268A15B1-42D8-492E-9073-37068C805BD9}.Debug|Win32.ActiveCfg = Debug - {268A15B1-42D8-492E-9073-37068C805BD9}.Debug|x86.ActiveCfg = Debug - {268A15B1-42D8-492E-9073-37068C805BD9}.Release|Any CPU.ActiveCfg = Release - {268A15B1-42D8-492E-9073-37068C805BD9}.Release|Mixed Platforms.ActiveCfg = Release - {268A15B1-42D8-492E-9073-37068C805BD9}.Release|Win32.ActiveCfg = Release - {268A15B1-42D8-492E-9073-37068C805BD9}.Release|x86.ActiveCfg = Release + {989F68A9-CDD0-46FE-9A86-E36F581A3F7E}.Debug|Any CPU.ActiveCfg = Debug + {989F68A9-CDD0-46FE-9A86-E36F581A3F7E}.Debug|Any CPU.Build.0 = Debug + {989F68A9-CDD0-46FE-9A86-E36F581A3F7E}.Debug|Mixed Platforms.ActiveCfg = Debug + {989F68A9-CDD0-46FE-9A86-E36F581A3F7E}.Debug|Mixed Platforms.Build.0 = Debug + {989F68A9-CDD0-46FE-9A86-E36F581A3F7E}.Debug|Win32.ActiveCfg = Debug + {989F68A9-CDD0-46FE-9A86-E36F581A3F7E}.Debug|Win32.Build.0 = Debug + {989F68A9-CDD0-46FE-9A86-E36F581A3F7E}.Debug|x86.ActiveCfg = Debug + {989F68A9-CDD0-46FE-9A86-E36F581A3F7E}.Debug|x86.Build.0 = Debug + {989F68A9-CDD0-46FE-9A86-E36F581A3F7E}.Release|Any CPU.ActiveCfg = Release + {989F68A9-CDD0-46FE-9A86-E36F581A3F7E}.Release|Any CPU.Build.0 = Release + {989F68A9-CDD0-46FE-9A86-E36F581A3F7E}.Release|Mixed Platforms.ActiveCfg = Release + {989F68A9-CDD0-46FE-9A86-E36F581A3F7E}.Release|Mixed Platforms.Build.0 = Release + {989F68A9-CDD0-46FE-9A86-E36F581A3F7E}.Release|Win32.ActiveCfg = Release + {989F68A9-CDD0-46FE-9A86-E36F581A3F7E}.Release|Win32.Build.0 = Release + {989F68A9-CDD0-46FE-9A86-E36F581A3F7E}.Release|x86.ActiveCfg = Release + {989F68A9-CDD0-46FE-9A86-E36F581A3F7E}.Release|x86.Build.0 = Release EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/MifareOneTool/Form1.Designer.cs b/MifareOneTool/Form1.Designer.cs index ba318ba..cbbddfd 100644 --- a/MifareOneTool/Form1.Designer.cs +++ b/MifareOneTool/Form1.Designer.cs @@ -47,6 +47,7 @@ this.button15 = new System.Windows.Forms.Button(); this.button14 = new System.Windows.Forms.Button(); this.button13 = new System.Windows.Forms.Button(); + this.linkLabel1 = new System.Windows.Forms.LinkLabel(); this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); this.groupBox3.SuspendLayout(); @@ -54,6 +55,7 @@ // // groupBox1 // + this.groupBox1.Controls.Add(this.linkLabel1); this.groupBox1.Controls.Add(this.button12); this.groupBox1.Controls.Add(this.button2); this.groupBox1.Controls.Add(this.button1); @@ -255,6 +257,17 @@ this.button13.UseVisualStyleBackColor = true; this.button13.Click += new System.EventHandler(this.button13_Click); // + // linkLabel1 + // + this.linkLabel1.AutoSize = true; + this.linkLabel1.Location = new System.Drawing.Point(112, 57); + this.linkLabel1.Name = "linkLabel1"; + this.linkLabel1.Size = new System.Drawing.Size(67, 15); + this.linkLabel1.TabIndex = 6; + this.linkLabel1.TabStop = true; + this.linkLabel1.Text = "检查更新"; + this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked); + // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F); @@ -270,6 +283,7 @@ this.Text = "MifareOne Tool"; this.Load += new System.EventHandler(this.Form1_Load); this.groupBox1.ResumeLayout(false); + this.groupBox1.PerformLayout(); this.groupBox2.ResumeLayout(false); this.groupBox3.ResumeLayout(false); this.ResumeLayout(false); @@ -297,6 +311,7 @@ private System.Windows.Forms.Button button14; private System.Windows.Forms.Button button13; private System.Windows.Forms.Button button15; + private System.Windows.Forms.LinkLabel linkLabel1; } } diff --git a/MifareOneTool/Form1.cs b/MifareOneTool/Form1.cs index 0f9fb55..c4f6dcd 100644 --- a/MifareOneTool/Form1.cs +++ b/MifareOneTool/Form1.cs @@ -82,7 +82,7 @@ namespace MifareOneTool private void Form1_Load(object sender, EventArgs e) { - + linkLabel1.Links.Add(0, linkLabel1.Text.Length, "https://github.com/xcicode/MifareOneTool/releases/latest"); } private void button2_Click(object sender, EventArgs e)