?? form2.cs
字號:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using System.Data.SqlClient;
namespace 人員基本信息管理主界面
{
/// <summary>
/// Form2 的摘要說明。
/// </summary>
public class Form2 : System.Windows.Forms.Form
{
private System.Windows.Forms.MainMenu mainMenu1;
private System.Windows.Forms.MenuItem menuItem1;
private System.Windows.Forms.MenuItem menuItem3;
private System.Windows.Forms.MenuItem menuItem4;
private System.Windows.Forms.MenuItem menuItem5;
private System.Windows.Forms.MenuItem menuItem6;
private System.Windows.Forms.MenuItem menuItem7;
private System.Windows.Forms.MenuItem menuItem8;
private System.Windows.Forms.MenuItem menuItem9;
private System.Windows.Forms.MenuItem menuItem10;
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.PictureBox pictureBox1;
private System.Windows.Forms.Label label13;
private System.Windows.Forms.Label label12;
private System.Windows.Forms.Label label11;
private System.Windows.Forms.Label label10;
private System.Windows.Forms.Label label9;
private System.Windows.Forms.Label label8;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.ToolBarButton toolBarButton4;
private System.Windows.Forms.ToolBarButton toolBarButton7;
private System.Windows.Forms.ToolBarButton toolBarButton5;
private System.Windows.Forms.ToolBarButton toolBarButton2;
private System.Windows.Forms.ToolBar toolBar1;
private System.Windows.Forms.ToolBarButton toolBarButton1;
private System.Windows.Forms.ToolBarButton toolBarButton3;
private System.Windows.Forms.GroupBox groupBox2;
private System.Windows.Forms.Label label29;
private System.Windows.Forms.Label label27;
private System.Windows.Forms.Label label26;
private System.Windows.Forms.Label label25;
private System.Windows.Forms.Label label24;
private System.Windows.Forms.Label label23;
private System.Windows.Forms.Label label22;
private System.Windows.Forms.Label label21;
private System.Windows.Forms.Label label20;
private System.Windows.Forms.Label label19;
private System.Windows.Forms.Label label18;
private System.Windows.Forms.Label label17;
private System.Windows.Forms.Label label16;
private System.Windows.Forms.Label label15;
private System.Windows.Forms.Label label14;
private System.Windows.Forms.Label label28;
private System.Windows.Forms.Label label30;
private System.Windows.Forms.Label label31;
private System.Windows.Forms.Label label32;
private System.Windows.Forms.Label label33;
private System.Windows.Forms.ComboBox comboBox1;
private System.Windows.Forms.ComboBox comboBoxsex;
private System.Windows.Forms.TextBox textBoxgraduate;
private System.Windows.Forms.TextBox textBoxcode;
private System.Windows.Forms.TextBox textBoxnative;
private System.Windows.Forms.TextBox textBoxeducation;
private System.Windows.Forms.TextBox textBoxschool;
private System.Windows.Forms.TextBox textBoxID;
private System.Windows.Forms.TextBox textBoxaddress;
private System.Windows.Forms.TextBox textBoxcontact;
private System.Windows.Forms.TextBox textBoxname;
private System.Windows.Forms.TextBox textBoxnation;
private System.Windows.Forms.TextBox textBoxmajor;
private System.Windows.Forms.TextBox textBoxworkingday;
private System.Windows.Forms.TextBox textBoxenrollday;
private System.Windows.Forms.TextBox textBoxtrying;
private System.Windows.Forms.TextBox textBoxgrade;
private System.Windows.Forms.TextBox textBoxoriginalsalary;
private System.Windows.Forms.TextBox textBoxsalarychangeday;
private System.Windows.Forms.TextBox textBoxpositionsalary;
private System.Windows.Forms.TextBox textBoxassureday;
private System.Windows.Forms.TextBox textBoxassurancekind;
private System.Windows.Forms.TextBox textBoxduty;
private System.Windows.Forms.TextBox textBoxpromotionday;
private System.Windows.Forms.TextBox textBoxchangeday;
private System.Windows.Forms.TextBox textBoxassuresum;
private System.Windows.Forms.TextBox textBoxleavingday;
private System.Windows.Forms.TextBox textBoxremark;
private System.Windows.Forms.TextBox textBoxfileposition;
private System.Windows.Forms.TextBox textBoxfilecode;
private System.Windows.Forms.TextBox textBoxbirthday;
private System.Windows.Forms.TextBox textBoxtitle;
private System.Windows.Forms.TextBox textBoxoperator;
private System.Data.SqlClient.SqlDataAdapter sqlDataAdapter1;
private System.Data.SqlClient.SqlCommand sqlSelectCommand1;
private System.Data.SqlClient.SqlCommand sqlInsertCommand1;
private System.Data.SqlClient.SqlCommand sqlUpdateCommand1;
private System.Data.SqlClient.SqlCommand sqlDeleteCommand1;
private System.Data.SqlClient.SqlConnection sqlConnection2;
private 人員基本信息管理主界面.DataSet1 dataSet11;
private System.Windows.Forms.TextBox textBoxpositionchange;
private System.Windows.Forms.DateTimePicker dateTimePicker1;
public BindingManagerBase bManager1;
private System.Windows.Forms.ToolBarButton toolBarButton9; //定義綁定管理器
public int remark;///新建或修改變量,為0為修改,為1為新建
public int position;///修改是顯示的數據庫里的行索引
public string receive;
private System.Windows.Forms.MenuItem menuItem11;
private System.Windows.Forms.ToolBarButton toolBarButton6;
/// <summary>
/// 必需的設計器變量。
/// </summary>
private System.ComponentModel.Container components = null;
public Form2()
{
//
// Windows 窗體設計器支持所必需的
//
InitializeComponent();
//
// TODO: 在 InitializeComponent 調用后添加任何構造函數代碼
//
}
/// <summary>
/// 清理所有正在使用的資源。
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#region Windows Form Designer generated code
/// <summary>
/// 設計器支持所需的方法 - 不要使用代碼編輯器修改
/// 此方法的內容。
/// </summary>
private void InitializeComponent()
{
this.mainMenu1 = new System.Windows.Forms.MainMenu();
this.menuItem1 = new System.Windows.Forms.MenuItem();
this.menuItem11 = new System.Windows.Forms.MenuItem();
this.menuItem3 = new System.Windows.Forms.MenuItem();
this.menuItem4 = new System.Windows.Forms.MenuItem();
this.menuItem5 = new System.Windows.Forms.MenuItem();
this.menuItem6 = new System.Windows.Forms.MenuItem();
this.menuItem7 = new System.Windows.Forms.MenuItem();
this.menuItem8 = new System.Windows.Forms.MenuItem();
this.menuItem9 = new System.Windows.Forms.MenuItem();
this.menuItem10 = new System.Windows.Forms.MenuItem();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.textBoxbirthday = new System.Windows.Forms.TextBox();
this.dataSet11 = new 人員基本信息管理主界面.DataSet1();
this.label32 = new System.Windows.Forms.Label();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.comboBox1 = new System.Windows.Forms.ComboBox();
this.comboBoxsex = new System.Windows.Forms.ComboBox();
this.textBoxgraduate = new System.Windows.Forms.TextBox();
this.textBoxcode = new System.Windows.Forms.TextBox();
this.textBoxnative = new System.Windows.Forms.TextBox();
this.textBoxeducation = new System.Windows.Forms.TextBox();
this.textBoxschool = new System.Windows.Forms.TextBox();
this.textBoxID = new System.Windows.Forms.TextBox();
this.textBoxaddress = new System.Windows.Forms.TextBox();
this.textBoxcontact = new System.Windows.Forms.TextBox();
this.textBoxname = new System.Windows.Forms.TextBox();
this.label13 = new System.Windows.Forms.Label();
this.label12 = new System.Windows.Forms.Label();
this.label11 = new System.Windows.Forms.Label();
this.label10 = new System.Windows.Forms.Label();
this.label9 = new System.Windows.Forms.Label();
this.label8 = new System.Windows.Forms.Label();
this.label7 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
this.textBoxnation = new System.Windows.Forms.TextBox();
this.textBoxmajor = new System.Windows.Forms.TextBox();
this.toolBarButton4 = new System.Windows.Forms.ToolBarButton();
this.toolBarButton7 = new System.Windows.Forms.ToolBarButton();
this.toolBarButton5 = new System.Windows.Forms.ToolBarButton();
this.toolBarButton2 = new System.Windows.Forms.ToolBarButton();
this.toolBar1 = new System.Windows.Forms.ToolBar();
this.toolBarButton9 = new System.Windows.Forms.ToolBarButton();
this.toolBarButton1 = new System.Windows.Forms.ToolBarButton();
this.toolBarButton3 = new System.Windows.Forms.ToolBarButton();
this.toolBarButton6 = new System.Windows.Forms.ToolBarButton();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.textBoxtitle = new System.Windows.Forms.TextBox();
this.label33 = new System.Windows.Forms.Label();
this.textBoxworkingday = new System.Windows.Forms.TextBox();
this.textBoxenrollday = new System.Windows.Forms.TextBox();
this.label30 = new System.Windows.Forms.Label();
this.label31 = new System.Windows.Forms.Label();
this.textBoxtrying = new System.Windows.Forms.TextBox();
this.label29 = new System.Windows.Forms.Label();
this.textBoxgrade = new System.Windows.Forms.TextBox();
this.textBoxoriginalsalary = new System.Windows.Forms.TextBox();
this.textBoxsalarychangeday = new System.Windows.Forms.TextBox();
this.textBoxpositionsalary = new System.Windows.Forms.TextBox();
this.textBoxassureday = new System.Windows.Forms.TextBox();
this.textBoxassurancekind = new System.Windows.Forms.TextBox();
this.textBoxduty = new System.Windows.Forms.TextBox();
this.textBoxpromotionday = new System.Windows.Forms.TextBox();
this.textBoxchangeday = new System.Windows.Forms.TextBox();
this.textBoxassuresum = new System.Windows.Forms.TextBox();
this.textBoxpositionchange = new System.Windows.Forms.TextBox();
this.textBoxleavingday = new System.Windows.Forms.TextBox();
this.textBoxremark = new System.Windows.Forms.TextBox();
this.textBoxfileposition = new System.Windows.Forms.TextBox();
this.label27 = new System.Windows.Forms.Label();
this.label26 = new System.Windows.Forms.Label();
this.label25 = new System.Windows.Forms.Label();
this.label24 = new System.Windows.Forms.Label();
this.label23 = new System.Windows.Forms.Label();
this.label22 = new System.Windows.Forms.Label();
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -