//工具栏错误按钮 toolStrip1.LayoutStyle = ToolStripLayoutStyle.HorizontalStackWithOverflow; toolStripButtonError.Alignment = ToolStripItemAlignment.Right; toolStripButtonError.Visible = false;