📄 frm_yw_sy.cs
字号:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using Jinrm.Data;
using GzglClient.BLL;
namespace GzglClient.Froms
{
/// <summary>
/// frm_YW_SY 的摘要说明。
/// </summary>
public class frm_YW_SY : System.Windows.Forms.Form
{
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Button ChoosePerson;
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.Container components = null;
private System.Windows.Forms.Button btnPersonEdit;
private System.Windows.Forms.Button btnCanel;
private System.Windows.Forms.Button btnAdd;
private System.Windows.Forms.Button btnDel;
private System.Windows.Forms.Button btnUpdate;
private System.Windows.Forms.TextBox PersonName;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.TextBox Name1;
private System.Windows.Forms.TextBox IDCard;
private System.Windows.Forms.Label IDCard111;
private System.Windows.Forms.Label label13;
private System.Windows.Forms.TextBox Birth;
private System.Windows.Forms.TextBox Sex;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.TextBox textBox2;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.TextBox textBox3;
private System.Windows.Forms.TextBox textBox4;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.Label label8;
private System.Windows.Forms.Label label9;
private System.Windows.Forms.TextBox textBox5;
private System.Windows.Forms.Label label10;
private System.Windows.Forms.TextBox textBox6;
private System.Windows.Forms.TextBox textBox7;
private System.Windows.Forms.TextBox textBox8;
private System.Windows.Forms.Label label11;
private System.Windows.Forms.Label label12;
private System.Windows.Forms.TextBox textBox9;
private System.Windows.Forms.TextBox textBox10;
private System.Windows.Forms.Label label14;
private System.Windows.Forms.Label label15;
private System.Windows.Forms.TextBox textBox11;
private System.Windows.Forms.TextBox textBox12;
private System.Windows.Forms.Label label16;
private System.Windows.Forms.Label label17;
private System.Windows.Forms.TextBox textBox13;
private System.Windows.Forms.TextBox textBox14;
private System.Windows.Forms.Label label18;
private System.Windows.Forms.Label label19;
private System.Windows.Forms.Label label20;
private System.Windows.Forms.ComboBox CBIsXNDJ;
private System.Windows.Forms.ComboBox CBIsTB;
private System.Windows.Forms.Label label21;
private System.Windows.Forms.TextBox textBox15;
private System.Windows.Forms.GroupBox GBRZ;
private System.Windows.Forms.GroupBox GBXL;
private System.Windows.Forms.Label label22;
private System.Windows.Forms.TextBox Description;
private System.Windows.Forms.GroupBox groupBox2;
private System.Windows.Forms.ComboBox comboBox1;
private System.Windows.Forms.Label label23;
private System.Windows.Forms.TextBox textBox16;
private System.Windows.Forms.Label label24;
private System.Windows.Forms.GroupBox groupBox3;
private System.Windows.Forms.Label label25;
private System.Windows.Forms.TextBox textBox17;
private System.Windows.Forms.Label label26;
private System.Windows.Forms.ComboBox comboBox2;
private DoAccess conn = new DoAccess();
public string YWItemID = "";
public string FuncType = "";
private string PersonId = "";
public frm_YW_SY()
{
//
// 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.groupBox1 = new System.Windows.Forms.GroupBox();
this.Description = new System.Windows.Forms.TextBox();
this.CBIsXNDJ = new System.Windows.Forms.ComboBox();
this.label20 = new System.Windows.Forms.Label();
this.CBIsTB = new System.Windows.Forms.ComboBox();
this.label2 = new System.Windows.Forms.Label();
this.GBXL = new System.Windows.Forms.GroupBox();
this.label9 = new System.Windows.Forms.Label();
this.textBox5 = new System.Windows.Forms.TextBox();
this.textBox1 = new System.Windows.Forms.TextBox();
this.textBox2 = new System.Windows.Forms.TextBox();
this.label4 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.textBox3 = new System.Windows.Forms.TextBox();
this.textBox4 = new System.Windows.Forms.TextBox();
this.label7 = new System.Windows.Forms.Label();
this.label8 = new System.Windows.Forms.Label();
this.Name1 = new System.Windows.Forms.TextBox();
this.IDCard = new System.Windows.Forms.TextBox();
this.IDCard111 = new System.Windows.Forms.Label();
this.label13 = new System.Windows.Forms.Label();
this.Birth = new System.Windows.Forms.TextBox();
this.Sex = new System.Windows.Forms.TextBox();
this.label5 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.GBRZ = new System.Windows.Forms.GroupBox();
this.label21 = new System.Windows.Forms.Label();
this.textBox15 = new System.Windows.Forms.TextBox();
this.label10 = new System.Windows.Forms.Label();
this.textBox6 = new System.Windows.Forms.TextBox();
this.textBox7 = new System.Windows.Forms.TextBox();
this.textBox8 = new System.Windows.Forms.TextBox();
this.label11 = new System.Windows.Forms.Label();
this.label12 = new System.Windows.Forms.Label();
this.textBox9 = new System.Windows.Forms.TextBox();
this.textBox10 = new System.Windows.Forms.TextBox();
this.label14 = new System.Windows.Forms.Label();
this.label15 = new System.Windows.Forms.Label();
this.textBox11 = new System.Windows.Forms.TextBox();
this.textBox12 = new System.Windows.Forms.TextBox();
this.label16 = new System.Windows.Forms.Label();
this.label17 = new System.Windows.Forms.Label();
this.textBox13 = new System.Windows.Forms.TextBox();
this.textBox14 = new System.Windows.Forms.TextBox();
this.label18 = new System.Windows.Forms.Label();
this.label19 = new System.Windows.Forms.Label();
this.label22 = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
this.ChoosePerson = new System.Windows.Forms.Button();
this.btnPersonEdit = new System.Windows.Forms.Button();
this.btnAdd = new System.Windows.Forms.Button();
this.btnUpdate = new System.Windows.Forms.Button();
this.btnDel = new System.Windows.Forms.Button();
this.btnCanel = new System.Windows.Forms.Button();
this.PersonName = new System.Windows.Forms.TextBox();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.label24 = new System.Windows.Forms.Label();
this.textBox16 = new System.Windows.Forms.TextBox();
this.comboBox1 = new System.Windows.Forms.ComboBox();
this.label23 = new System.Windows.Forms.Label();
this.groupBox3 = new System.Windows.Forms.GroupBox();
this.comboBox2 = new System.Windows.Forms.ComboBox();
this.label25 = new System.Windows.Forms.Label();
this.textBox17 = new System.Windows.Forms.TextBox();
this.label26 = new System.Windows.Forms.Label();
this.groupBox1.SuspendLayout();
this.GBXL.SuspendLayout();
this.GBRZ.SuspendLayout();
this.groupBox2.SuspendLayout();
this.groupBox3.SuspendLayout();
this.SuspendLayout();
//
// groupBox1
//
this.groupBox1.Controls.Add(this.Description);
this.groupBox1.Controls.Add(this.CBIsXNDJ);
this.groupBox1.Controls.Add(this.label20);
this.groupBox1.Controls.Add(this.CBIsTB);
this.groupBox1.Controls.Add(this.label2);
this.groupBox1.Controls.Add(this.GBXL);
this.groupBox1.Controls.Add(this.GBRZ);
this.groupBox1.Controls.Add(this.label22);
this.groupBox1.Location = new System.Drawing.Point(8, 40);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(624, 248);
this.groupBox1.TabIndex = 0;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "业务提交信息";
//
// Description
//
this.Description.Location = new System.Drawing.Point(104, 216);
this.Description.Name = "Description";
this.Description.Size = new System.Drawing.Size(472, 21);
this.Description.TabIndex = 66;
this.Description.Text = "";
//
// CBIsXNDJ
//
this.CBIsXNDJ.Items.AddRange(new object[] {
"否",
"是"});
this.CBIsXNDJ.Location = new System.Drawing.Point(344, 24);
this.CBIsXNDJ.Name = "CBIsXNDJ";
this.CBIsXNDJ.Size = new System.Drawing.Size(120, 20);
this.CBIsXNDJ.TabIndex = 64;
this.CBIsXNDJ.Tag = "是";
this.CBIsXNDJ.Visible = false;
//
// label20
//
this.label20.Location = new System.Drawing.Point(248, 32);
this.label20.Name = "label20";
this.label20.Size = new System.Drawing.Size(96, 16);
this.label20.TabIndex = 65;
this.label20.Text = "是否虚拟定级:";
this.label20.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.label20.Visible = false;
//
// CBIsTB
//
this.CBIsTB.Items.AddRange(new object[] {
"否",
"是"});
this.CBIsTB.Location = new System.Drawing.Point(112, 24);
this.CBIsTB.Name = "CBIsTB";
this.CBIsTB.Size = new System.Drawing.Size(120, 20);
this.CBIsTB.TabIndex = 0;
this.CBIsTB.Tag = "是";
this.CBIsTB.SelectedIndexChanged += new System.EventHandler(this.CBIsTB_SelectedIndexChanged);
//
// label2
//
this.label2.Location = new System.Drawing.Point(16, 32);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(96, 16);
this.label2.TabIndex = 46;
this.label2.Text = "是否特殊待遇:";
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// GBXL
//
this.GBXL.Controls.Add(this.label9);
this.GBXL.Controls.Add(this.textBox5);
this.GBXL.Controls.Add(this.textBox1);
this.GBXL.Controls.Add(this.textBox2);
this.GBXL.Controls.Add(this.label4);
this.GBXL.Controls.Add(this.label6);
this.GBXL.Controls.Add(this.textBox3);
this.GBXL.Controls.Add(this.textBox4);
this.GBXL.Controls.Add(this.label7);
this.GBXL.Controls.Add(this.label8);
this.GBXL.Controls.Add(this.Name1);
this.GBXL.Controls.Add(this.IDCard);
this.GBXL.Controls.Add(this.IDCard111);
this.GBXL.Controls.Add(this.label13);
this.GBXL.Controls.Add(this.Birth);
this.GBXL.Controls.Add(this.Sex);
this.GBXL.Controls.Add(this.label5);
this.GBXL.Controls.Add(this.label3);
this.GBXL.Location = new System.Drawing.Point(16, 56);
this.GBXL.Name = "GBXL";
this.GBXL.Size = new System.Drawing.Size(592, 152);
this.GBXL.TabIndex = 47;
this.GBXL.TabStop = false;
this.GBXL.Text = "最高学历";
//
// label9
//
this.label9.Location = new System.Drawing.Point(8, 120);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(128, 23);
this.label9.TabIndex = 61;
this.label9.Text = "双学士第二学位时间:";
this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// textBox5
//
this.textBox5.BackColor = System.Drawing.Color.LightYellow;
this.textBox5.Location = new System.Drawing.Point(144, 120);
this.textBox5.MaxLength = 100;
this.textBox5.Name = "textBox5";
this.textBox5.Size = new System.Drawing.Size(150, 21);
this.textBox5.TabIndex = 62;
this.textBox5.Text = "";
//
// textBox1
//
this.textBox1.BackColor = System.Drawing.Color.LightYellow;
this.textBox1.Location = new System.Drawing.Point(144, 72);
this.textBox1.MaxLength = 100;
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(150, 21);
this.textBox1.TabIndex = 60;
this.textBox1.Text = "";
//
// textBox2
//
this.textBox2.BackColor = System.Drawing.Color.LightYellow;
this.textBox2.Location = new System.Drawing.Point(408, 96);
this.textBox2.MaxLength = 100;
this.textBox2.Name = "textBox2";
this.textBox2.Size = new System.Drawing.Size(150, 21);
this.textBox2.TabIndex = 58;
this.textBox2.Text = "";
//
// label4
//
this.label4.Location = new System.Drawing.Point(296, 96);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(104, 23);
this.label4.TabIndex = 59;
this.label4.Text = "双学士第二学位:";
this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// label6
//
this.label6.Location = new System.Drawing.Point(32, 96);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(104, 23);
this.label6.TabIndex = 56;
this.label6.Text = "学位授予时间:";
this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -