namespace WindowsFormsMenuStrip { partial class Form1 { /// /// 必需的设计器变量。 /// private System.ComponentModel.IContainer components = null; /// /// 清理所有正在使用的资源。 /// /// 如果应释放托管资源,为 true;否则为 false。 protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region Windows 窗体设计器生成的代码 /// /// 设计器支持所需的方法 - 不要修改 /// 使用代码编辑器修改此方法的内容。 /// private void InitializeComponent() { this.menuStrip1 = new System.Windows.Forms.MenuStrip(); this.文件ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.新建ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.打开ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.关闭ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.编辑ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.复制ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.粘贴ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.menuStrip1.SuspendLayout(); this.SuspendLayout(); // // menuStrip1 // this.menuStrip1.ImageScalingSize = new System.Drawing.Size(20, 20); this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.文件ToolStripMenuItem, this.编辑ToolStripMenuItem}); this.menuStrip1.Location = new System.Drawing.Point(0, 0); this.menuStrip1.Name = "menuStrip1"; this.menuStrip1.Size = new System.Drawing.Size(503, 28); this.menuStrip1.TabIndex = 0; this.menuStrip1.Text = "menuStrip1"; // // 文件ToolStripMenuItem // this.文件ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.新建ToolStripMenuItem, this.打开ToolStripMenuItem, this.关闭ToolStripMenuItem}); this.文件ToolStripMenuItem.Name = "文件ToolStripMenuItem"; this.文件ToolStripMenuItem.Size = new System.Drawing.Size(71, 24); this.文件ToolStripMenuItem.Text = "文件(&F)"; // // 新建ToolStripMenuItem // this.新建ToolStripMenuItem.Name = "新建ToolStripMenuItem"; this.新建ToolStripMenuItem.Size = new System.Drawing.Size(224, 26); this.新建ToolStripMenuItem.Text = "新建(&N)"; // // 打开ToolStripMenuItem // this.打开ToolStripMenuItem.Name = "打开ToolStripMenuItem"; this.打开ToolStripMenuItem.Size = new System.Drawing.Size(224, 26); this.打开ToolStripMenuItem.Text = "打开(&O)"; // // 关闭ToolStripMenuItem // this.关闭ToolStripMenuItem.Name = "关闭ToolStripMenuItem"; this.关闭ToolStripMenuItem.Size = new System.Drawing.Size(224, 26); this.关闭ToolStripMenuItem.Text = "关闭"; // // 编辑ToolStripMenuItem // this.编辑ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.复制ToolStripMenuItem, this.粘贴ToolStripMenuItem}); this.编辑ToolStripMenuItem.Name = "编辑ToolStripMenuItem"; this.编辑ToolStripMenuItem.Size = new System.Drawing.Size(53, 24); this.编辑ToolStripMenuItem.Text = "编辑"; // // 复制ToolStripMenuItem // this.复制ToolStripMenuItem.Name = "复制ToolStripMenuItem"; this.复制ToolStripMenuItem.Size = new System.Drawing.Size(224, 26); this.复制ToolStripMenuItem.Text = "复制"; // // 粘贴ToolStripMenuItem // this.粘贴ToolStripMenuItem.Name = "粘贴ToolStripMenuItem"; this.粘贴ToolStripMenuItem.Size = new System.Drawing.Size(224, 26); this.粘贴ToolStripMenuItem.Text = "粘贴"; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(503, 260); this.Controls.Add(this.menuStrip1); this.MainMenuStrip = this.menuStrip1; this.Name = "Form1"; this.Text = "Form1"; this.menuStrip1.ResumeLayout(false); this.menuStrip1.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); } #endregion private System.Windows.Forms.MenuStrip menuStrip1; private System.Windows.Forms.ToolStripMenuItem 文件ToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem 新建ToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem 打开ToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem 关闭ToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem 编辑ToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem 复制ToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem 粘贴ToolStripMenuItem; } }