📄 form3.cs
字号:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
namespace WindowsApplication3
{
/// <summary>
/// Form3 的摘要说明。
/// </summary>
public class Form3 : System.Windows.Forms.Form
{
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.CheckBox ckXb;
private System.Windows.Forms.CheckBox ckXm;
private System.Windows.Forms.RadioButton rb2;
private System.Windows.Forms.RadioButton rb1;
private System.Windows.Forms.ComboBox cbXXXs;
private System.Windows.Forms.ComboBox cbPycc;
private System.Windows.Forms.TextBox tbXm;
private System.Windows.Forms.Label lbl2;
private System.Windows.Forms.Label lbl4;
private System.Windows.Forms.Label lbl6;
private System.Windows.Forms.Label lbl1;
private System.Windows.Forms.Label lbl5;
private System.Windows.Forms.Label lbl3;
private System.Windows.Forms.Label lbl8;
private System.Windows.Forms.Label lbl12;
private System.Windows.Forms.Label lbl11;
private System.Windows.Forms.Label lbl7;
private System.Windows.Forms.Label lbl9;
private System.Windows.Forms.TextBox tbCsrq;
private System.Windows.Forms.TextBox tbXz;
private System.Windows.Forms.TextBox tbRxrq;
private System.Windows.Forms.TextBox tbByrq;
private System.Windows.Forms.TextBox tbZsbh;
private System.Windows.Forms.TextBox tbYxmc;
private System.Windows.Forms.TextBox tbZymc;
private System.Windows.Forms.Label label13;
private System.Windows.Forms.Label label14;
private System.Windows.Forms.CheckBox ckCsrq;
private System.Windows.Forms.CheckBox ckPycc;
private System.Windows.Forms.CheckBox ckYxmc;
private System.Windows.Forms.CheckBox ckXz;
private System.Windows.Forms.CheckBox ckZymc;
private System.Windows.Forms.CheckBox ckRxrq;
private System.Windows.Forms.CheckBox ckZsbh;
private System.Windows.Forms.GroupBox groupBox2;
private System.Windows.Forms.Label lblName;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.Label label8;
private System.Windows.Forms.Label label9;
private System.Windows.Forms.Label label10;
private System.Windows.Forms.Label label11;
private System.Windows.Forms.Label lblSex;
private System.Windows.Forms.Label lblBirthday;
private System.Windows.Forms.Label lblClass;
private System.Windows.Forms.Label lblDiploma;
private System.Windows.Forms.Label lblSchool;
private System.Windows.Forms.Label lblSystem;
private System.Windows.Forms.Label lblSpecialty;
private System.Windows.Forms.Label lblEnrollment;
private System.Windows.Forms.Label lblGraduation;
private System.Windows.Forms.Label lblDiplomaID;
private System.Windows.Forms.Panel Panel1;
private System.Windows.Forms.Panel Panel2;
private System.Windows.Forms.ListView lvInput;
private System.Windows.Forms.ColumnHeader 姓名;
private System.Windows.Forms.ColumnHeader 性别;
private System.Windows.Forms.ColumnHeader 出生日期;
private System.Windows.Forms.ColumnHeader 层次;
private System.Windows.Forms.ColumnHeader 学历类型;
private System.Windows.Forms.ColumnHeader 学制;
private System.Windows.Forms.ColumnHeader 院校名称;
private System.Windows.Forms.ColumnHeader 专业名称;
private System.Windows.Forms.ColumnHeader 毕结业结论;
private System.Windows.Forms.ColumnHeader 入学日期;
private System.Windows.Forms.ColumnHeader 毕业时间;
private System.Windows.Forms.ColumnHeader 证书编号;
private System.Windows.Forms.Button button3;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.Button button1;
public static bool stuState = true;
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.Container components = null;
public Form3()
{
//
// Windows 窗体设计器支持所必需的
//
InitializeComponent();
//
// TODO: 在 InitializeComponent 调用后添加任何构造函数代码
//
}
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#region Windows 窗体设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要使用代码编辑器修改
/// 此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.Panel1 = new System.Windows.Forms.Panel();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.lblName = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.label7 = new System.Windows.Forms.Label();
this.label8 = new System.Windows.Forms.Label();
this.label9 = new System.Windows.Forms.Label();
this.label10 = new System.Windows.Forms.Label();
this.label11 = new System.Windows.Forms.Label();
this.lblSex = new System.Windows.Forms.Label();
this.lblBirthday = new System.Windows.Forms.Label();
this.lblClass = new System.Windows.Forms.Label();
this.lblDiploma = new System.Windows.Forms.Label();
this.lblSchool = new System.Windows.Forms.Label();
this.lblSystem = new System.Windows.Forms.Label();
this.lblSpecialty = new System.Windows.Forms.Label();
this.lblEnrollment = new System.Windows.Forms.Label();
this.lblGraduation = new System.Windows.Forms.Label();
this.lblDiplomaID = new System.Windows.Forms.Label();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.ckXb = new System.Windows.Forms.CheckBox();
this.ckXm = new System.Windows.Forms.CheckBox();
this.rb2 = new System.Windows.Forms.RadioButton();
this.rb1 = new System.Windows.Forms.RadioButton();
this.cbXXXs = new System.Windows.Forms.ComboBox();
this.cbPycc = new System.Windows.Forms.ComboBox();
this.tbXm = new System.Windows.Forms.TextBox();
this.lbl2 = new System.Windows.Forms.Label();
this.lbl4 = new System.Windows.Forms.Label();
this.lbl6 = new System.Windows.Forms.Label();
this.lbl1 = new System.Windows.Forms.Label();
this.lbl5 = new System.Windows.Forms.Label();
this.lbl3 = new System.Windows.Forms.Label();
this.lbl8 = new System.Windows.Forms.Label();
this.lbl12 = new System.Windows.Forms.Label();
this.lbl11 = new System.Windows.Forms.Label();
this.lbl7 = new System.Windows.Forms.Label();
this.lbl9 = new System.Windows.Forms.Label();
this.tbCsrq = new System.Windows.Forms.TextBox();
this.tbXz = new System.Windows.Forms.TextBox();
this.tbRxrq = new System.Windows.Forms.TextBox();
this.tbByrq = new System.Windows.Forms.TextBox();
this.tbZsbh = new System.Windows.Forms.TextBox();
this.tbYxmc = new System.Windows.Forms.TextBox();
this.tbZymc = new System.Windows.Forms.TextBox();
this.label13 = new System.Windows.Forms.Label();
this.label14 = new System.Windows.Forms.Label();
this.ckCsrq = new System.Windows.Forms.CheckBox();
this.ckPycc = new System.Windows.Forms.CheckBox();
this.ckYxmc = new System.Windows.Forms.CheckBox();
this.ckXz = new System.Windows.Forms.CheckBox();
this.ckZymc = new System.Windows.Forms.CheckBox();
this.ckRxrq = new System.Windows.Forms.CheckBox();
this.ckZsbh = new System.Windows.Forms.CheckBox();
this.Panel2 = new System.Windows.Forms.Panel();
this.lvInput = new System.Windows.Forms.ListView();
this.姓名 = new System.Windows.Forms.ColumnHeader();
this.性别 = new System.Windows.Forms.ColumnHeader();
this.出生日期 = new System.Windows.Forms.ColumnHeader();
this.层次 = new System.Windows.Forms.ColumnHeader();
this.学历类型 = new System.Windows.Forms.ColumnHeader();
this.学制 = new System.Windows.Forms.ColumnHeader();
this.院校名称 = new System.Windows.Forms.ColumnHeader();
this.专业名称 = new System.Windows.Forms.ColumnHeader();
this.毕结业结论 = new System.Windows.Forms.ColumnHeader();
this.入学日期 = new System.Windows.Forms.ColumnHeader();
this.毕业时间 = new System.Windows.Forms.ColumnHeader();
this.证书编号 = new System.Windows.Forms.ColumnHeader();
this.button3 = new System.Windows.Forms.Button();
this.button2 = new System.Windows.Forms.Button();
this.button1 = new System.Windows.Forms.Button();
this.Panel1.SuspendLayout();
this.groupBox2.SuspendLayout();
this.groupBox1.SuspendLayout();
this.Panel2.SuspendLayout();
this.SuspendLayout();
//
// Panel1
//
this.Panel1.Controls.Add(this.groupBox2);
this.Panel1.Controls.Add(this.groupBox1);
this.Panel1.Location = new System.Drawing.Point(8, 8);
this.Panel1.Name = "Panel1";
this.Panel1.Size = new System.Drawing.Size(576, 320);
this.Panel1.TabIndex = 0;
//
// groupBox2
//
this.groupBox2.Controls.Add(this.lblName);
this.groupBox2.Controls.Add(this.label1);
this.groupBox2.Controls.Add(this.label2);
this.groupBox2.Controls.Add(this.label3);
this.groupBox2.Controls.Add(this.label4);
this.groupBox2.Controls.Add(this.label5);
this.groupBox2.Controls.Add(this.label6);
this.groupBox2.Controls.Add(this.label7);
this.groupBox2.Controls.Add(this.label8);
this.groupBox2.Controls.Add(this.label9);
this.groupBox2.Controls.Add(this.label10);
this.groupBox2.Controls.Add(this.label11);
this.groupBox2.Controls.Add(this.lblSex);
this.groupBox2.Controls.Add(this.lblBirthday);
this.groupBox2.Controls.Add(this.lblClass);
this.groupBox2.Controls.Add(this.lblDiploma);
this.groupBox2.Controls.Add(this.lblSchool);
this.groupBox2.Controls.Add(this.lblSystem);
this.groupBox2.Controls.Add(this.lblSpecialty);
this.groupBox2.Controls.Add(this.lblEnrollment);
this.groupBox2.Controls.Add(this.lblGraduation);
this.groupBox2.Controls.Add(this.lblDiplomaID);
this.groupBox2.ForeColor = System.Drawing.Color.Red;
this.groupBox2.Location = new System.Drawing.Point(296, 16);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(264, 288);
this.groupBox2.TabIndex = 9;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "详细信息:";
//
// lblName
//
this.lblName.ForeColor = System.Drawing.Color.Black;
this.lblName.Location = new System.Drawing.Point(96, 24);
this.lblName.Name = "lblName";
this.lblName.Size = new System.Drawing.Size(120, 16);
this.lblName.TabIndex = 1;
//
// label1
//
this.label1.ForeColor = System.Drawing.SystemColors.WindowText;
this.label1.Location = new System.Drawing.Point(24, 24);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(40, 16);
this.label1.TabIndex = 0;
this.label1.Text = "姓名:";
//
// label2
//
this.label2.ForeColor = System.Drawing.SystemColors.WindowText;
this.label2.Location = new System.Drawing.Point(24, 48);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(48, 16);
this.label2.TabIndex = 0;
this.label2.Text = "性别:";
//
// label3
//
this.label3.ForeColor = System.Drawing.SystemColors.WindowText;
this.label3.Location = new System.Drawing.Point(16, 72);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(64, 16);
this.label3.TabIndex = 0;
this.label3.Text = "出生年月:";
//
// label4
//
this.label4.ForeColor = System.Drawing.SystemColors.WindowText;
this.label4.Location = new System.Drawing.Point(24, 96);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(40, 16);
this.label4.TabIndex = 0;
this.label4.Text = "层次:";
//
// label5
//
this.label5.ForeColor = System.Drawing.SystemColors.WindowText;
this.label5.Location = new System.Drawing.Point(16, 120);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(64, 16);
this.label5.TabIndex = 0;
this.label5.Text = "学历类型:";
//
// label6
//
this.label6.ForeColor = System.Drawing.SystemColors.WindowText;
this.label6.Location = new System.Drawing.Point(16, 144);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(64, 16);
this.label6.TabIndex = 0;
this.label6.Text = "院校名称:";
//
// label7
//
this.label7.ForeColor = System.Drawing.SystemColors.WindowText;
this.label7.Location = new System.Drawing.Point(24, 168);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(40, 16);
this.label7.TabIndex = 0;
this.label7.Text = "学制:";
//
// label8
//
this.label8.ForeColor = System.Drawing.SystemColors.WindowText;
this.label8.Location = new System.Drawing.Point(16, 192);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(64, 16);
this.label8.TabIndex = 0;
this.label8.Text = "专业名称:";
//
// label9
//
this.label9.ForeColor = System.Drawing.SystemColors.WindowText;
this.label9.Location = new System.Drawing.Point(16, 216);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(64, 16);
this.label9.TabIndex = 0;
this.label9.Text = "入学时间:";
//
// label10
//
this.label10.ForeColor = System.Drawing.SystemColors.WindowText;
this.label10.Location = new System.Drawing.Point(16, 240);
this.label10.Name = "label10";
this.label10.Size = new System.Drawing.Size(64, 16);
this.label10.TabIndex = 0;
this.label10.Text = "毕业时间:";
//
// label11
//
this.label11.ForeColor = System.Drawing.SystemColors.WindowText;
this.label11.Location = new System.Drawing.Point(16, 264);
this.label11.Name = "label11";
this.label11.Size = new System.Drawing.Size(64, 16);
this.label11.TabIndex = 0;
this.label11.Text = "证书编号:";
//
// lblSex
//
this.lblSex.ForeColor = System.Drawing.Color.Black;
this.lblSex.Location = new System.Drawing.Point(96, 48);
this.lblSex.Name = "lblSex";
this.lblSex.Size = new System.Drawing.Size(64, 16);
this.lblSex.TabIndex = 1;
//
// lblBirthday
//
this.lblBirthday.ForeColor = System.Drawing.Color.Black;
this.lblBirthday.Location = new System.Drawing.Point(96, 72);
this.lblBirthday.Name = "lblBirthday";
this.lblBirthday.Size = new System.Drawing.Size(120, 16);
this.lblBirthday.TabIndex = 1;
//
// lblClass
//
this.lblClass.ForeColor = System.Drawing.Color.Black;
this.lblClass.Location = new System.Drawing.Point(96, 96);
this.lblClass.Name = "lblClass";
this.lblClass.Size = new System.Drawing.Size(120, 16);
this.lblClass.TabIndex = 1;
//
// lblDiploma
//
this.lblDiploma.ForeColor = System.Drawing.Color.Black;
this.lblDiploma.Location = new System.Drawing.Point(96, 120);
this.lblDiploma.Name = "lblDiploma";
this.lblDiploma.Size = new System.Drawing.Size(120, 16);
this.lblDiploma.TabIndex = 1;
//
// lblSchool
//
this.lblSchool.ForeColor = System.Drawing.Color.Black;
this.lblSchool.Location = new System.Drawing.Point(96, 144);
this.lblSchool.Name = "lblSchool";
this.lblSchool.Size = new System.Drawing.Size(120, 16);
this.lblSchool.TabIndex = 1;
//
// lblSystem
//
this.lblSystem.ForeColor = System.Drawing.Color.Black;
this.lblSystem.Location = new System.Drawing.Point(88, 168);
this.lblSystem.Name = "lblSystem";
this.lblSystem.Size = new System.Drawing.Size(120, 16);
this.lblSystem.TabIndex = 1;
//
// lblSpecialty
//
this.lblSpecialty.ForeColor = System.Drawing.Color.Black;
this.lblSpecialty.Location = new System.Drawing.Point(88, 192);
this.lblSpecialty.Name = "lblSpecialty";
this.lblSpecialty.Size = new System.Drawing.Size(120, 16);
this.lblSpecialty.TabIndex = 1;
//
// lblEnrollment
//
this.lblEnrollment.ForeColor = System.Drawing.Color.Black;
this.lblEnrollment.Location = new System.Drawing.Point(88, 216);
this.lblEnrollment.Name = "lblEnrollment";
this.lblEnrollment.Size = new System.Drawing.Size(120, 16);
this.lblEnrollment.TabIndex = 1;
//
// lblGraduation
//
this.lblGraduation.ForeColor = System.Drawing.Color.Black;
this.lblGraduation.Location = new System.Drawing.Point(88, 240);
this.lblGraduation.Name = "lblGraduation";
this.lblGraduation.Size = new System.Drawing.Size(120, 16);
this.lblGraduation.TabIndex = 1;
//
// lblDiplomaID
//
this.lblDiplomaID.ForeColor = System.Drawing.Color.Black;
this.lblDiplomaID.Location = new System.Drawing.Point(88, 264);
this.lblDiplomaID.Name = "lblDiplomaID";
this.lblDiplomaID.Size = new System.Drawing.Size(120, 16);
this.lblDiplomaID.TabIndex = 1;
//
// groupBox1
//
this.groupBox1.Controls.Add(this.ckXb);
this.groupBox1.Controls.Add(this.ckXm);
this.groupBox1.Controls.Add(this.rb2);
this.groupBox1.Controls.Add(this.rb1);
this.groupBox1.Controls.Add(this.cbXXXs);
this.groupBox1.Controls.Add(this.cbPycc);
this.groupBox1.Controls.Add(this.tbXm);
this.groupBox1.Controls.Add(this.lbl2);
this.groupBox1.Controls.Add(this.lbl4);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -