工具栏toolstrip可含子项对象toolstriplabel或toolstripseparator或toolstriptextbox
| // toolStripLabel1 // this.toolStripLabel1.Name = "toolStripLabel1"; this.toolStripLabel1.Size = new System.Drawing.Size(72, 22); this.toolStripLabel1.Text = "工具栏项1"; // // toolStripLabel2 // this.toolStripLabel2.Name = "toolStripLabel2"; this.toolStripLabel2.Size = new System.Drawing.Size(72, 22); this.toolStripLabel2.Text = "工具栏项2"; // // toolStripSeparator2 // this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new System.Drawing.Size(6, 25); |
状态栏statusstrip,包含子项控件toolstripprogressbar及toolstripstatuslabel
|
private void newmanualform_Load(object sender, EventArgs e) } |
菜单栏menustrip
下述为菜单栏菜单项 toolstripmenuitem
private System.Windows.Forms.ToolStripMenuItem 文件FToolStripMenuItem;