Remove employee name combo box and change it to simple textbox entry.

Add generate report under File
This commit is contained in:
kougyoku 2019-10-08 10:48:43 -07:00
parent f742e7a5fa
commit 2b2054d14a
1 changed files with 22 additions and 14 deletions

View File

@ -33,12 +33,13 @@
this.lblEmployeeName = new System.Windows.Forms.Label();
this.tbCustomerName = new System.Windows.Forms.TextBox();
this.cbNumBags = new System.Windows.Forms.ComboBox();
this.cbEmployeeName = new System.Windows.Forms.ComboBox();
this.btnAdd = new System.Windows.Forms.Button();
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.optionsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.exitAltF4ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.generateReportToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.tbEmployeeName = new System.Windows.Forms.TextBox();
this.menuStrip1.SuspendLayout();
this.SuspendLayout();
//
@ -97,15 +98,6 @@
this.cbNumBags.Size = new System.Drawing.Size(180, 28);
this.cbNumBags.TabIndex = 2;
//
// cbEmployeeName
//
this.cbEmployeeName.FormattingEnabled = true;
this.cbEmployeeName.Location = new System.Drawing.Point(516, 115);
this.cbEmployeeName.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.cbEmployeeName.Name = "cbEmployeeName";
this.cbEmployeeName.Size = new System.Drawing.Size(180, 28);
this.cbEmployeeName.TabIndex = 3;
//
// btnAdd
//
this.btnAdd.Location = new System.Drawing.Point(753, 112);
@ -131,6 +123,7 @@
// fileToolStripMenuItem
//
this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.generateReportToolStripMenuItem,
this.optionsToolStripMenuItem,
this.exitAltF4ToolStripMenuItem});
this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
@ -140,24 +133,38 @@
// optionsToolStripMenuItem
//
this.optionsToolStripMenuItem.Name = "optionsToolStripMenuItem";
this.optionsToolStripMenuItem.Size = new System.Drawing.Size(204, 34);
this.optionsToolStripMenuItem.Size = new System.Drawing.Size(270, 34);
this.optionsToolStripMenuItem.Text = "Options";
this.optionsToolStripMenuItem.Click += new System.EventHandler(this.optionsToolStripMenuItem_Click);
//
// exitAltF4ToolStripMenuItem
//
this.exitAltF4ToolStripMenuItem.Name = "exitAltF4ToolStripMenuItem";
this.exitAltF4ToolStripMenuItem.Size = new System.Drawing.Size(204, 34);
this.exitAltF4ToolStripMenuItem.Size = new System.Drawing.Size(270, 34);
this.exitAltF4ToolStripMenuItem.Text = "E&xit (Alt-F4)";
this.exitAltF4ToolStripMenuItem.Click += new System.EventHandler(this.exitAltF4ToolStripMenuItem_Click);
//
// generateReportToolStripMenuItem
//
this.generateReportToolStripMenuItem.Name = "generateReportToolStripMenuItem";
this.generateReportToolStripMenuItem.Size = new System.Drawing.Size(270, 34);
this.generateReportToolStripMenuItem.Text = "&Generate Report";
this.generateReportToolStripMenuItem.Click += new System.EventHandler(this.generateReportToolStripMenuItem_Click);
//
// tbEmployeeName
//
this.tbEmployeeName.Location = new System.Drawing.Point(514, 117);
this.tbEmployeeName.Name = "tbEmployeeName";
this.tbEmployeeName.Size = new System.Drawing.Size(199, 26);
this.tbEmployeeName.TabIndex = 6;
//
// frmEmployeeView
//
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(882, 692);
this.Controls.Add(this.tbEmployeeName);
this.Controls.Add(this.btnAdd);
this.Controls.Add(this.cbEmployeeName);
this.Controls.Add(this.cbNumBags);
this.Controls.Add(this.tbCustomerName);
this.Controls.Add(this.lblEmployeeName);
@ -183,12 +190,13 @@
private System.Windows.Forms.Label lblEmployeeName;
private System.Windows.Forms.TextBox tbCustomerName;
private System.Windows.Forms.ComboBox cbNumBags;
private System.Windows.Forms.ComboBox cbEmployeeName;
private System.Windows.Forms.Button btnAdd;
private System.Windows.Forms.MenuStrip menuStrip1;
private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem optionsToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem exitAltF4ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem generateReportToolStripMenuItem;
private System.Windows.Forms.TextBox tbEmployeeName;
}
}