Setup employee datagrid view.

This commit is contained in:
kougyoku 2019-10-16 15:09:37 -07:00
parent 559871d853
commit 247bc6d874
1 changed files with 15 additions and 12 deletions

View File

@ -41,8 +41,8 @@
this.exitAltF4ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.tbEmployeeName = new System.Windows.Forms.TextBox();
this.dgvEmployeeView = new System.Windows.Forms.DataGridView();
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.CustomerID = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.CustomerName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.menuStrip1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvEmployeeView)).BeginInit();
this.SuspendLayout();
@ -168,8 +168,8 @@
this.dgvEmployeeView.AllowUserToAddRows = false;
this.dgvEmployeeView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvEmployeeView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.dataGridViewTextBoxColumn1,
this.dataGridViewTextBoxColumn2});
this.CustomerID,
this.CustomerName});
this.dgvEmployeeView.Location = new System.Drawing.Point(22, 181);
this.dgvEmployeeView.Name = "dgvEmployeeView";
this.dgvEmployeeView.RowHeadersWidth = 62;
@ -178,18 +178,19 @@
this.dgvEmployeeView.Size = new System.Drawing.Size(843, 352);
this.dgvEmployeeView.TabIndex = 7;
this.dgvEmployeeView.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvEmployeeView_CellClick);
this.dgvEmployeeView.EditingControlShowing += new System.Windows.Forms.DataGridViewEditingControlShowingEventHandler(this.dgvEmployeeView_EditingControlShowing);
//
// dataGridViewTextBoxColumn1
// CustomerID
//
this.dataGridViewTextBoxColumn1.MinimumWidth = 8;
this.dataGridViewTextBoxColumn1.Name = "CustomerID";
this.dataGridViewTextBoxColumn1.Width = 150;
this.CustomerID.MinimumWidth = 8;
this.CustomerID.Name = "CustomerID";
this.CustomerID.Width = 150;
//
// dataGridViewTextBoxColumn2
// CustomerName
//
this.dataGridViewTextBoxColumn2.MinimumWidth = 8;
this.dataGridViewTextBoxColumn2.Name = "CustomerName";
this.dataGridViewTextBoxColumn2.Width = 150;
this.CustomerName.MinimumWidth = 8;
this.CustomerName.Name = "CustomerName";
this.CustomerName.Width = 150;
//
// frmEmployeeView
//
@ -236,6 +237,8 @@
private System.Windows.Forms.DataGridView dgvEmployeeView;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
private System.Windows.Forms.DataGridViewTextBoxColumn CustomerID;
private System.Windows.Forms.DataGridViewTextBoxColumn CustomerName;
}
}