設計器:
代碼: 在Form_Load事件中添加 : statusStripMain.LayoutStyle= ToolStripLayoutStyle.HorizontalStackWithOverflow; lbl單位.Alignment = ToolStripItemAlignment.Right; lblCompany.Alignment = ToolStripItemAlignment.Right; lbl聯系電話.Alignment = ToolStripItemAlignment.Right; lblTelephone.Alignment = ToolStripItemAlignment.Right; 運行效果: