📄 weiji.designer.cs
字号:
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.groupBox2.Controls.Add(this.dataGridView1);
this.groupBox2.Location = new System.Drawing.Point(12, 167);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(487, 276);
this.groupBox2.TabIndex = 3;
this.groupBox2.TabStop = false;
//
// dataGridView1
//
this.dataGridView1.AllowUserToAddRows = false;
this.dataGridView1.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.dataGridView1.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dataGridView1.ContextMenuStrip = this.ctxtMStripRright;
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window;
dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.Color.LightSlateGray;
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dataGridView1.DefaultCellStyle = dataGridViewCellStyle1;
this.dataGridView1.Location = new System.Drawing.Point(3, 17);
this.dataGridView1.Name = "dataGridView1";
this.dataGridView1.ReadOnly = true;
this.dataGridView1.RowHeadersVisible = false;
this.dataGridView1.RowTemplate.Height = 23;
this.dataGridView1.Size = new System.Drawing.Size(481, 256);
this.dataGridView1.TabIndex = 0;
this.dataGridView1.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellDoubleClick);
this.dataGridView1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellClick);
//
// ctxtMStripRright
//
this.ctxtMStripRright.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.tSMItemDelete});
this.ctxtMStripRright.Name = "contextMenuStrip1";
this.ctxtMStripRright.Size = new System.Drawing.Size(95, 26);
//
// tSMItemDelete
//
this.tSMItemDelete.Name = "tSMItemDelete";
this.tSMItemDelete.Size = new System.Drawing.Size(94, 22);
this.tSMItemDelete.Text = "删除";
this.tSMItemDelete.Click += new System.EventHandler(this.tSMItemDelete_Click);
//
// btnAdd
//
this.btnAdd.Anchor = System.Windows.Forms.AnchorStyles.Top;
this.btnAdd.Location = new System.Drawing.Point(48, 138);
this.btnAdd.Name = "btnAdd";
this.btnAdd.Size = new System.Drawing.Size(60, 23);
this.btnAdd.TabIndex = 4;
this.btnAdd.Text = "添加";
this.btnAdd.UseVisualStyleBackColor = true;
this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
//
// btnBack
//
this.btnBack.Anchor = System.Windows.Forms.AnchorStyles.Top;
this.btnBack.Location = new System.Drawing.Point(378, 138);
this.btnBack.Name = "btnBack";
this.btnBack.Size = new System.Drawing.Size(60, 23);
this.btnBack.TabIndex = 5;
this.btnBack.Text = "返回";
this.btnBack.UseVisualStyleBackColor = true;
this.btnBack.Click += new System.EventHandler(this.btnBack_Click);
//
// btnUpdata
//
this.btnUpdata.Anchor = System.Windows.Forms.AnchorStyles.Top;
this.btnUpdata.Location = new System.Drawing.Point(157, 138);
this.btnUpdata.Name = "btnUpdata";
this.btnUpdata.Size = new System.Drawing.Size(60, 23);
this.btnUpdata.TabIndex = 6;
this.btnUpdata.Text = "修改";
this.btnUpdata.UseVisualStyleBackColor = true;
this.btnUpdata.Click += new System.EventHandler(this.btnUpdata_Click);
//
// btnDelete
//
this.btnDelete.Anchor = System.Windows.Forms.AnchorStyles.Top;
this.btnDelete.Location = new System.Drawing.Point(273, 138);
this.btnDelete.Name = "btnDelete";
this.btnDelete.Size = new System.Drawing.Size(60, 23);
this.btnDelete.TabIndex = 7;
this.btnDelete.Text = "删除";
this.btnDelete.UseVisualStyleBackColor = true;
this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click);
//
// txtnum
//
this.txtnum.Anchor = System.Windows.Forms.AnchorStyles.Top;
this.txtnum.Location = new System.Drawing.Point(469, 138);
this.txtnum.Name = "txtnum";
this.txtnum.Size = new System.Drawing.Size(10, 21);
this.txtnum.TabIndex = 8;
this.txtnum.Visible = false;
//
// errorPnum
//
this.errorPnum.ContainerControl = this;
//
// Weiji
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(511, 455);
this.Controls.Add(this.txtnum);
this.Controls.Add(this.btnDelete);
this.Controls.Add(this.btnUpdata);
this.Controls.Add(this.btnBack);
this.Controls.Add(this.btnAdd);
this.Controls.Add(this.groupBox2);
this.Controls.Add(this.groupBox1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.Name = "Weiji";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "违纪处理";
this.Load += new System.EventHandler(this.Weiji_Load);
this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout();
this.groupBox2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
this.ctxtMStripRright.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.errorPnum)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Label label1;
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.TextBox txtaddtion;
private System.Windows.Forms.TextBox txtsnum;
private System.Windows.Forms.TextBox txtzuoweiid;
private System.Windows.Forms.GroupBox groupBox2;
private System.Windows.Forms.Button btnAdd;
private System.Windows.Forms.Button btnBack;
private System.Windows.Forms.Button btnUpdata;
private System.Windows.Forms.DataGridView dataGridView1;
private System.Windows.Forms.Button btnDelete;
private System.Windows.Forms.TextBox txtnum;
private System.Windows.Forms.ContextMenuStrip ctxtMStripRright;
private System.Windows.Forms.ToolStripMenuItem tSMItemDelete;
private System.Windows.Forms.ComboBox comBoxKname;
private System.Windows.Forms.ErrorProvider errorPnum;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -