📄 ch9_demoform001.designer.cs
字号:
this.tsmiExit.Size = new System.Drawing.Size(153, 22);
this.tsmiExit.Text = "结束(&X)";
this.tsmiExit.ToolTipText = "結束";
this.tsmiExit.MouseLeave += new System.EventHandler(this.MenuItem_MouseLeave);
this.tsmiExit.MouseEnter += new System.EventHandler(this.MenuItem_MouseEnter);
this.tsmiExit.Click += new System.EventHandler(this.tsmiExit_Click);
//
// MenuStrip1
//
this.MenuStrip1.ContextMenuStrip = this.ContextMenuStripForMenuStrip;
this.MenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.tsmiFile,
this.tsmiView,
this.tsmiCheckedList,
this.tsmiOptions});
this.MenuStrip1.Location = new System.Drawing.Point(0, 0);
this.MenuStrip1.Name = "MenuStrip1";
this.MenuStrip1.Padding = new System.Windows.Forms.Padding(4, 2, 0, 2);
this.MenuStrip1.ShowItemToolTips = true;
this.MenuStrip1.Size = new System.Drawing.Size(619, 24);
this.MenuStrip1.TabIndex = 8;
this.MenuStrip1.Text = "MenuStrip";
//
// ContextMenuStripForMenuStrip
//
this.ContextMenuStripForMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.tsmiDockTop,
this.tsmiDockBottom,
this.tsmiDockLeft,
this.tsmiDockRight});
this.ContextMenuStripForMenuStrip.Name = "ContextMenuStripForMenuStrip";
this.ContextMenuStripForMenuStrip.Size = new System.Drawing.Size(153, 114);
//
// tsmiDockTop
//
this.tsmiDockTop.Name = "tsmiDockTop";
this.tsmiDockTop.Size = new System.Drawing.Size(152, 22);
this.tsmiDockTop.Text = "停靠上边界";
this.tsmiDockTop.Click += new System.EventHandler(this.tsmiDockStyle_Click);
//
// tsmiDockBottom
//
this.tsmiDockBottom.Name = "tsmiDockBottom";
this.tsmiDockBottom.Size = new System.Drawing.Size(152, 22);
this.tsmiDockBottom.Text = "停靠下边界";
this.tsmiDockBottom.Click += new System.EventHandler(this.tsmiDockStyle_Click);
//
// tsmiDockLeft
//
this.tsmiDockLeft.Name = "tsmiDockLeft";
this.tsmiDockLeft.Size = new System.Drawing.Size(152, 22);
this.tsmiDockLeft.Text = "停靠左边界";
this.tsmiDockLeft.Click += new System.EventHandler(this.tsmiDockStyle_Click);
//
// tsmiDockRight
//
this.tsmiDockRight.Name = "tsmiDockRight";
this.tsmiDockRight.Size = new System.Drawing.Size(152, 22);
this.tsmiDockRight.Text = "停靠右边界";
this.tsmiDockRight.Click += new System.EventHandler(this.tsmiDockStyle_Click);
//
// tsmiFile
//
this.tsmiFile.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.tsmiNew,
this.tsmiOpen,
this.ToolStripSeparator1,
this.tsmiExit});
this.tsmiFile.Image = global::CH9.Properties.Resources.REPLY;
this.tsmiFile.MergeIndex = 1;
this.tsmiFile.Name = "tsmiFile";
this.tsmiFile.Size = new System.Drawing.Size(75, 20);
this.tsmiFile.Text = "文件(&F)";
this.tsmiFile.ToolTipText = "檔案";
this.tsmiFile.MouseLeave += new System.EventHandler(this.MenuItem_MouseLeave);
this.tsmiFile.MouseEnter += new System.EventHandler(this.MenuItem_MouseEnter);
//
// tsmiNew
//
this.tsmiNew.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.tsmiOption1,
this.tsmiOption2,
this.tsmiOption3});
this.tsmiNew.Image = global::CH9.Properties.Resources.NewDocumentHS;
this.tsmiNew.Name = "tsmiNew";
this.tsmiNew.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N)));
this.tsmiNew.Size = new System.Drawing.Size(153, 22);
this.tsmiNew.Text = "新建(&N)";
this.tsmiNew.ToolTipText = "新增";
this.tsmiNew.MouseLeave += new System.EventHandler(this.MenuItem_MouseLeave);
this.tsmiNew.MouseEnter += new System.EventHandler(this.MenuItem_MouseEnter);
this.tsmiNew.Click += new System.EventHandler(this.tsmiNew_Click);
//
// tsmiOption1
//
this.tsmiOption1.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.tsmiMoreOptions,
this.tsmiMoreOptions1,
this.tsmiMoreOptions2,
this.tsmiMoreOptions3});
this.tsmiOption1.Name = "tsmiOption1";
this.tsmiOption1.Size = new System.Drawing.Size(130, 22);
this.tsmiOption1.Text = "第一個選項";
this.tsmiOption1.ToolTipText = "第一個選項";
this.tsmiOption1.MouseLeave += new System.EventHandler(this.MenuItem_MouseLeave);
this.tsmiOption1.MouseEnter += new System.EventHandler(this.MenuItem_MouseEnter);
//
// tsmiMoreOptions
//
this.tsmiMoreOptions.Name = "tsmiMoreOptions";
this.tsmiMoreOptions.Size = new System.Drawing.Size(118, 22);
this.tsmiMoreOptions.Text = "更多選項";
this.tsmiMoreOptions.ToolTipText = "更多選項";
this.tsmiMoreOptions.MouseLeave += new System.EventHandler(this.MenuItem_MouseLeave);
this.tsmiMoreOptions.MouseEnter += new System.EventHandler(this.MenuItem_MouseEnter);
//
// tsmiMoreOptions1
//
this.tsmiMoreOptions1.Name = "tsmiMoreOptions1";
this.tsmiMoreOptions1.Size = new System.Drawing.Size(118, 22);
this.tsmiMoreOptions1.Text = ".";
this.tsmiMoreOptions1.MouseLeave += new System.EventHandler(this.MenuItem_MouseLeave);
this.tsmiMoreOptions1.MouseEnter += new System.EventHandler(this.MenuItem_MouseEnter);
//
// tsmiCheckedList
//
this.tsmiCheckedList.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.tsmiAddOption,
this.tsmiRemoveOption,
this.tsbSeparator});
this.tsmiCheckedList.Image = global::CH9.Properties.Resources.Check2;
this.tsmiCheckedList.Name = "tsmiCheckedList";
this.tsmiCheckedList.Size = new System.Drawing.Size(99, 20);
this.tsmiCheckedList.Text = "复选列表(&C)";
this.tsmiCheckedList.ToolTipText = "核取清單";
this.tsmiCheckedList.MouseLeave += new System.EventHandler(this.MenuItem_MouseLeave);
this.tsmiCheckedList.MouseEnter += new System.EventHandler(this.MenuItem_MouseEnter);
//
// tsmiAddOption
//
this.tsmiAddOption.Image = global::CH9.Properties.Resources.NEWITEM;
this.tsmiAddOption.Name = "tsmiAddOption";
this.tsmiAddOption.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.A)));
this.tsmiAddOption.Size = new System.Drawing.Size(159, 22);
this.tsmiAddOption.Text = "添加选项";
this.tsmiAddOption.ToolTipText = "新增選項";
this.tsmiAddOption.MouseLeave += new System.EventHandler(this.MenuItem_MouseLeave);
this.tsmiAddOption.MouseEnter += new System.EventHandler(this.MenuItem_MouseEnter);
this.tsmiAddOption.Click += new System.EventHandler(this.tsmiAddOption_Click);
//
// tsmiRemoveOption
//
this.tsmiRemoveOption.Image = global::CH9.Properties.Resources.DELITEM;
this.tsmiRemoveOption.Name = "tsmiRemoveOption";
this.tsmiRemoveOption.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.R)));
this.tsmiRemoveOption.Size = new System.Drawing.Size(159, 22);
this.tsmiRemoveOption.Text = "移除选项";
this.tsmiRemoveOption.ToolTipText = "移除選項";
this.tsmiRemoveOption.MouseLeave += new System.EventHandler(this.MenuItem_MouseLeave);
this.tsmiRemoveOption.MouseEnter += new System.EventHandler(this.MenuItem_MouseEnter);
this.tsmiRemoveOption.Click += new System.EventHandler(this.tsmiRemoveOption_Click);
//
// tsbSeparator
//
this.tsbSeparator.Name = "tsbSeparator";
this.tsbSeparator.Size = new System.Drawing.Size(156, 6);
//
// MainStatusStrip
//
this.MainStatusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.tsbSelectedItem,
this.ToolStripProgressBar1,
this.tsbDateTime});
this.MainStatusStrip.Location = new System.Drawing.Point(0, 244);
this.MainStatusStrip.Name = "MainStatusStrip";
this.MainStatusStrip.Padding = new System.Windows.Forms.Padding(1, 0, 10, 0);
this.MainStatusStrip.ShowItemToolTips = true;
this.MainStatusStrip.Size = new System.Drawing.Size(619, 22);
this.MainStatusStrip.TabIndex = 9;
this.MainStatusStrip.Text = "MainStatusStrip";
//
// tsbSelectedItem
//
this.tsbSelectedItem.AutoSize = false;
this.tsbSelectedItem.Name = "tsbSelectedItem";
this.tsbSelectedItem.Size = new System.Drawing.Size(160, 20);
this.tsbSelectedItem.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// ToolStripProgressBar1
//
this.ToolStripProgressBar1.Name = "ToolStripProgressBar1";
this.ToolStripProgressBar1.Size = new System.Drawing.Size(225, 16);
//
// tsbDateTime
//
this.tsbDateTime.Name = "tsbDateTime";
this.tsbDateTime.Size = new System.Drawing.Size(65, 17);
this.tsbDateTime.Text = "章立民制作";
//
// CH9_DemoForm001
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(619, 266);
this.ContextMenuStrip = this.ContextMenuStripForForm;
this.Controls.Add(this.MainStatusStrip);
this.Controls.Add(this.MenuStrip1);
this.Margin = new System.Windows.Forms.Padding(2);
this.Name = "CH9_DemoForm001";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "示范如何创建功能表";
this.Load += new System.EventHandler(this.CH5_DemoForm001_Load);
this.ContextMenuStripForForm.ResumeLayout(false);
this.MenuStrip1.ResumeLayout(false);
this.MenuStrip1.PerformLayout();
this.ContextMenuStripForMenuStrip.ResumeLayout(false);
this.MainStatusStrip.ResumeLayout(false);
this.MainStatusStrip.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
internal System.Windows.Forms.ToolStripMenuItem tsmiUpdateProgressBar;
internal System.Windows.Forms.ToolStripMenuItem tsmiOptions;
internal System.Windows.Forms.ToolStripMenuItem tsmiChangeOpacity;
internal System.Windows.Forms.ToolStripMenuItem tsmiTwentyfivePercent;
internal System.Windows.Forms.ToolStripMenuItem tsmiFiftyPercent;
internal System.Windows.Forms.ToolStripMenuItem tsmiSeventyfivePercent;
internal System.Windows.Forms.ToolStripMenuItem tsmiOnehundredPercent;
internal System.Windows.Forms.ToolStripSeparator ToolStripSeparator1;
internal System.Windows.Forms.ToolStripMenuItem tsmiOption2;
internal System.Windows.Forms.ToolStripMenuItem tsmiMoreOptions3;
internal System.Windows.Forms.ToolStripMenuItem tsmiOpen;
internal System.Windows.Forms.ToolStripMenuItem tsmiOption3;
internal System.Windows.Forms.ToolStripMenuItem tsmiBlue;
internal System.Windows.Forms.ContextMenuStrip ContextMenuStripForForm;
internal System.Windows.Forms.ToolStripMenuItem tsmiRed;
internal System.Windows.Forms.ToolStripMenuItem tsmiGreen;
internal System.Windows.Forms.ToolStripMenuItem tsmiMoreOptions2;
internal System.Windows.Forms.ToolStripMenuItem tsmiView;
internal System.Windows.Forms.ToolStripMenuItem tsmiStatusStrip;
internal System.Windows.Forms.ToolStripMenuItem tsmiExit;
internal System.Windows.Forms.MenuStrip MenuStrip1;
internal System.Windows.Forms.ContextMenuStrip ContextMenuStripForMenuStrip;
internal System.Windows.Forms.ToolStripMenuItem tsmiDockTop;
internal System.Windows.Forms.ToolStripMenuItem tsmiDockBottom;
internal System.Windows.Forms.ToolStripMenuItem tsmiDockLeft;
internal System.Windows.Forms.ToolStripMenuItem tsmiDockRight;
internal System.Windows.Forms.ToolStripMenuItem tsmiFile;
internal System.Windows.Forms.ToolStripMenuItem tsmiNew;
internal System.Windows.Forms.ToolStripMenuItem tsmiOption1;
internal System.Windows.Forms.ToolStripMenuItem tsmiMoreOptions;
internal System.Windows.Forms.ToolStripMenuItem tsmiMoreOptions1;
internal System.Windows.Forms.ToolStripMenuItem tsmiCheckedList;
internal System.Windows.Forms.ToolStripMenuItem tsmiAddOption;
internal System.Windows.Forms.ToolStripMenuItem tsmiRemoveOption;
internal System.Windows.Forms.ToolStripSeparator tsbSeparator;
internal System.Windows.Forms.StatusStrip MainStatusStrip;
internal System.Windows.Forms.ToolStripButton tsbSelectedItem;
internal System.Windows.Forms.ToolStripProgressBar ToolStripProgressBar1;
internal System.Windows.Forms.ToolStripStatusLabel tsbDateTime;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -