Restrict num_bags dropdown menu to choose from menu items only.
Restrict employee datagrid view for customerid and customer name as read only items.
This commit is contained in:
parent
b892dd78ab
commit
3dbfae90ca
9
QueueSys/frmEmployeeView.Designer.cs
generated
9
QueueSys/frmEmployeeView.Designer.cs
generated
@ -89,6 +89,7 @@
|
|||||||
//
|
//
|
||||||
// cbNumBags
|
// cbNumBags
|
||||||
//
|
//
|
||||||
|
this.cbNumBags.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||||
this.cbNumBags.FormattingEnabled = true;
|
this.cbNumBags.FormattingEnabled = true;
|
||||||
this.cbNumBags.Items.AddRange(new object[] {
|
this.cbNumBags.Items.AddRange(new object[] {
|
||||||
"1",
|
"1",
|
||||||
@ -122,7 +123,7 @@
|
|||||||
this.fileToolStripMenuItem});
|
this.fileToolStripMenuItem});
|
||||||
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
|
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
|
||||||
this.menuStrip1.Name = "menuStrip1";
|
this.menuStrip1.Name = "menuStrip1";
|
||||||
this.menuStrip1.Size = new System.Drawing.Size(882, 33);
|
this.menuStrip1.Size = new System.Drawing.Size(882, 36);
|
||||||
this.menuStrip1.TabIndex = 5;
|
this.menuStrip1.TabIndex = 5;
|
||||||
this.menuStrip1.Text = "menuStrip1";
|
this.menuStrip1.Text = "menuStrip1";
|
||||||
//
|
//
|
||||||
@ -133,7 +134,7 @@
|
|||||||
this.optionsToolStripMenuItem,
|
this.optionsToolStripMenuItem,
|
||||||
this.exitAltF4ToolStripMenuItem});
|
this.exitAltF4ToolStripMenuItem});
|
||||||
this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
|
this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
|
||||||
this.fileToolStripMenuItem.Size = new System.Drawing.Size(54, 29);
|
this.fileToolStripMenuItem.Size = new System.Drawing.Size(54, 32);
|
||||||
this.fileToolStripMenuItem.Text = "&File";
|
this.fileToolStripMenuItem.Text = "&File";
|
||||||
//
|
//
|
||||||
// generateReportToolStripMenuItem
|
// generateReportToolStripMenuItem
|
||||||
@ -183,14 +184,18 @@
|
|||||||
//
|
//
|
||||||
// CustomerID
|
// CustomerID
|
||||||
//
|
//
|
||||||
|
this.CustomerID.HeaderText = "CustomerID";
|
||||||
this.CustomerID.MinimumWidth = 8;
|
this.CustomerID.MinimumWidth = 8;
|
||||||
this.CustomerID.Name = "CustomerID";
|
this.CustomerID.Name = "CustomerID";
|
||||||
|
this.CustomerID.ReadOnly = true;
|
||||||
this.CustomerID.Width = 150;
|
this.CustomerID.Width = 150;
|
||||||
//
|
//
|
||||||
// CustomerName
|
// CustomerName
|
||||||
//
|
//
|
||||||
|
this.CustomerName.HeaderText = "CustomerName";
|
||||||
this.CustomerName.MinimumWidth = 8;
|
this.CustomerName.MinimumWidth = 8;
|
||||||
this.CustomerName.Name = "CustomerName";
|
this.CustomerName.Name = "CustomerName";
|
||||||
|
this.CustomerName.ReadOnly = true;
|
||||||
this.CustomerName.Width = 150;
|
this.CustomerName.Width = 150;
|
||||||
//
|
//
|
||||||
// frmEmployeeView
|
// frmEmployeeView
|
||||||
|
Loading…
x
Reference in New Issue
Block a user