设计器:
代码:
在Form_Load事件中添加 :
statusStripMain.LayoutStyle= ToolStripLayoutStyle.HorizontalStackWithOverflow;
lbl单位.Alignment = ToolStripItemAlignment.Right;
lblCompany.Alignment = ToolStripItemAlignment.Right;
lbl联系电话.Alignment = ToolStripItemAlignment.Right;
lblTelephone.Alignment = ToolStripItemAlignment.Right;
运行效果: