📄 form2.designer.cs
字号:
namespace WindowsApplication1
{
partial class Form2
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows 窗体设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.richTextBox1 = new System.Windows.Forms.RichTextBox();
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
this.文件FToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.保存ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.关闭ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.关闭ToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
this.格式YToolStripMenuItem = 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.历史记录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.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog();
this.colorDialog1 = new System.Windows.Forms.ColorDialog();
this.fontDialog1 = new System.Windows.Forms.FontDialog();
this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
this.menuStrip1.SuspendLayout();
this.SuspendLayout();
//
// richTextBox1
//
this.richTextBox1.Dock = System.Windows.Forms.DockStyle.Fill;
this.richTextBox1.Location = new System.Drawing.Point(0, 24);
this.richTextBox1.Name = "richTextBox1";
this.richTextBox1.Size = new System.Drawing.Size(508, 242);
this.richTextBox1.TabIndex = 0;
this.richTextBox1.Text = "";
//
// menuStrip1
//
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.文件FToolStripMenuItem,
this.格式YToolStripMenuItem,
this.编辑ToolStripMenuItem});
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
this.menuStrip1.Name = "menuStrip1";
this.menuStrip1.Size = new System.Drawing.Size(508, 24);
this.menuStrip1.TabIndex = 1;
this.menuStrip1.Text = "menuStrip1";
this.menuStrip1.Visible = false;
//
// 文件FToolStripMenuItem
//
this.文件FToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.保存ToolStripMenuItem,
this.关闭ToolStripMenuItem,
this.关闭ToolStripMenuItem1});
this.文件FToolStripMenuItem.MergeAction = System.Windows.Forms.MergeAction.MatchOnly;
this.文件FToolStripMenuItem.Name = "文件FToolStripMenuItem";
this.文件FToolStripMenuItem.Size = new System.Drawing.Size(57, 20);
this.文件FToolStripMenuItem.Text = "文件[&F]";
//
// 保存ToolStripMenuItem
//
this.保存ToolStripMenuItem.Name = "保存ToolStripMenuItem";
this.保存ToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
this.保存ToolStripMenuItem.Text = "保存";
this.保存ToolStripMenuItem.Click += new System.EventHandler(this.保存ToolStripMenuItem_Click);
//
// 关闭ToolStripMenuItem
//
this.关闭ToolStripMenuItem.Name = "关闭ToolStripMenuItem";
this.关闭ToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
this.关闭ToolStripMenuItem.Text = "另存为";
this.关闭ToolStripMenuItem.Click += new System.EventHandler(this.关闭ToolStripMenuItem_Click);
//
// 关闭ToolStripMenuItem1
//
this.关闭ToolStripMenuItem1.Name = "关闭ToolStripMenuItem1";
this.关闭ToolStripMenuItem1.Size = new System.Drawing.Size(152, 22);
this.关闭ToolStripMenuItem1.Text = "退出文本编辑";
this.关闭ToolStripMenuItem1.Click += new System.EventHandler(this.关闭ToolStripMenuItem1_Click_1);
//
// 格式YToolStripMenuItem
//
this.格式YToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.字体ToolStripMenuItem,
this.颜色ToolStripMenuItem,
this.背景颜色ToolStripMenuItem,
this.历史记录ToolStripMenuItem});
this.格式YToolStripMenuItem.Name = "格式YToolStripMenuItem";
this.格式YToolStripMenuItem.Size = new System.Drawing.Size(57, 20);
this.格式YToolStripMenuItem.Text = "格式[&Y]";
//
// 字体ToolStripMenuItem
//
this.字体ToolStripMenuItem.Name = "字体ToolStripMenuItem";
this.字体ToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
this.字体ToolStripMenuItem.Text = "字体";
this.字体ToolStripMenuItem.Click += new System.EventHandler(this.字体ToolStripMenuItem_Click_1);
//
// 颜色ToolStripMenuItem
//
this.颜色ToolStripMenuItem.Name = "颜色ToolStripMenuItem";
this.颜色ToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
this.颜色ToolStripMenuItem.Text = "颜色";
this.颜色ToolStripMenuItem.Click += new System.EventHandler(this.颜色ToolStripMenuItem_Click);
//
// 背景颜色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(122, 22);
this.背景颜色ToolStripMenuItem.Text = "背景颜色";
//
// 白色ToolStripMenuItem
//
this.白色ToolStripMenuItem.Name = "白色ToolStripMenuItem";
this.白色ToolStripMenuItem.Size = new System.Drawing.Size(98, 22);
this.白色ToolStripMenuItem.Text = "白色";
this.白色ToolStripMenuItem.Click += new System.EventHandler(this.白色ToolStripMenuItem_Click);
//
// 蓝色ToolStripMenuItem
//
this.蓝色ToolStripMenuItem.Name = "蓝色ToolStripMenuItem";
this.蓝色ToolStripMenuItem.Size = new System.Drawing.Size(98, 22);
this.蓝色ToolStripMenuItem.Text = "蓝色";
this.蓝色ToolStripMenuItem.Click += new System.EventHandler(this.蓝色ToolStripMenuItem_Click);
//
// 红色ToolStripMenuItem
//
this.红色ToolStripMenuItem.Name = "红色ToolStripMenuItem";
this.红色ToolStripMenuItem.Size = new System.Drawing.Size(98, 22);
this.红色ToolStripMenuItem.Text = "红色";
this.红色ToolStripMenuItem.Click += new System.EventHandler(this.红色ToolStripMenuItem_Click);
//
// 历史记录ToolStripMenuItem
//
this.历史记录ToolStripMenuItem.Name = "历史记录ToolStripMenuItem";
this.历史记录ToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
this.历史记录ToolStripMenuItem.Text = "历史记录";
this.历史记录ToolStripMenuItem.Click += new System.EventHandler(this.历史记录ToolStripMenuItem_Click);
//
// 编辑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(57, 20);
this.编辑ToolStripMenuItem.Text = "编辑[&F]";
//
// 查找ToolStripMenuItem
//
this.查找ToolStripMenuItem.Name = "查找ToolStripMenuItem";
this.查找ToolStripMenuItem.Size = new System.Drawing.Size(98, 22);
this.查找ToolStripMenuItem.Text = "查找";
this.查找ToolStripMenuItem.Click += new System.EventHandler(this.查找ToolStripMenuItem_Click);
//
// 替换ToolStripMenuItem
//
this.替换ToolStripMenuItem.Name = "替换ToolStripMenuItem";
this.替换ToolStripMenuItem.Size = new System.Drawing.Size(98, 22);
this.替换ToolStripMenuItem.Text = "替换";
this.替换ToolStripMenuItem.Click += new System.EventHandler(this.替换ToolStripMenuItem_Click);
//
// openFileDialog1
//
this.openFileDialog1.FileName = "openFileDialog1";
//
// Form2
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(508, 266);
this.Controls.Add(this.richTextBox1);
this.Controls.Add(this.menuStrip1);
this.MainMenuStrip = this.menuStrip1;
this.Name = "Form2";
this.Text = "Form2";
this.Load += new System.EventHandler(this.Form2_Load);
this.menuStrip1.ResumeLayout(false);
this.menuStrip1.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
public System.Windows.Forms.RichTextBox richTextBox1;
private System.Windows.Forms.MenuStrip menuStrip1;
private System.Windows.Forms.ToolStripMenuItem 保存ToolStripMenuItem;
public System.Windows.Forms.ToolStripMenuItem 文件FToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem 关闭ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem 关闭ToolStripMenuItem1;
private System.Windows.Forms.ToolStripMenuItem 格式YToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem 字体ToolStripMenuItem;
private System.Windows.Forms.SaveFileDialog saveFileDialog1;
private System.Windows.Forms.ToolStripMenuItem 颜色ToolStripMenuItem;
private System.Windows.Forms.ColorDialog colorDialog1;
private System.Windows.Forms.FontDialog fontDialog1;
private System.Windows.Forms.OpenFileDialog openFileDialog1;
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;
private System.Windows.Forms.ToolStripMenuItem 历史记录ToolStripMenuItem;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -