diff --git a/Netch/Forms/AboutForm.Designer.cs b/Netch/Forms/AboutForm.Designer.cs index 2118ac25..63820367 100644 --- a/Netch/Forms/AboutForm.Designer.cs +++ b/Netch/Forms/AboutForm.Designer.cs @@ -28,38 +28,11 @@ /// private void InitializeComponent() { - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AboutForm)); - this.SponsorGroupBox = new System.Windows.Forms.GroupBox(); - this.SponsorPictureBox = new System.Windows.Forms.PictureBox(); this.ChannelLabel = new System.Windows.Forms.LinkLabel(); this.NetchPictureBox = new System.Windows.Forms.PictureBox(); - this.SponsorGroupBox.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.SponsorPictureBox)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.NetchPictureBox)).BeginInit(); this.SuspendLayout(); // - // SponsorGroupBox - // - this.SponsorGroupBox.Controls.Add(this.SponsorPictureBox); - this.SponsorGroupBox.Location = new System.Drawing.Point(12, 235); - this.SponsorGroupBox.Name = "SponsorGroupBox"; - this.SponsorGroupBox.Size = new System.Drawing.Size(314, 229); - this.SponsorGroupBox.TabIndex = 2; - this.SponsorGroupBox.TabStop = false; - this.SponsorGroupBox.Text = "Sponsor"; - // - // SponsorPictureBox - // - this.SponsorPictureBox.Cursor = System.Windows.Forms.Cursors.Hand; - this.SponsorPictureBox.Image = global::Netch.Properties.Resources.Sponsor; - this.SponsorPictureBox.Location = new System.Drawing.Point(6, 22); - this.SponsorPictureBox.Name = "SponsorPictureBox"; - this.SponsorPictureBox.Size = new System.Drawing.Size(300, 200); - this.SponsorPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; - this.SponsorPictureBox.TabIndex = 1; - this.SponsorPictureBox.TabStop = false; - this.SponsorPictureBox.Click += new System.EventHandler(this.SponsorPictureBox_Click); - // // ChannelLabel // this.ChannelLabel.AutoSize = true; @@ -87,11 +60,10 @@ // this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; - this.ClientSize = new System.Drawing.Size(338, 474); + this.ClientSize = new System.Drawing.Size(338, 244); this.Controls.Add(this.ChannelLabel); - this.Controls.Add(this.SponsorGroupBox); this.Controls.Add(this.NetchPictureBox); - this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.MaximizeBox = false; @@ -99,8 +71,6 @@ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "About"; this.Load += new System.EventHandler(this.AboutForm_Load); - this.SponsorGroupBox.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this.SponsorPictureBox)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.NetchPictureBox)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); @@ -110,8 +80,6 @@ #endregion private System.Windows.Forms.PictureBox NetchPictureBox; - private System.Windows.Forms.PictureBox SponsorPictureBox; - private System.Windows.Forms.GroupBox SponsorGroupBox; private System.Windows.Forms.LinkLabel ChannelLabel; } } \ No newline at end of file diff --git a/Netch/Forms/AboutForm.resx b/Netch/Forms/AboutForm.resx new file mode 100644 index 00000000..f298a7be --- /dev/null +++ b/Netch/Forms/AboutForm.resx @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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/Netch/Properties/Resources.Designer.cs b/Netch/Properties/Resources.Designer.cs index 4f3f60d2..377c2a8e 100644 --- a/Netch/Properties/Resources.Designer.cs +++ b/Netch/Properties/Resources.Designer.cs @@ -19,7 +19,7 @@ namespace Netch.Properties { // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。 // 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen // (以 /str 作为命令选项),或重新生成 VS 项目。 - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] internal class Resources { @@ -130,16 +130,6 @@ namespace Netch.Properties { } } - /// - /// 查找 System.Drawing.Bitmap 类型的本地化资源。 - /// - internal static System.Drawing.Bitmap Sponsor { - get { - object obj = ResourceManager.GetObject("Sponsor", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - /// /// 查找 System.Byte[] 类型的本地化资源。 /// diff --git a/Netch/Properties/Resources.resx b/Netch/Properties/Resources.resx index be411388..dbe35b81 100644 --- a/Netch/Properties/Resources.resx +++ b/Netch/Properties/Resources.resx @@ -138,10 +138,6 @@ ..\Resources\Netch.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\Sponsor.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, - PublicKeyToken=b03f5f7f11d50a3a - ..\Resources\CopyLink.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a diff --git a/Netch/Resources/Sponsor.png b/Netch/Resources/Sponsor.png deleted file mode 100644 index 690cbe30..00000000 Binary files a/Netch/Resources/Sponsor.png and /dev/null differ