📄 inputdata.cs
字号:
// lblClass
//
this.lblClass.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.lblClass.ForeColor = System.Drawing.Color.Black;
this.lblClass.Location = new System.Drawing.Point(88, 115);
this.lblClass.Name = "lblClass";
this.lblClass.Size = new System.Drawing.Size(120, 16);
this.lblClass.TabIndex = 1;
this.lblClass.Click += new System.EventHandler(this.lblClass_Click);
//
// lblDiploma
//
this.lblDiploma.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.lblDiploma.ForeColor = System.Drawing.Color.Black;
this.lblDiploma.Location = new System.Drawing.Point(88, 147);
this.lblDiploma.Name = "lblDiploma";
this.lblDiploma.Size = new System.Drawing.Size(120, 16);
this.lblDiploma.TabIndex = 1;
//
// lblSchool
//
this.lblSchool.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.lblSchool.ForeColor = System.Drawing.Color.Black;
this.lblSchool.Location = new System.Drawing.Point(88, 179);
this.lblSchool.Name = "lblSchool";
this.lblSchool.Size = new System.Drawing.Size(120, 16);
this.lblSchool.TabIndex = 1;
this.lblSchool.Click += new System.EventHandler(this.lblSchool_Click);
//
// lblSystem
//
this.lblSystem.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.lblSystem.ForeColor = System.Drawing.Color.Black;
this.lblSystem.Location = new System.Drawing.Point(88, 211);
this.lblSystem.Name = "lblSystem";
this.lblSystem.Size = new System.Drawing.Size(120, 16);
this.lblSystem.TabIndex = 1;
this.lblSystem.Click += new System.EventHandler(this.lblSystem_Click);
//
// lblSpecialty
//
this.lblSpecialty.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.lblSpecialty.ForeColor = System.Drawing.Color.Black;
this.lblSpecialty.Location = new System.Drawing.Point(88, 243);
this.lblSpecialty.Name = "lblSpecialty";
this.lblSpecialty.Size = new System.Drawing.Size(120, 16);
this.lblSpecialty.TabIndex = 1;
this.lblSpecialty.Click += new System.EventHandler(this.lblSpecialty_Click);
//
// lblEnrollment
//
this.lblEnrollment.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.lblEnrollment.ForeColor = System.Drawing.Color.Black;
this.lblEnrollment.Location = new System.Drawing.Point(88, 280);
this.lblEnrollment.Name = "lblEnrollment";
this.lblEnrollment.Size = new System.Drawing.Size(120, 16);
this.lblEnrollment.TabIndex = 1;
this.lblEnrollment.Click += new System.EventHandler(this.lblEnrollment_Click);
//
// lblGraduation
//
this.lblGraduation.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.lblGraduation.ForeColor = System.Drawing.Color.Black;
this.lblGraduation.Location = new System.Drawing.Point(88, 312);
this.lblGraduation.Name = "lblGraduation";
this.lblGraduation.Size = new System.Drawing.Size(120, 16);
this.lblGraduation.TabIndex = 1;
this.lblGraduation.Click += new System.EventHandler(this.lblGraduation_Click);
//
// lblDiplomaID
//
this.lblDiplomaID.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.lblDiplomaID.ForeColor = System.Drawing.Color.Black;
this.lblDiplomaID.Location = new System.Drawing.Point(88, 344);
this.lblDiplomaID.Name = "lblDiplomaID";
this.lblDiplomaID.Size = new System.Drawing.Size(120, 16);
this.lblDiplomaID.TabIndex = 1;
this.lblDiplomaID.Click += new System.EventHandler(this.lblDiplomaID_Click);
//
// Panel2
//
this.Panel2.Controls.Add(this.lvInput);
this.Panel2.Location = new System.Drawing.Point(16, 0);
this.Panel2.Name = "Panel2";
this.Panel2.Size = new System.Drawing.Size(576, 392);
this.Panel2.TabIndex = 16;
//
// lvInput
//
this.lvInput.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.lvInput.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
this.序号,
this.姓名,
this.性别,
this.出生日期,
this.层次,
this.学历类型,
this.学制,
this.院校名称,
this.专业名称,
this.毕结业结论,
this.入学日期,
this.毕业时间,
this.证书编号});
this.lvInput.FullRowSelect = true;
this.lvInput.Location = new System.Drawing.Point(8, 8);
this.lvInput.Name = "lvInput";
this.lvInput.Size = new System.Drawing.Size(560, 288);
this.lvInput.TabIndex = 17;
this.lvInput.View = System.Windows.Forms.View.Details;
this.lvInput.DoubleClick += new System.EventHandler(this.lvInput_DoubleClick);
//
// 序号
//
this.序号.Text = "序号";
this.序号.Width = 40;
//
// 姓名
//
this.姓名.Text = "姓名";
this.姓名.Width = 40;
//
// 性别
//
this.性别.Text = "性别";
this.性别.Width = 40;
//
// 出生日期
//
this.出生日期.Text = "出生日期";
//
// 层次
//
this.层次.Text = "层次";
this.层次.Width = 40;
//
// 学历类型
//
this.学历类型.Text = "学历类型";
this.学历类型.Width = 61;
//
// 学制
//
this.学制.Text = "学制";
this.学制.Width = 71;
//
// 院校名称
//
this.院校名称.Text = "院校名称";
//
// 专业名称
//
this.专业名称.Text = "专业名称";
//
// 毕结业结论
//
this.毕结业结论.Text = "毕结业结论";
//
// 入学日期
//
this.入学日期.Text = "入学日期";
//
// 毕业时间
//
this.毕业时间.Text = "毕业时间";
//
// 证书编号
//
this.证书编号.Text = "证书编号";
//
// pictureBox1
//
this.pictureBox1.Cursor = System.Windows.Forms.Cursors.Hand;
this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
this.pictureBox1.Location = new System.Drawing.Point(296, 408);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(56, 26);
this.pictureBox1.TabIndex = 20;
this.pictureBox1.TabStop = false;
this.pictureBox1.Click += new System.EventHandler(this.pictureBox1_Click);
this.pictureBox1.MouseEnter += new System.EventHandler(this.pictureBox1_MouseEnter);
this.pictureBox1.MouseLeave += new System.EventHandler(this.pictureBox1_MouseLeave);
//
// pictureBox2
//
this.pictureBox2.Cursor = System.Windows.Forms.Cursors.Hand;
this.pictureBox2.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox2.Image")));
this.pictureBox2.Location = new System.Drawing.Point(360, 408);
this.pictureBox2.Name = "pictureBox2";
this.pictureBox2.Size = new System.Drawing.Size(56, 26);
this.pictureBox2.TabIndex = 21;
this.pictureBox2.TabStop = false;
this.pictureBox2.Click += new System.EventHandler(this.pictureBox2_Click);
this.pictureBox2.MouseEnter += new System.EventHandler(this.pictureBox2_MouseEnter);
this.pictureBox2.MouseLeave += new System.EventHandler(this.pictureBox2_MouseLeave);
//
// pictureBox3
//
this.pictureBox3.Cursor = System.Windows.Forms.Cursors.Hand;
this.pictureBox3.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox3.Image")));
this.pictureBox3.Location = new System.Drawing.Point(424, 408);
this.pictureBox3.Name = "pictureBox3";
this.pictureBox3.Size = new System.Drawing.Size(56, 26);
this.pictureBox3.TabIndex = 22;
this.pictureBox3.TabStop = false;
this.pictureBox3.Click += new System.EventHandler(this.pictureBox3_Click);
this.pictureBox3.MouseEnter += new System.EventHandler(this.pictureBox3_MouseEnter);
this.pictureBox3.MouseLeave += new System.EventHandler(this.pictureBox3_MouseLeave);
//
// pictureBox4
//
this.pictureBox4.Cursor = System.Windows.Forms.Cursors.Hand;
this.pictureBox4.Enabled = false;
this.pictureBox4.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox4.Image")));
this.pictureBox4.Location = new System.Drawing.Point(488, 408);
this.pictureBox4.Name = "pictureBox4";
this.pictureBox4.Size = new System.Drawing.Size(99, 26);
this.pictureBox4.TabIndex = 23;
this.pictureBox4.TabStop = false;
this.pictureBox4.Click += new System.EventHandler(this.pictureBox4_Click);
this.pictureBox4.MouseEnter += new System.EventHandler(this.pictureBox4_MouseEnter);
this.pictureBox4.MouseLeave += new System.EventHandler(this.pictureBox4_MouseLeave);
//
// InputData
//
this.BackColor = System.Drawing.SystemColors.ActiveCaptionText;
this.Controls.Add(this.pictureBox4);
this.Controls.Add(this.pictureBox3);
this.Controls.Add(this.pictureBox2);
this.Controls.Add(this.pictureBox1);
this.Controls.Add(this.Panel1);
this.Controls.Add(this.Panel2);
this.Name = "InputData";
this.Size = new System.Drawing.Size(600, 450);
this.Load += new System.EventHandler(this.InputData_Load);
this.Panel1.ResumeLayout(false);
this.groupBox1.ResumeLayout(false);
this.groupBox2.ResumeLayout(false);
this.Panel2.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
#region 返回数据给People
private string GetXm( )
{
if( ckXm.Checked = true && tbXm.Text.Trim( ).Length != 0 )
{
return tbXm.Text.Trim( );
}
else
{
return "";
}
}
private string GetXb( )
{
if ( ckXb.Checked == true )
{
return rb1.Checked ? "男" : "女";
}
else
{
return "";
}
}
private string GetCsrq( )
{
if ( ckCsrq.Checked == true )
{
return tbBirth.Text.Trim( );
}
else
{
return "";
}
}
private string GetPycc( )
{
if ( ckPycc.Checked == true && cbPycc.Text != "请选择或输入新项" )
{
return cbPycc.Text.Trim( );
}
else
{
return "";
}
}
private string GetXz( )
{
if ( ckXz.Checked == true && tbXz.Text.Trim( ).Length != 0 )
{
return tbXz.Text.Trim( );
}
else
{
return "";
}
}
private string GetYxmc( )
{
if ( ckYxmc.Checked == true && tbYxmc.Text.Trim( ).Length != 0 )
{
return tbYxmc.Text.Trim( );
}
else
{
return "";
}
}
private string GetZymc( )
{
if ( ckZymc.Checked == true && tbZymc.Text.Trim( ).Length != 0 )
{
return tbZymc.Text.Trim( );
}
else
{
return "";
}
}
private string GetBjyjl( )
{
// if ( ckByjl.Checked == true && tbBjyjl.Text.Trim( ).Length != 0 )
// {
// return tbBjyjl.Text.Trim( );
// }
// else
// {
return "";
// }
}
private string GetRxrq( )
{
if ( ckRxrq.Checked == true )
{
return TimeChange.turnTime( dtRxrq.Value );
}
else
{
return "";
}
}
private string GetZsbh( )
{
if ( ckZsbh.Checked == true && tbZsbh.Text.Trim( ).Length != 0 )
{
return tbZsbh.Text.Trim( );
}
else
{
return "";
}
}
#endregion
#region 清空Lable
private void ClearLable( )
{
lblName.Text = "";
lblSex.Text = "";
lblBirthday.Text = "";
lblClass.Text = "";
lblDiploma.Text = "";
lblSchool.Text = "";
lblSystem.Text = "";
lblSpecialty.Text = "";
lblEnrollment.Text = "";
lblGraduation.Text = "";
lblDiplomaID.Text = "";
}
#endregion
private bool isExist( )
{
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -