📄 formlistbox.designer.cs
字号:
namespace ListBoxExample
{
partial class FormListBox
{
/// <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()
{
this.buttonDelete = new System.Windows.Forms.Button();
this.buttonDeleteAll = new System.Windows.Forms.Button();
this.buttonAdd = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.textBoxAdd = new System.Windows.Forms.TextBox();
this.listBox1 = new System.Windows.Forms.ListBox();
this.SuspendLayout();
//
// buttonDelete
//
this.buttonDelete.Location = new System.Drawing.Point(373, 64);
this.buttonDelete.Name = "buttonDelete";
this.buttonDelete.Size = new System.Drawing.Size(105, 24);
this.buttonDelete.TabIndex = 0;
this.buttonDelete.Text = "删除选中课程";
this.buttonDelete.UseVisualStyleBackColor = true;
this.buttonDelete.Click += new System.EventHandler(this.buttonDelete_Click);
//
// buttonDeleteAll
//
this.buttonDeleteAll.Location = new System.Drawing.Point(373, 175);
this.buttonDeleteAll.Name = "buttonDeleteAll";
this.buttonDeleteAll.Size = new System.Drawing.Size(105, 24);
this.buttonDeleteAll.TabIndex = 1;
this.buttonDeleteAll.Text = "删除全部课程";
this.buttonDeleteAll.UseVisualStyleBackColor = true;
this.buttonDeleteAll.Click += new System.EventHandler(this.buttonDeleteAll_Click);
//
// buttonAdd
//
this.buttonAdd.Location = new System.Drawing.Point(373, 299);
this.buttonAdd.Name = "buttonAdd";
this.buttonAdd.Size = new System.Drawing.Size(105, 24);
this.buttonAdd.TabIndex = 2;
this.buttonAdd.Text = "添加新课程 ";
this.buttonAdd.UseVisualStyleBackColor = true;
this.buttonAdd.Click += new System.EventHandler(this.buttonAdd_Click);
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(60, 25);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(101, 12);
this.label1.TabIndex = 3;
this.label1.Text = "你所选修的课程是";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(70, 299);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(113, 12);
this.label2.TabIndex = 4;
this.label2.Text = "你所要添加的课程是";
//
// textBoxAdd
//
this.textBoxAdd.Location = new System.Drawing.Point(75, 329);
this.textBoxAdd.Name = "textBoxAdd";
this.textBoxAdd.Size = new System.Drawing.Size(265, 21);
this.textBoxAdd.TabIndex = 5;
//
// listBox1
//
this.listBox1.FormattingEnabled = true;
this.listBox1.ItemHeight = 12;
this.listBox1.Items.AddRange(new object[] {
"高等数学",
"公共英语",
"邓小平理论",
"计算机基础",
"大学物理"});
this.listBox1.Location = new System.Drawing.Point(72, 52);
this.listBox1.Name = "listBox1";
this.listBox1.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended;
this.listBox1.Size = new System.Drawing.Size(268, 220);
this.listBox1.TabIndex = 6;
//
// FormListBox
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(516, 423);
this.Controls.Add(this.listBox1);
this.Controls.Add(this.textBoxAdd);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.Controls.Add(this.buttonAdd);
this.Controls.Add(this.buttonDeleteAll);
this.Controls.Add(this.buttonDelete);
this.Name = "FormListBox";
this.Text = "选修课程更改窗体";
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Button buttonDelete;
private System.Windows.Forms.Button buttonDeleteAll;
private System.Windows.Forms.Button buttonAdd;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.TextBox textBoxAdd;
private System.Windows.Forms.ListBox listBox1;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -