📄 toolstripform.designer.cs
字号:
namespace ToolStripExample
{
partial class ToolStripForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ToolStripForm));
this.myToolStrip = new System.Windows.Forms.ToolStrip();
this.toolStripButton新建N = new System.Windows.Forms.ToolStripButton();
this.toolStripButton打开O = new System.Windows.Forms.ToolStripButton();
this.toolStripButton保存S = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator = new System.Windows.Forms.ToolStripSeparator();
this.toolStripButton剪切U = new System.Windows.Forms.ToolStripButton();
this.toolStripButton复制C = new System.Windows.Forms.ToolStripButton();
this.toolStripButton粘贴P = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.toolStripComboBox字体 = new System.Windows.Forms.ToolStripComboBox();
this.richTextBox1 = new System.Windows.Forms.RichTextBox();
this.myToolStrip.SuspendLayout();
this.SuspendLayout();
//
// myToolStrip
//
this.myToolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.toolStripButton新建N,
this.toolStripButton打开O,
this.toolStripButton保存S,
this.toolStripSeparator,
this.toolStripButton剪切U,
this.toolStripButton复制C,
this.toolStripButton粘贴P,
this.toolStripSeparator1,
this.toolStripComboBox字体});
this.myToolStrip.Location = new System.Drawing.Point(0, 0);
this.myToolStrip.Name = "myToolStrip";
this.myToolStrip.Size = new System.Drawing.Size(500, 25);
this.myToolStrip.TabIndex = 0;
this.myToolStrip.Text = "toolStrip1";
//
// toolStripButton新建N
//
this.toolStripButton新建N.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.toolStripButton新建N.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton新建N.Image")));
this.toolStripButton新建N.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton新建N.Name = "toolStripButton新建N";
this.toolStripButton新建N.Size = new System.Drawing.Size(23, 22);
this.toolStripButton新建N.Text = "&New";
this.toolStripButton新建N.Click += new System.EventHandler(this.toolStripButton新建N_Click);
//
// toolStripButton打开O
//
this.toolStripButton打开O.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.toolStripButton打开O.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton打开O.Image")));
this.toolStripButton打开O.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton打开O.Name = "toolStripButton打开O";
this.toolStripButton打开O.Size = new System.Drawing.Size(23, 22);
this.toolStripButton打开O.Text = "&Open";
this.toolStripButton打开O.Click += new System.EventHandler(this.toolStripButton打开O_Click);
//
// toolStripButton保存S
//
this.toolStripButton保存S.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.toolStripButton保存S.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton保存S.Image")));
this.toolStripButton保存S.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton保存S.Name = "toolStripButton保存S";
this.toolStripButton保存S.Size = new System.Drawing.Size(23, 22);
this.toolStripButton保存S.Text = "&Save";
this.toolStripButton保存S.Click += new System.EventHandler(this.toolStripButton保存S_Click);
//
// toolStripSeparator
//
this.toolStripSeparator.Name = "toolStripSeparator";
this.toolStripSeparator.Size = new System.Drawing.Size(6, 25);
//
// toolStripButton剪切U
//
this.toolStripButton剪切U.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.toolStripButton剪切U.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton剪切U.Image")));
this.toolStripButton剪切U.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton剪切U.Name = "toolStripButton剪切U";
this.toolStripButton剪切U.Size = new System.Drawing.Size(23, 22);
this.toolStripButton剪切U.Text = "C&ut";
this.toolStripButton剪切U.Click += new System.EventHandler(this.toolStripButton剪切U_Click);
//
// toolStripButton复制C
//
this.toolStripButton复制C.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.toolStripButton复制C.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton复制C.Image")));
this.toolStripButton复制C.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton复制C.Name = "toolStripButton复制C";
this.toolStripButton复制C.Size = new System.Drawing.Size(23, 22);
this.toolStripButton复制C.Text = "&Copy";
this.toolStripButton复制C.Click += new System.EventHandler(this.toolStripButton复制C_Click);
//
// toolStripButton粘贴P
//
this.toolStripButton粘贴P.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.toolStripButton粘贴P.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton粘贴P.Image")));
this.toolStripButton粘贴P.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton粘贴P.Name = "toolStripButton粘贴P";
this.toolStripButton粘贴P.Size = new System.Drawing.Size(23, 22);
this.toolStripButton粘贴P.Text = "&Paste";
this.toolStripButton粘贴P.Click += new System.EventHandler(this.toolStripButton粘贴P_Click);
//
// toolStripSeparator1
//
this.toolStripSeparator1.Name = "toolStripSeparator1";
this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25);
//
// toolStripComboBox字体
//
this.toolStripComboBox字体.Items.AddRange(new object[] {
"大字体",
"小字体",
"适中字体"});
this.toolStripComboBox字体.Name = "toolStripComboBox字体";
this.toolStripComboBox字体.Size = new System.Drawing.Size(121, 25);
this.toolStripComboBox字体.TextChanged += new System.EventHandler(this.toolStripComboBox字体_TextChanged);
//
// richTextBox1
//
this.richTextBox1.Enabled = false;
this.richTextBox1.Location = new System.Drawing.Point(21, 45);
this.richTextBox1.Name = "richTextBox1";
this.richTextBox1.Size = new System.Drawing.Size(457, 274);
this.richTextBox1.TabIndex = 1;
this.richTextBox1.Text = "";
//
// ToolStripForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(500, 346);
this.Controls.Add(this.richTextBox1);
this.Controls.Add(this.myToolStrip);
this.Name = "ToolStripForm";
this.Text = "RTF文件编辑器-工具栏";
this.myToolStrip.ResumeLayout(false);
this.myToolStrip.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.ToolStrip myToolStrip;
private System.Windows.Forms.ToolStripButton toolStripButton新建N;
private System.Windows.Forms.ToolStripButton toolStripButton打开O;
private System.Windows.Forms.ToolStripButton toolStripButton保存S;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator;
private System.Windows.Forms.ToolStripButton toolStripButton剪切U;
private System.Windows.Forms.ToolStripButton toolStripButton复制C;
private System.Windows.Forms.ToolStripButton toolStripButton粘贴P;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
private System.Windows.Forms.ToolStripComboBox toolStripComboBox字体;
private System.Windows.Forms.RichTextBox richTextBox1;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -