?? salarymanage.cs
字號:
this.label23.Location = new System.Drawing.Point(464, 136);
this.label23.Name = "label23";
this.label23.Size = new System.Drawing.Size(64, 16);
this.label23.TabIndex = 19;
this.label23.Text = "生育保險";
//
// label2
//
this.label2.Location = new System.Drawing.Point(31, 20);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(56, 16);
this.label2.TabIndex = 19;
this.label2.Text = "當前月份";
//
// label21
//
this.label21.Location = new System.Drawing.Point(159, 20);
this.label21.Name = "label21";
this.label21.Size = new System.Drawing.Size(56, 16);
this.label21.TabIndex = 19;
this.label21.Text = "倒入月份";
//
// txt22
//
this.txt22.Location = new System.Drawing.Point(87, 15);
this.txt22.Name = "txt22";
this.txt22.Size = new System.Drawing.Size(64, 21);
this.txt22.TabIndex = 21;
this.txt22.Text = "";
//
// txt23
//
this.txt23.Location = new System.Drawing.Point(221, 15);
this.txt23.Name = "txt23";
this.txt23.Size = new System.Drawing.Size(64, 21);
this.txt23.TabIndex = 22;
this.txt23.Text = "";
//
// btnGetSalary
//
this.btnGetSalary.Location = new System.Drawing.Point(306, 15);
this.btnGetSalary.Name = "btnGetSalary";
this.btnGetSalary.Size = new System.Drawing.Size(93, 23);
this.btnGetSalary.TabIndex = 23;
this.btnGetSalary.Text = "倒入工資歷史";
this.btnGetSalary.Click += new System.EventHandler(this.btnGetSalary_Click);
//
// btnCalSalary
//
this.btnCalSalary.Location = new System.Drawing.Point(420, 15);
this.btnCalSalary.Name = "btnCalSalary";
this.btnCalSalary.Size = new System.Drawing.Size(93, 23);
this.btnCalSalary.TabIndex = 24;
this.btnCalSalary.Text = "計算當月工資";
this.btnCalSalary.Click += new System.EventHandler(this.btnCalSalary_Click);
//
// btnGiveSalary
//
this.btnGiveSalary.Location = new System.Drawing.Point(534, 15);
this.btnGiveSalary.Name = "btnGiveSalary";
this.btnGiveSalary.TabIndex = 25;
this.btnGiveSalary.Text = "工資發放";
this.btnGiveSalary.Click += new System.EventHandler(this.btnGiveSalary_Click);
//
// groupBox2
//
this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.groupBox2.Controls.Add(this.label21);
this.groupBox2.Controls.Add(this.txt22);
this.groupBox2.Controls.Add(this.btnCalSalary);
this.groupBox2.Controls.Add(this.btnGetSalary);
this.groupBox2.Controls.Add(this.btnGiveSalary);
this.groupBox2.Controls.Add(this.txt23);
this.groupBox2.Controls.Add(this.label2);
this.groupBox2.Location = new System.Drawing.Point(0, 41);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(640, 48);
this.groupBox2.TabIndex = 21;
this.groupBox2.TabStop = false;
//
// dataGrid1
//
this.dataGrid1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.dataGrid1.CaptionVisible = false;
this.dataGrid1.DataMember = "";
this.dataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
this.dataGrid1.Location = new System.Drawing.Point(0, 96);
this.dataGrid1.Name = "dataGrid1";
this.dataGrid1.Size = new System.Drawing.Size(640, 160);
this.dataGrid1.TabIndex = 26;
this.dataGrid1.CurrentCellChanged += new System.EventHandler(this.dataGrid1_CurrentCellChanged);
//
// sqlDataAdapter1
//
this.sqlDataAdapter1.SelectCommand = this.sqlSelectCommand1;
this.sqlDataAdapter1.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] {
new System.Data.Common.DataTableMapping("Table", "職員基本信息表", new System.Data.Common.DataColumnMapping[] {
new System.Data.Common.DataColumnMapping("姓名", "姓名"),
new System.Data.Common.DataColumnMapping("日期", "日期"),
new System.Data.Common.DataColumnMapping("應發金額合計", "應發金額合計"),
new System.Data.Common.DataColumnMapping("應扣金額合計", "應扣金額合計"),
new System.Data.Common.DataColumnMapping("工資合計", "工資合計"),
new System.Data.Common.DataColumnMapping("個人所得稅", "個人所得稅"),
new System.Data.Common.DataColumnMapping("實發金額", "實發金額"),
new System.Data.Common.DataColumnMapping("發放否", "發放否"),
new System.Data.Common.DataColumnMapping("職員編號", "職員編號"),
new System.Data.Common.DataColumnMapping("Expr1", "Expr1")})});
//
// sqlSelectCommand1
//
this.sqlSelectCommand1.CommandText = "SELECT a.姓名, b.日期, b.應發金額合計, b.應扣金額合計, b.工資合計, b.個人所得稅, b.實發金額, b.發放否, a.職員編號, b." +
"職員編號 AS Expr1 FROM 職員基本信息表 a INNER JOIN 月工資統計表 b ON a.職員編號 = b.職員編號";
this.sqlSelectCommand1.Connection = this.sqlConnection1;
//
// sqlConnection1
//
this.sqlConnection1.ConnectionString = "workstation id=localhost;Integrated Security=SSPI;Database=hrmbook;";
//
// imageList1
//
this.imageList1.ImageSize = new System.Drawing.Size(16, 16);
this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
//
// toolBar1
//
this.toolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
this.toolBarFirst,
this.toolBarPre,
this.toolBarNext,
this.toolBarLast,
this.toolBarSubmit,
this.tbarBtnCancell,
this.toolBarQuit});
this.toolBar1.DropDownArrows = true;
this.toolBar1.ImageList = this.imageList1;
this.toolBar1.Location = new System.Drawing.Point(0, 0);
this.toolBar1.Name = "toolBar1";
this.toolBar1.ShowToolTips = true;
this.toolBar1.Size = new System.Drawing.Size(640, 41);
this.toolBar1.TabIndex = 25;
this.toolBar1.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBar1_ButtonClick);
//
// toolBarFirst
//
this.toolBarFirst.ImageIndex = 0;
this.toolBarFirst.Text = "首記錄";
this.toolBarFirst.ToolTipText = "首記錄";
//
// toolBarPre
//
this.toolBarPre.ImageIndex = 1;
this.toolBarPre.Text = "上一記錄";
this.toolBarPre.ToolTipText = "上一記錄";
//
// toolBarNext
//
this.toolBarNext.ImageIndex = 2;
this.toolBarNext.Text = "下一記錄";
this.toolBarNext.ToolTipText = "下一記錄";
//
// toolBarLast
//
this.toolBarLast.ImageIndex = 3;
this.toolBarLast.Text = "尾記錄";
this.toolBarLast.ToolTipText = "尾記錄";
//
// toolBarSubmit
//
this.toolBarSubmit.ImageIndex = 4;
this.toolBarSubmit.Text = "提交修改";
this.toolBarSubmit.ToolTipText = "提交修改";
//
// tbarBtnCancell
//
this.tbarBtnCancell.ImageIndex = 5;
this.tbarBtnCancell.Text = "取消修改";
this.tbarBtnCancell.ToolTipText = "取消修改";
//
// toolBarQuit
//
this.toolBarQuit.ImageIndex = 6;
this.toolBarQuit.Text = "退出";
this.toolBarQuit.ToolTipText = "退出";
//
// sqlDataAdapter2
//
this.sqlDataAdapter2.DeleteCommand = this.sqlDeleteCommand1;
this.sqlDataAdapter2.InsertCommand = this.sqlInsertCommand1;
this.sqlDataAdapter2.SelectCommand = this.sqlSelectCommand2;
this.sqlDataAdapter2.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] {
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -