📄 form1.designer.cs
字号:
namespace WindowsApplication1
{
partial class Form1
{
/// <summary>
/// 设计工具所需的变数。
/// </summary>
private System.ComponentModel.IContainer components = null;
//Download by http://www.codefans.net
/// <summary>
/// 清除任何使用中的资源。
/// </summary>
/// <param name="disposing">如果应该公开 Managed 资源则为 true,否则为 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form 设计工具产生的程序代码
/// <summary>
/// 此为设计工具支持所需的方法 - 请勿使用程序代码编辑器修改这个方法的内容。
///
/// </summary>
private void InitializeComponent()
{
this.richTextBox1 = new System.Windows.Forms.RichTextBox();
this.btnFont = new System.Windows.Forms.Button();
this.btnColor = new System.Windows.Forms.Button();
this.btnItem = new System.Windows.Forms.Button();
this.brnFind = new System.Windows.Forms.Button();
this.btnOpen = new System.Windows.Forms.Button();
this.btnSave = new System.Windows.Forms.Button();
this.btnClear = new System.Windows.Forms.Button();
this.btnEnd = new System.Windows.Forms.Button();
this.colorDialog1 = new System.Windows.Forms.ColorDialog();
this.fontDialog1 = new System.Windows.Forms.FontDialog();
this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog();
this.textBox1 = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// richTextBox1
//
this.richTextBox1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
this.richTextBox1.Location = new System.Drawing.Point(30, 23);
this.richTextBox1.Name = "richTextBox1";
this.richTextBox1.Size = new System.Drawing.Size(352, 281);
this.richTextBox1.TabIndex = 0;
this.richTextBox1.Text = "";
this.richTextBox1.LinkClicked += new System.Windows.Forms.LinkClickedEventHandler(this.richTextBox1_LinkClicked);
//
// btnFont
//
this.btnFont.Location = new System.Drawing.Point(409, 34);
this.btnFont.Name = "btnFont";
this.btnFont.Size = new System.Drawing.Size(74, 27);
this.btnFont.TabIndex = 1;
this.btnFont.Text = "字体";
this.btnFont.UseVisualStyleBackColor = true;
this.btnFont.Click += new System.EventHandler(this.btnFont_Click);
//
// btnColor
//
this.btnColor.Location = new System.Drawing.Point(409, 67);
this.btnColor.Name = "btnColor";
this.btnColor.Size = new System.Drawing.Size(74, 27);
this.btnColor.TabIndex = 1;
this.btnColor.Text = "颜色";
this.btnColor.UseVisualStyleBackColor = true;
this.btnColor.Click += new System.EventHandler(this.btnColor_Click);
//
// btnItem
//
this.btnItem.Location = new System.Drawing.Point(409, 100);
this.btnItem.Name = "btnItem";
this.btnItem.Size = new System.Drawing.Size(74, 27);
this.btnItem.TabIndex = 1;
this.btnItem.Text = "项目";
this.btnItem.UseVisualStyleBackColor = true;
this.btnItem.Click += new System.EventHandler(this.btnItem_Click);
//
// brnFind
//
this.brnFind.Location = new System.Drawing.Point(409, 133);
this.brnFind.Name = "brnFind";
this.brnFind.Size = new System.Drawing.Size(74, 27);
this.brnFind.TabIndex = 1;
this.brnFind.Text = "查找";
this.brnFind.UseVisualStyleBackColor = true;
this.brnFind.Click += new System.EventHandler(this.brnFind_Click);
//
// btnOpen
//
this.btnOpen.Location = new System.Drawing.Point(409, 166);
this.btnOpen.Name = "btnOpen";
this.btnOpen.Size = new System.Drawing.Size(74, 27);
this.btnOpen.TabIndex = 1;
this.btnOpen.Text = "打开文件";
this.btnOpen.UseVisualStyleBackColor = true;
this.btnOpen.Click += new System.EventHandler(this.btnOpen_Click);
//
// btnSave
//
this.btnSave.Location = new System.Drawing.Point(409, 199);
this.btnSave.Name = "btnSave";
this.btnSave.Size = new System.Drawing.Size(74, 27);
this.btnSave.TabIndex = 1;
this.btnSave.Text = "保存文件";
this.btnSave.UseVisualStyleBackColor = true;
this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
//
// btnClear
//
this.btnClear.Location = new System.Drawing.Point(409, 232);
this.btnClear.Name = "btnClear";
this.btnClear.Size = new System.Drawing.Size(74, 27);
this.btnClear.TabIndex = 1;
this.btnClear.Text = "清除";
this.btnClear.UseVisualStyleBackColor = true;
this.btnClear.Click += new System.EventHandler(this.btnClear_Click);
//
// btnEnd
//
this.btnEnd.Location = new System.Drawing.Point(409, 265);
this.btnEnd.Name = "btnEnd";
this.btnEnd.Size = new System.Drawing.Size(74, 27);
this.btnEnd.TabIndex = 1;
this.btnEnd.Text = "结束";
this.btnEnd.UseVisualStyleBackColor = true;
//
// openFileDialog1
//
this.openFileDialog1.FileName = "openFileDialog1";
//
// textBox1
//
this.textBox1.Font = new System.Drawing.Font("PMingLiU", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
this.textBox1.Location = new System.Drawing.Point(306, 325);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(177, 23);
this.textBox1.TabIndex = 2;
this.textBox1.TextChanged += new System.EventHandler(this.textBox1_TextChanged);
//
// label1
//
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("PMingLiU", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
this.label1.Location = new System.Drawing.Point(27, 328);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(35, 13);
this.label1.TabIndex = 3;
this.label1.Text = "label1";
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(504, 362);
this.Controls.Add(this.label1);
this.Controls.Add(this.textBox1);
this.Controls.Add(this.btnEnd);
this.Controls.Add(this.btnClear);
this.Controls.Add(this.btnSave);
this.Controls.Add(this.btnOpen);
this.Controls.Add(this.brnFind);
this.Controls.Add(this.btnItem);
this.Controls.Add(this.btnColor);
this.Controls.Add(this.btnFont);
this.Controls.Add(this.richTextBox1);
this.Name = "Form1";
this.Text = "简易文字编缉器";
this.Load += new System.EventHandler(this.Form1_Load);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.RichTextBox richTextBox1;
private System.Windows.Forms.Button btnFont;
private System.Windows.Forms.Button btnColor;
private System.Windows.Forms.Button btnItem;
private System.Windows.Forms.Button brnFind;
private System.Windows.Forms.Button btnOpen;
private System.Windows.Forms.Button btnSave;
private System.Windows.Forms.Button btnClear;
private System.Windows.Forms.Button btnEnd;
private System.Windows.Forms.ColorDialog colorDialog1;
private System.Windows.Forms.FontDialog fontDialog1;
private System.Windows.Forms.OpenFileDialog openFileDialog1;
private System.Windows.Forms.SaveFileDialog saveFileDialog1;
private System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.Label label1;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -