📄 form1.designer.cs
字号:
namespace WindowsApplication1
{
partial class Form1
{
/// <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.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
this.label1 = new System.Windows.Forms.Label();
this.btn_Remove = new System.Windows.Forms.Button();
this.btn_toRecycleBin = new System.Windows.Forms.Button();
this.btn_ClearRecycleBin = new System.Windows.Forms.Button();
this.listBox1 = new System.Windows.Forms.ListBox();
this.SuspendLayout();
//
// openFileDialog1
//
this.openFileDialog1.FileName = "openFileDialog1";
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(-3, 7);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(91, 13);
this.label1.TabIndex = 1;
this.label1.Text = "被选中的文件:";
//
// btn_Remove
//
this.btn_Remove.Location = new System.Drawing.Point(4, 119);
this.btn_Remove.Name = "btn_Remove";
this.btn_Remove.Size = new System.Drawing.Size(75, 25);
this.btn_Remove.TabIndex = 2;
this.btn_Remove.Text = "彻底删除";
this.btn_Remove.UseVisualStyleBackColor = true;
this.btn_Remove.Click += new System.EventHandler(this.btn_Remove_Click);
//
// btn_toRecycleBin
//
this.btn_toRecycleBin.Location = new System.Drawing.Point(85, 119);
this.btn_toRecycleBin.Name = "btn_toRecycleBin";
this.btn_toRecycleBin.Size = new System.Drawing.Size(75, 25);
this.btn_toRecycleBin.TabIndex = 3;
this.btn_toRecycleBin.Text = "删除到回收站";
this.btn_toRecycleBin.UseVisualStyleBackColor = true;
this.btn_toRecycleBin.Click += new System.EventHandler(this.btn_toRecycleBin_Click);
//
// btn_ClearRecycleBin
//
this.btn_ClearRecycleBin.Location = new System.Drawing.Point(166, 119);
this.btn_ClearRecycleBin.Name = "btn_ClearRecycleBin";
this.btn_ClearRecycleBin.Size = new System.Drawing.Size(75, 25);
this.btn_ClearRecycleBin.TabIndex = 4;
this.btn_ClearRecycleBin.Text = "清空回收站";
this.btn_ClearRecycleBin.UseVisualStyleBackColor = true;
this.btn_ClearRecycleBin.Click += new System.EventHandler(this.btn_ClearRecycleBin_Click);
//
// listBox1
//
this.listBox1.FormattingEnabled = true;
this.listBox1.Location = new System.Drawing.Point(3, 28);
this.listBox1.Name = "listBox1";
this.listBox1.ScrollAlwaysVisible = true;
this.listBox1.Size = new System.Drawing.Size(236, 82);
this.listBox1.TabIndex = 5;
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(244, 151);
this.Controls.Add(this.listBox1);
this.Controls.Add(this.btn_ClearRecycleBin);
this.Controls.Add(this.btn_toRecycleBin);
this.Controls.Add(this.btn_Remove);
this.Controls.Add(this.label1);
this.Name = "Form1";
this.Text = "删除文件";
this.Load += new System.EventHandler(this.Form1_Load);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.OpenFileDialog openFileDialog1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Button btn_Remove;
private System.Windows.Forms.Button btn_toRecycleBin;
private System.Windows.Forms.Button btn_ClearRecycleBin;
private System.Windows.Forms.ListBox listBox1;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -