📄 form1.designer.cs
字号:
namespace FileManage
{
partial class Form1
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
string path;
/// <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.labfilecon = new System.Windows.Forms.Label();
this.txtfilecon = new System.Windows.Forms.TextBox();
this.labappend = new System.Windows.Forms.Label();
this.txtappend = new System.Windows.Forms.TextBox();
this.btnnew = new System.Windows.Forms.Button();
this.textappend = new System.Windows.Forms.Button();
this.btncopy = new System.Windows.Forms.Button();
this.btnmove = new System.Windows.Forms.Button();
this.btndelete = new System.Windows.Forms.Button();
this.btninfo = new System.Windows.Forms.Button();
this.openfile = new System.Windows.Forms.OpenFileDialog();
this.savefile = new System.Windows.Forms.SaveFileDialog();
this.comboBox1 = new System.Windows.Forms.ComboBox();
this.SuspendLayout();
//
// labfilecon
//
this.labfilecon.AutoSize = true;
this.labfilecon.Location = new System.Drawing.Point(13, 13);
this.labfilecon.Name = "labfilecon";
this.labfilecon.Size = new System.Drawing.Size(65, 12);
this.labfilecon.TabIndex = 0;
this.labfilecon.Text = "文件内容:";
//
// txtfilecon
//
this.txtfilecon.Location = new System.Drawing.Point(15, 41);
this.txtfilecon.Multiline = true;
this.txtfilecon.Name = "txtfilecon";
this.txtfilecon.ReadOnly = true;
this.txtfilecon.Size = new System.Drawing.Size(479, 164);
this.txtfilecon.TabIndex = 1;
//
// labappend
//
this.labappend.AutoSize = true;
this.labappend.Location = new System.Drawing.Point(15, 212);
this.labappend.Name = "labappend";
this.labappend.Size = new System.Drawing.Size(125, 12);
this.labappend.TabIndex = 2;
this.labappend.Text = "向文件内追加的内容:";
//
// txtappend
//
this.txtappend.Location = new System.Drawing.Point(17, 239);
this.txtappend.Name = "txtappend";
this.txtappend.Size = new System.Drawing.Size(477, 21);
this.txtappend.TabIndex = 3;
//
// btnnew
//
this.btnnew.Location = new System.Drawing.Point(28, 282);
this.btnnew.Name = "btnnew";
this.btnnew.Size = new System.Drawing.Size(63, 23);
this.btnnew.TabIndex = 4;
this.btnnew.Text = "新建文件";
this.btnnew.UseVisualStyleBackColor = true;
this.btnnew.Click += new System.EventHandler(this.btnnew_Click);
//
// textappend
//
this.textappend.Location = new System.Drawing.Point(109, 282);
this.textappend.Name = "textappend";
this.textappend.Size = new System.Drawing.Size(63, 23);
this.textappend.TabIndex = 5;
this.textappend.Text = "追加内容";
this.textappend.UseVisualStyleBackColor = true;
this.textappend.Click += new System.EventHandler(this.btnappend_Click);
//
// btncopy
//
this.btncopy.Location = new System.Drawing.Point(189, 282);
this.btncopy.Name = "btncopy";
this.btncopy.Size = new System.Drawing.Size(63, 23);
this.btncopy.TabIndex = 6;
this.btncopy.Text = "复制文件";
this.btncopy.UseVisualStyleBackColor = true;
this.btncopy.Click += new System.EventHandler(this.btncopy_Click);
//
// btnmove
//
this.btnmove.Location = new System.Drawing.Point(269, 282);
this.btnmove.Name = "btnmove";
this.btnmove.Size = new System.Drawing.Size(63, 23);
this.btnmove.TabIndex = 7;
this.btnmove.Text = "移动文件";
this.btnmove.UseVisualStyleBackColor = true;
this.btnmove.Click += new System.EventHandler(this.btnmove_Click);
//
// btndelete
//
this.btndelete.Location = new System.Drawing.Point(350, 282);
this.btndelete.Name = "btndelete";
this.btndelete.Size = new System.Drawing.Size(63, 23);
this.btndelete.TabIndex = 8;
this.btndelete.Text = "删除文件";
this.btndelete.UseVisualStyleBackColor = true;
this.btndelete.Click += new System.EventHandler(this.btndelete_Click);
//
// btninfo
//
this.btninfo.Location = new System.Drawing.Point(431, 282);
this.btninfo.Name = "btninfo";
this.btninfo.Size = new System.Drawing.Size(63, 23);
this.btninfo.TabIndex = 9;
this.btninfo.Text = "显示信息";
this.btninfo.UseVisualStyleBackColor = true;
this.btninfo.Click += new System.EventHandler(this.btninfo_Click);
//
// openfile
//
this.openfile.FileName = "openFileDialog1";
//
// comboBox1
//
this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.comboBox1.FormattingEnabled = true;
this.comboBox1.Location = new System.Drawing.Point(130, 13);
this.comboBox1.Name = "comboBox1";
this.comboBox1.Size = new System.Drawing.Size(121, 20);
this.comboBox1.TabIndex = 10;
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(511, 329);
this.Controls.Add(this.comboBox1);
this.Controls.Add(this.btninfo);
this.Controls.Add(this.btndelete);
this.Controls.Add(this.btnmove);
this.Controls.Add(this.btncopy);
this.Controls.Add(this.textappend);
this.Controls.Add(this.btnnew);
this.Controls.Add(this.txtappend);
this.Controls.Add(this.labappend);
this.Controls.Add(this.txtfilecon);
this.Controls.Add(this.labfilecon);
this.Name = "Form1";
this.Text = "Form1";
this.Load += new System.EventHandler(this.Form1_Load);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Label labfilecon;
private System.Windows.Forms.TextBox txtfilecon;
private System.Windows.Forms.Label labappend;
private System.Windows.Forms.TextBox txtappend;
private System.Windows.Forms.Button btnnew;
private System.Windows.Forms.Button textappend;
private System.Windows.Forms.Button btncopy;
private System.Windows.Forms.Button btnmove;
private System.Windows.Forms.Button btndelete;
private System.Windows.Forms.Button btninfo;
private System.Windows.Forms.OpenFileDialog openfile;
private System.Windows.Forms.SaveFileDialog savefile;
private System.Windows.Forms.ComboBox comboBox1;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -