📄 frm_yw_zg.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_ZG 的摘要说明。
/// </summary>
public class frm_YW_ZG : 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.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.ComboBox CBIsTB;
private System.Windows.Forms.Label label21;
private System.Windows.Forms.TextBox textBox15;
private System.Windows.Forms.GroupBox GBRZ;
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_ZG()
{
//
// 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.CBIsTB = new System.Windows.Forms.ComboBox();
this.label2 = 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.GBRZ.SuspendLayout();
this.groupBox2.SuspendLayout();
this.groupBox3.SuspendLayout();
this.SuspendLayout();
//
// groupBox1
//
this.groupBox1.Controls.Add(this.Description);
this.groupBox1.Controls.Add(this.CBIsTB);
this.groupBox1.Controls.Add(this.label2);
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 = "";
//
// 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 = "是";
//
// 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;
//
// GBRZ
//
this.GBRZ.Controls.Add(this.label21);
this.GBRZ.Controls.Add(this.textBox15);
this.GBRZ.Controls.Add(this.label10);
this.GBRZ.Controls.Add(this.textBox6);
this.GBRZ.Controls.Add(this.textBox7);
this.GBRZ.Controls.Add(this.textBox8);
this.GBRZ.Controls.Add(this.label11);
this.GBRZ.Controls.Add(this.label12);
this.GBRZ.Controls.Add(this.textBox9);
this.GBRZ.Controls.Add(this.textBox10);
this.GBRZ.Controls.Add(this.label14);
this.GBRZ.Controls.Add(this.label15);
this.GBRZ.Controls.Add(this.textBox11);
this.GBRZ.Controls.Add(this.textBox12);
this.GBRZ.Controls.Add(this.label16);
this.GBRZ.Controls.Add(this.label17);
this.GBRZ.Controls.Add(this.textBox13);
this.GBRZ.Controls.Add(this.textBox14);
this.GBRZ.Controls.Add(this.label18);
this.GBRZ.Controls.Add(this.label19);
this.GBRZ.Location = new System.Drawing.Point(16, 56);
this.GBRZ.Name = "GBRZ";
this.GBRZ.Size = new System.Drawing.Size(584, 152);
this.GBRZ.TabIndex = 63;
this.GBRZ.TabStop = false;
this.GBRZ.Text = "任职简历";
//
// label21
//
this.label21.Location = new System.Drawing.Point(320, 120);
this.label21.Name = "label21";
this.label21.Size = new System.Drawing.Size(80, 23);
this.label21.TabIndex = 63;
this.label21.Text = "是否领导职务";
this.label21.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// textBox15
//
this.textBox15.BackColor = System.Drawing.Color.LightYellow;
this.textBox15.Location = new System.Drawing.Point(408, 120);
this.textBox15.MaxLength = 100;
this.textBox15.Name = "textBox15";
this.textBox15.Size = new System.Drawing.Size(150, 21);
this.textBox15.TabIndex = 64;
this.textBox15.Text = "";
//
// label10
//
this.label10.Location = new System.Drawing.Point(16, 120);
this.label10.Name = "label10";
this.label10.Size = new System.Drawing.Size(104, 23);
this.label10.TabIndex = 61;
this.label10.Text = "在下一级任职时间";
this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// textBox6
//
this.textBox6.BackColor = System.Drawing.Color.LightYellow;
this.textBox6.Location = new System.Drawing.Point(128, 120);
this.textBox6.MaxLength = 100;
this.textBox6.Name = "textBox6";
this.textBox6.Size = new System.Drawing.Size(150, 21);
this.textBox6.TabIndex = 62;
this.textBox6.Text = "";
//
// textBox7
//
this.textBox7.BackColor = System.Drawing.Color.LightYellow;
this.textBox7.Location = new System.Drawing.Point(128, 72);
this.textBox7.MaxLength = 100;
this.textBox7.Name = "textBox7";
this.textBox7.Size = new System.Drawing.Size(150, 21);
this.textBox7.TabIndex = 60;
this.textBox7.Text = "";
//
// textBox8
//
this.textBox8.BackColor = System.Drawing.Color.LightYellow;
this.textBox8.Location = new System.Drawing.Point(408, 96);
this.textBox8.MaxLength = 100;
this.textBox8.Name = "textBox8";
this.textBox8.Size = new System.Drawing.Size(150, 21);
this.textBox8.TabIndex = 58;
this.textBox8.Text = "";
//
// label11
//
this.label11.Location = new System.Drawing.Point(280, 96);
this.label11.Name = "label11";
this.label11.Size = new System.Drawing.Size(120, 23);
this.label11.TabIndex = 59;
this.label11.Text = "在当前岗位任职时间";
this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// label12
//
this.label12.Location = new System.Drawing.Point(40, 96);
this.label12.Name = "label12";
this.label12.Size = new System.Drawing.Size(80, 23);
this.label12.TabIndex = 56;
this.label12.Text = "职务变动类别";
this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// textBox9
//
this.textBox9.BackColor = System.Drawing.Color.LightYellow;
this.textBox9.Location = new System.Drawing.Point(128, 96);
this.textBox9.MaxLength = 100;
this.textBox9.Name = "textBox9";
this.textBox9.Size = new System.Drawing.Size(150, 21);
this.textBox9.TabIndex = 57;
this.textBox9.Text = "";
//
// textBox10
//
this.textBox10.BackColor = System.Drawing.Color.LightYellow;
this.textBox10.Location = new System.Drawing.Point(408, 72);
this.textBox10.MaxLength = 100;
this.textBox10.Name = "textBox10";
this.textBox10.Size = new System.Drawing.Size(150, 21);
this.textBox10.TabIndex = 54;
this.textBox10.Text = "";
//
// label14
//
this.label14.Location = new System.Drawing.Point(336, 72);
this.label14.Name = "label14";
this.label14.Size = new System.Drawing.Size(66, 23);
this.label14.TabIndex = 55;
this.label14.Text = "职务属性";
this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// label15
//
this.label15.Location = new System.Drawing.Point(56, 72);
this.label15.Name = "label15";
this.label15.Size = new System.Drawing.Size(64, 23);
this.label15.TabIndex = 53;
this.label15.Text = "任职文号";
this.label15.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// textBox11
//
this.textBox11.BackColor = System.Drawing.Color.LightYellow;
this.textBox11.Location = new System.Drawing.Point(128, 24);
this.textBox11.MaxLength = 100;
this.textBox11.Name = "textBox11";
this.textBox11.Size = new System.Drawing.Size(150, 21);
this.textBox11.TabIndex = 52;
this.textBox11.Text = "";
//
// textBox12
//
this.textBox12.BackColor = System.Drawing.Color.LightYellow;
this.textBox12.Location = new System.Drawing.Point(408, 48);
this.textBox12.MaxLength = 100;
this.textBox12.Name = "textBox12";
this.textBox12.Size = new System.Drawing.Size(150, 21);
this.textBox12.TabIndex = 50;
this.textBox12.Text = "";
//
// label16
//
this.label16.Location = new System.Drawing.Point(336, 48);
this.label16.Name = "label16";
this.label16.Size = new System.Drawing.Size(66, 23);
this.label16.TabIndex = 51;
this.label16.Text = "职员等级";
this.label16.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// label17
//
this.label17.Location = new System.Drawing.Point(56, 48);
this.label17.Name = "label17";
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -