studentinfolistform.designer.cs
来自「一个不错的文档」· CS 代码 · 共 263 行
CS
263 行
namespace MySchoolPrj.MainForm
{
partial class StudentInfoListForm
{
/// <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.components = new System.ComponentModel.Container();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(StudentInfoListForm));
this.dgvTeacherInfo = new System.Windows.Forms.DataGridView();
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
this.删除ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.删除ToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
this.修改ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.gupSearch = new System.Windows.Forms.GroupBox();
this.label2 = new System.Windows.Forms.Label();
this.btnSearch = new System.Windows.Forms.Button();
this.txtCondition = new System.Windows.Forms.TextBox();
this.cmbCondition = new System.Windows.Forms.ComboBox();
this.label1 = new System.Windows.Forms.Label();
this.btnAdd = new System.Windows.Forms.Button();
this.btnUpdate = new System.Windows.Forms.Button();
this.btnDel = new System.Windows.Forms.Button();
this.btnClose = new System.Windows.Forms.Button();
((System.ComponentModel.ISupportInitialize)(this.dgvTeacherInfo)).BeginInit();
this.contextMenuStrip1.SuspendLayout();
this.gupSearch.SuspendLayout();
this.SuspendLayout();
//
// dgvTeacherInfo
//
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dgvTeacherInfo.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
this.dgvTeacherInfo.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvTeacherInfo.ContextMenuStrip = this.contextMenuStrip1;
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvTeacherInfo.DefaultCellStyle = dataGridViewCellStyle2;
this.dgvTeacherInfo.Location = new System.Drawing.Point(0, 0);
this.dgvTeacherInfo.Name = "dgvTeacherInfo";
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle3.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dgvTeacherInfo.RowHeadersDefaultCellStyle = dataGridViewCellStyle3;
this.dgvTeacherInfo.RowTemplate.Height = 23;
this.dgvTeacherInfo.Size = new System.Drawing.Size(765, 307);
this.dgvTeacherInfo.TabIndex = 1;
//
// contextMenuStrip1
//
this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.删除ToolStripMenuItem,
this.删除ToolStripMenuItem1,
this.修改ToolStripMenuItem});
this.contextMenuStrip1.Name = "contextMenuStrip1";
this.contextMenuStrip1.Size = new System.Drawing.Size(101, 70);
//
// 删除ToolStripMenuItem
//
this.删除ToolStripMenuItem.Name = "删除ToolStripMenuItem";
this.删除ToolStripMenuItem.Size = new System.Drawing.Size(100, 22);
this.删除ToolStripMenuItem.Text = "增加";
this.删除ToolStripMenuItem.Click += new System.EventHandler(this.btnAdd_Click);
//
// 删除ToolStripMenuItem1
//
this.删除ToolStripMenuItem1.Name = "删除ToolStripMenuItem1";
this.删除ToolStripMenuItem1.Size = new System.Drawing.Size(100, 22);
this.删除ToolStripMenuItem1.Text = "删除";
this.删除ToolStripMenuItem1.Click += new System.EventHandler(this.btnDel_Click);
//
// 修改ToolStripMenuItem
//
this.修改ToolStripMenuItem.Name = "修改ToolStripMenuItem";
this.修改ToolStripMenuItem.Size = new System.Drawing.Size(100, 22);
this.修改ToolStripMenuItem.Text = "修改";
this.修改ToolStripMenuItem.Click += new System.EventHandler(this.btnUpdate_Click);
//
// gupSearch
//
this.gupSearch.Controls.Add(this.label2);
this.gupSearch.Controls.Add(this.btnSearch);
this.gupSearch.Controls.Add(this.txtCondition);
this.gupSearch.Controls.Add(this.cmbCondition);
this.gupSearch.Controls.Add(this.label1);
this.gupSearch.Location = new System.Drawing.Point(0, 313);
this.gupSearch.Name = "gupSearch";
this.gupSearch.Size = new System.Drawing.Size(765, 81);
this.gupSearch.TabIndex = 2;
this.gupSearch.TabStop = false;
this.gupSearch.Text = "查询";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(463, 38);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(89, 12);
this.label2.TabIndex = 4;
this.label2.Text = "(支持模糊查询)";
//
// btnSearch
//
this.btnSearch.Location = new System.Drawing.Point(573, 32);
this.btnSearch.Name = "btnSearch";
this.btnSearch.Size = new System.Drawing.Size(75, 23);
this.btnSearch.TabIndex = 3;
this.btnSearch.Text = "查询";
this.btnSearch.UseVisualStyleBackColor = true;
this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click);
//
// txtCondition
//
this.txtCondition.Location = new System.Drawing.Point(293, 34);
this.txtCondition.Name = "txtCondition";
this.txtCondition.Size = new System.Drawing.Size(151, 21);
this.txtCondition.TabIndex = 2;
//
// cmbCondition
//
this.cmbCondition.FormattingEnabled = true;
this.cmbCondition.Location = new System.Drawing.Point(145, 35);
this.cmbCondition.Name = "cmbCondition";
this.cmbCondition.Size = new System.Drawing.Size(121, 20);
this.cmbCondition.TabIndex = 1;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(78, 37);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(65, 12);
this.label1.TabIndex = 0;
this.label1.Text = "查询条件:";
//
// btnAdd
//
this.btnAdd.Location = new System.Drawing.Point(321, 400);
this.btnAdd.Name = "btnAdd";
this.btnAdd.Size = new System.Drawing.Size(75, 23);
this.btnAdd.TabIndex = 3;
this.btnAdd.Text = "新增";
this.btnAdd.UseVisualStyleBackColor = true;
this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
//
// btnUpdate
//
this.btnUpdate.Location = new System.Drawing.Point(565, 400);
this.btnUpdate.Name = "btnUpdate";
this.btnUpdate.Size = new System.Drawing.Size(75, 23);
this.btnUpdate.TabIndex = 3;
this.btnUpdate.Text = "修改";
this.btnUpdate.UseVisualStyleBackColor = true;
this.btnUpdate.Click += new System.EventHandler(this.btnUpdate_Click);
//
// btnDel
//
this.btnDel.Location = new System.Drawing.Point(443, 400);
this.btnDel.Name = "btnDel";
this.btnDel.Size = new System.Drawing.Size(75, 23);
this.btnDel.TabIndex = 3;
this.btnDel.Text = "删除";
this.btnDel.UseVisualStyleBackColor = true;
this.btnDel.Click += new System.EventHandler(this.btnDel_Click);
//
// btnClose
//
this.btnClose.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.btnClose.Location = new System.Drawing.Point(687, 400);
this.btnClose.Name = "btnClose";
this.btnClose.Size = new System.Drawing.Size(75, 23);
this.btnClose.TabIndex = 3;
this.btnClose.Text = "退出";
this.btnClose.UseVisualStyleBackColor = true;
this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
//
// StudentInfoListForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.CancelButton = this.btnClose;
this.ClientSize = new System.Drawing.Size(767, 431);
this.Controls.Add(this.btnUpdate);
this.Controls.Add(this.btnClose);
this.Controls.Add(this.btnDel);
this.Controls.Add(this.dgvTeacherInfo);
this.Controls.Add(this.btnAdd);
this.Controls.Add(this.gupSearch);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.Name = "StudentInfoListForm";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "学生信息管理";
this.Load += new System.EventHandler(this.StudentInfoListForm_Load);
((System.ComponentModel.ISupportInitialize)(this.dgvTeacherInfo)).EndInit();
this.contextMenuStrip1.ResumeLayout(false);
this.gupSearch.ResumeLayout(false);
this.gupSearch.PerformLayout();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.DataGridView dgvTeacherInfo;
private System.Windows.Forms.GroupBox gupSearch;
private System.Windows.Forms.Button btnSearch;
private System.Windows.Forms.TextBox txtCondition;
private System.Windows.Forms.ComboBox cmbCondition;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Button btnAdd;
private System.Windows.Forms.Button btnUpdate;
private System.Windows.Forms.Button btnDel;
private System.Windows.Forms.Button btnClose;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
private System.Windows.Forms.ToolStripMenuItem 删除ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem 删除ToolStripMenuItem1;
private System.Windows.Forms.ToolStripMenuItem 修改ToolStripMenuItem;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?