修复25像素画笔按钮相关代码中的重复和缩进问题
This commit is contained in:
@@ -187,6 +187,18 @@ namespace JoyD.Windows.CS
|
||||
this.btnBrushSize15.ToolTipText = "选择15像素画笔";
|
||||
this.btnBrushSize15.Click += new System.EventHandler(this.BtnBrushSize15_Click);
|
||||
//
|
||||
// btnBrushSize25
|
||||
//
|
||||
this.btnBrushSize25 = new System.Windows.Forms.ToolStripButton();
|
||||
this.btnBrushSize25.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.btnBrushSize25.Image = this.CreateBrushSizeImage(25, System.Drawing.Color.Brown);
|
||||
this.btnBrushSize25.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.btnBrushSize25.Name = "btnBrushSize25";
|
||||
this.btnBrushSize25.Size = new System.Drawing.Size(23, 22);
|
||||
this.btnBrushSize25.Text = "画笔大小25px";
|
||||
this.btnBrushSize25.ToolTipText = "选择25像素画笔";
|
||||
this.btnBrushSize25.Click += new System.EventHandler(this.BtnBrushSize25_Click);
|
||||
//
|
||||
// toolStrip
|
||||
//
|
||||
this.toolStrip.AllowDrop = true;
|
||||
@@ -204,7 +216,8 @@ namespace JoyD.Windows.CS
|
||||
this.btnBrushSize3,
|
||||
this.btnBrushSize5,
|
||||
this.btnBrushSize10,
|
||||
this.btnBrushSize15});
|
||||
this.btnBrushSize15,
|
||||
this.btnBrushSize25});
|
||||
this.toolStrip.Location = new System.Drawing.Point(3, 0);
|
||||
this.toolStrip.Name = "toolStrip";
|
||||
this.toolStrip.Size = new System.Drawing.Size(104, 25);
|
||||
@@ -319,6 +332,7 @@ namespace JoyD.Windows.CS
|
||||
private System.Windows.Forms.ToolStripButton btnBrushSize5;
|
||||
private System.Windows.Forms.ToolStripButton btnBrushSize10;
|
||||
private System.Windows.Forms.ToolStripButton btnBrushSize15;
|
||||
private System.Windows.Forms.ToolStripButton btnBrushSize25;
|
||||
private System.Windows.Forms.DataGridView dataGridViewTempDiff;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user