修复编译错误:移除ToolStrip不支持的FlowDirection属性

This commit is contained in:
zqm
2025-11-10 14:41:39 +08:00
parent 93eea36652
commit e657d0584d

View File

@@ -155,7 +155,6 @@ namespace JoyD.Windows.CS
this.btnBrushSize15, this.btnBrushSize15,
this.btnBrushSize25}); this.btnBrushSize25});
this.toolStrip.AutoSize = true; this.toolStrip.AutoSize = true;
this.toolStrip.FlowDirection = System.Windows.Forms.FlowDirection.LeftToRight;
this.toolStrip.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.Flow; this.toolStrip.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.Flow;
this.toolStrip.Location = new System.Drawing.Point(3, 0); this.toolStrip.Location = new System.Drawing.Point(3, 0);
this.toolStrip.MaximumSize = new System.Drawing.Size(0, 300); // 宽度设为0表示无限制 this.toolStrip.MaximumSize = new System.Drawing.Size(0, 300); // 宽度设为0表示无限制