修复编译错误:移除ToolStrip控件不存在的WrapContents属性
This commit is contained in:
@@ -207,8 +207,6 @@ namespace JoyD.Windows.CS
|
|||||||
this.toolStrip.AutoSize = true;
|
this.toolStrip.AutoSize = true;
|
||||||
this.toolStrip.Dock = System.Windows.Forms.DockStyle.None;
|
this.toolStrip.Dock = System.Windows.Forms.DockStyle.None;
|
||||||
this.toolStrip.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.Flow;
|
this.toolStrip.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.Flow;
|
||||||
// 确保Flow布局时控件会换行
|
|
||||||
this.toolStrip.WrapContents = true;
|
|
||||||
this.toolStrip.ImageScalingSize = new System.Drawing.Size(20, 20);
|
this.toolStrip.ImageScalingSize = new System.Drawing.Size(20, 20);
|
||||||
this.toolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
this.toolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||||
this.btnDrawRegion,
|
this.btnDrawRegion,
|
||||||
|
|||||||
Reference in New Issue
Block a user