using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace PaintDotNet.CustomControl { public partial class PicturePath : UserControl { public PicturePath() { InitializeComponent(); InitializeLanguageText(); } /// /// 必需的设计器变量。 /// private System.ComponentModel.IContainer components = null; /// /// 清理所有正在使用的资源。 /// /// 如果应释放托管资源,为 true;否则为 false。 protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region 组件设计器生成的代码 /// /// 设计器支持所需的方法 - 不要修改 /// 使用代码编辑器修改此方法的内容。 /// private void InitializeComponent() { this.button6 = new System.Windows.Forms.Button(); this.button5 = new System.Windows.Forms.Button(); this.SuspendLayout(); // // button6 // this.button6.Location = new System.Drawing.Point(21, 29); this.button6.Name = "button6"; this.button6.Size = new System.Drawing.Size(75, 23); this.button6.TabIndex = 2; this.button6.Text = "当前软件"; this.button6.UseVisualStyleBackColor = true; // // button5 // this.button5.Location = new System.Drawing.Point(21, 70); this.button5.Name = "button5"; this.button5.Size = new System.Drawing.Size(75, 23); this.button5.TabIndex = 3; this.button5.Text = "硬盘图像"; this.button5.UseVisualStyleBackColor = true; // // PicturePath // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.SystemColors.ControlLight; this.Controls.Add(this.button5); this.Controls.Add(this.button6); this.Name = "PicturePath"; this.Size = new System.Drawing.Size(120, 120); this.ResumeLayout(false); } private void InitializeLanguageText() { this.button6.Text = PdnResources.GetString("Menu.Currentsoftware.text"); this.button5.Text = PdnResources.GetString("Menu.Theharddiskimage.Text"); } #endregion public System.Windows.Forms.Button button6; public System.Windows.Forms.Button button5; } }