📄 form1.designer.cs
字号:
namespace StudentTest
{
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.dgvStudent = new System.Windows.Forms.DataGridView();
this.SNO = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.SName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Age = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Address = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.textBox1 = new System.Windows.Forms.TextBox();
this.button1 = new System.Windows.Forms.Button();
((System.ComponentModel.ISupportInitialize)(this.dgvStudent)).BeginInit();
this.SuspendLayout();
//
// dgvStudent
//
this.dgvStudent.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvStudent.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.SNO,
this.SName,
this.Age,
this.Address});
this.dgvStudent.Location = new System.Drawing.Point(12, 47);
this.dgvStudent.Name = "dgvStudent";
this.dgvStudent.RowTemplate.Height = 23;
this.dgvStudent.Size = new System.Drawing.Size(539, 320);
this.dgvStudent.TabIndex = 0;
this.dgvStudent.RowValidating += new System.Windows.Forms.DataGridViewCellCancelEventHandler(this.dgvStudent_RowValidating);
this.dgvStudent.CellValidating += new System.Windows.Forms.DataGridViewCellValidatingEventHandler(this.dgvStudent_CellValidating);
this.dgvStudent.CellEndEdit += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvStudent_CellEndEdit);
//
// SNO
//
this.SNO.DataPropertyName = "SNO";
this.SNO.HeaderText = "学号";
this.SNO.Name = "SNO";
//
// SName
//
this.SName.DataPropertyName = "SName";
this.SName.HeaderText = "姓名";
this.SName.Name = "SName";
//
// Age
//
this.Age.DataPropertyName = "Age";
this.Age.HeaderText = "年龄";
this.Age.Name = "Age";
//
// Address
//
this.Address.DataPropertyName = "Address";
this.Address.HeaderText = "地址";
this.Address.Name = "Address";
//
// textBox1
//
this.textBox1.Location = new System.Drawing.Point(320, 14);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(127, 21);
this.textBox1.TabIndex = 1;
//
// button1
//
this.button1.Location = new System.Drawing.Point(475, 18);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(62, 23);
this.button1.TabIndex = 2;
this.button1.Text = "button1";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(563, 379);
this.Controls.Add(this.button1);
this.Controls.Add(this.textBox1);
this.Controls.Add(this.dgvStudent);
this.Name = "Form1";
this.Text = "Form1";
this.Load += new System.EventHandler(this.Form1_Load);
((System.ComponentModel.ISupportInitialize)(this.dgvStudent)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.DataGridView dgvStudent;
private System.Windows.Forms.DataGridViewTextBoxColumn SNO;
private System.Windows.Forms.DataGridViewTextBoxColumn SName;
private System.Windows.Forms.DataGridViewTextBoxColumn Age;
private System.Windows.Forms.DataGridViewTextBoxColumn Address;
private System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.Button button1;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -