private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Ch12Smp3BForm)); this.gradeDisplay = new System.Windows.Forms.Label(); this.avgDisplay = new System.Windows.Forms.Label(); this.quitButton = new System.Windows.Forms.Button(); this.calcButton = new System.Windows.Forms.Button(); this.gradeLabel = new System.Windows.Forms.Label(); this.avgLabel = new System.Windows.Forms.Label(); this.score3Label = new System.Windows.Forms.Label(); this.score3ETextBox = new LibETextBox.ETextBox(); this.score2Label = new System.Windows.Forms.Label(); this.score2ETextBox = new LibETextBox.ETextBox(); this.score1Label = new System.Windows.Forms.Label(); this.score1ETextBox = new LibETextBox.ETextBox(); this.SuspendLayout(); // // gradeDisplay // this.gradeDisplay.BackColor = System.Drawing.SystemColors.Control; this.gradeDisplay.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.gradeDisplay.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gradeDisplay.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.gradeDisplay.Location = new System.Drawing.Point(200, 86); this.gradeDisplay.Name = "gradeDisplay"; this.gradeDisplay.Size = new System.Drawing.Size(16, 21); this.gradeDisplay.TabIndex = 8; this.gradeDisplay.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // avgDisplay // this.avgDisplay.BackColor = System.Drawing.SystemColors.Control; this.avgDisplay.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.avgDisplay.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.avgDisplay.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.avgDisplay.Location = new System.Drawing.Point(133, 86); this.avgDisplay.Name = "avgDisplay"; this.avgDisplay.Size = new System.Drawing.Size(50, 21); this.avgDisplay.TabIndex = 6; this.avgDisplay.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // quitButton // this.quitButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.quitButton.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.quitButton.Location = new System.Drawing.Point(180, 122); this.quitButton.Name = "quitButton"; this.quitButton.Size = new System.Drawing.Size(75, 22); this.quitButton.TabIndex = 11; this.quitButton.Text = "Quit"; this.quitButton.Click += new System.EventHandler(this.quitButton_Click); // // calcButton // this.calcButton.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.calcButton.Location = new System.Drawing.Point(100, 122); this.calcButton.Name = "calcButton"; this.calcButton.Size = new System.Drawing.Size(75, 22); this.calcButton.TabIndex = 10; this.calcButton.Text = "Calculate"; this.calcButton.Click += new System.EventHandler(this.calcButton_Click); // // gradeLabel // this.gradeLabel.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gradeLabel.Location = new System.Drawing.Point(183, 64); this.gradeLabel.Name = "gradeLabel"; this.gradeLabel.Size = new System.Drawing.Size(48, 20); this.gradeLabel.TabIndex = 9; this.gradeLabel.Text = "Grade"; this.gradeLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // avgLabel // this.avgLabel.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.avgLabel.Location = new System.Drawing.Point(126, 64); this.avgLabel.Name = "avgLabel"; this.avgLabel.Size = new System.Drawing.Size(61, 20); this.avgLabel.TabIndex = 7; this.avgLabel.Text = "Average"; this.avgLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // score3Label // this.score3Label.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.score3Label.Location = new System.Drawing.Point(211, 18); this.score3Label.Name = "score3Label"; this.score3Label.Size = new System.Drawing.Size(50, 20); this.score3Label.TabIndex = 5; this.score3Label.Text = "Score 3"; this.score3Label.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // score3ETextBox // this.score3ETextBox.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.score3ETextBox.Location = new System.Drawing.Point(211, 40); this.score3ETextBox.Name = "score3ETextBox"; this.score3ETextBox.Size = new System.Drawing.Size(50, 23); this.score3ETextBox.TabIndex = 4; this.score3ETextBox.TextChanged += new System.EventHandler(this.scoreTextBox_TextChanged); // // score2Label // this.score2Label.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.score2Label.Location = new System.Drawing.Point(153, 18); this.score2Label.Name = "score2Label"; this.score2Label.Size = new System.Drawing.Size(50, 20); this.score2Label.TabIndex = 3; this.score2Label.Text = "Score 2"; this.score2Label.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // score2ETextBox // this.score2ETextBox.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.score2ETextBox.Location = new System.Drawing.Point(153, 40); this.score2ETextBox.Name = "score2ETextBox"; this.score2ETextBox.Size = new System.Drawing.Size(50, 23); this.score2ETextBox.TabIndex = 2; this.score2ETextBox.TextChanged += new System.EventHandler(this.scoreTextBox_TextChanged); // // score1Label // this.score1Label.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.score1Label.ForeColor = System.Drawing.SystemColors.ControlText; this.score1Label.Location = new System.Drawing.Point(95, 18); this.score1Label.Name = "score1Label"; this.score1Label.Size = new System.Drawing.Size(50, 20); this.score1Label.TabIndex = 1; this.score1Label.Text = "Score 1"; this.score1Label.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // score1ETextBox // this.score1ETextBox.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.score1ETextBox.Location = new System.Drawing.Point(95, 40); this.score1ETextBox.Name = "score1ETextBox"; this.score1ETextBox.Size = new System.Drawing.Size(50, 23); this.score1ETextBox.TabIndex = 0; this.score1ETextBox.TextChanged += new System.EventHandler(this.scoreTextBox_TextChanged); // // Ch12Smp3BForm // this.AcceptButton = this.calcButton; this.AutoScaleBaseSize = new System.Drawing.Size(6, 16); this.CancelButton = this.quitButton; this.ClientSize = new System.Drawing.Size(357, 158); this.Controls.Add(this.gradeDisplay); this.Controls.Add(this.avgDisplay); this.Controls.Add(this.quitButton); this.Controls.Add(this.calcButton); this.Controls.Add(this.gradeLabel); this.Controls.Add(this.avgLabel); this.Controls.Add(this.score3Label); this.Controls.Add(this.score3ETextBox); this.Controls.Add(this.score2Label); this.Controls.Add(this.score2ETextBox); this.Controls.Add(this.score1Label); this.Controls.Add(this.score1ETextBox); this.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.Name = "Ch12Smp3BForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Ch12Smp3B: Grade Calculator"; this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Ch14Prb2Form)); this.jobETextBox = new ETextBox(); this.userETextBox = new LibETextBox.ETextBox(); this.jobLabel = new System.Windows.Forms.Label(); this.userLabel = new System.Windows.Forms.Label(); this.submitButton = new System.Windows.Forms.Button(); this.processorDisplay = new System.Windows.Forms.Label(); this.processorLabel = new System.Windows.Forms.Label(); this.releaseButton = new System.Windows.Forms.Button(); this.queueSizeDisplay = new System.Windows.Forms.Label(); this.queueSizeLabel = new System.Windows.Forms.Label(); this.quitButton = new System.Windows.Forms.Button(); this.SuspendLayout(); // // jobETextBox // this.jobETextBox.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.jobETextBox.Location = new System.Drawing.Point(61, 32); this.jobETextBox.Name = "jobETextBox"; this.jobETextBox.Size = new System.Drawing.Size(100, 23); this.jobETextBox.TabIndex = 0; // // userETextBox // this.userETextBox.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.userETextBox.Location = new System.Drawing.Point(167, 32); this.userETextBox.Name = "userETextBox"; this.userETextBox.Size = new System.Drawing.Size(100, 23); this.userETextBox.TabIndex = 1; // // jobLabel // this.jobLabel.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.jobLabel.Location = new System.Drawing.Point(68, 8); this.jobLabel.Name = "jobLabel"; this.jobLabel.Size = new System.Drawing.Size(88, 23); this.jobLabel.TabIndex = 2; this.jobLabel.Text = "Job"; this.jobLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // userLabel // this.userLabel.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.userLabel.Location = new System.Drawing.Point(172, 8); this.userLabel.Name = "userLabel"; this.userLabel.Size = new System.Drawing.Size(88, 23); this.userLabel.TabIndex = 3; this.userLabel.Text = "User"; this.userLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // submitButton // this.submitButton.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.submitButton.Location = new System.Drawing.Point(84, 126); this.submitButton.Name = "submitButton"; this.submitButton.Size = new System.Drawing.Size(75, 22); this.submitButton.TabIndex = 4; this.submitButton.Text = "Submit"; this.submitButton.Click += new System.EventHandler(this.submitButton_Click); // // processorDisplay // this.processorDisplay.BackColor = System.Drawing.SystemColors.Control; this.processorDisplay.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.processorDisplay.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.processorDisplay.Location = new System.Drawing.Point(152, 87); this.processorDisplay.Name = "processorDisplay"; this.processorDisplay.Size = new System.Drawing.Size(100, 23); this.processorDisplay.TabIndex = 5; this.processorDisplay.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // processorLabel // this.processorLabel.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.processorLabel.Location = new System.Drawing.Point(160, 63); this.processorLabel.Name = "processorLabel"; this.processorLabel.Size = new System.Drawing.Size(84, 23); this.processorLabel.TabIndex = 6; this.processorLabel.Text = "Processor"; this.processorLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // releaseButton // this.releaseButton.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.releaseButton.Location = new System.Drawing.Point(170, 126); this.releaseButton.Name = "releaseButton"; this.releaseButton.Size = new System.Drawing.Size(75, 22); this.releaseButton.TabIndex = 7; this.releaseButton.Text = "Release"; this.releaseButton.Click += new System.EventHandler(this.releaseButton_Click); // // queueSizeDisplay // this.queueSizeDisplay.BackColor = System.Drawing.SystemColors.Control; this.queueSizeDisplay.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.queueSizeDisplay.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.queueSizeDisplay.Location = new System.Drawing.Point(94, 87); this.queueSizeDisplay.Name = "queueSizeDisplay"; this.queueSizeDisplay.Size = new System.Drawing.Size(50, 23); this.queueSizeDisplay.TabIndex = 8; this.queueSizeDisplay.Text = "0"; this.queueSizeDisplay.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // queueSizeLabel // this.queueSizeLabel.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.queueSizeLabel.Location = new System.Drawing.Point(77, 63); this.queueSizeLabel.Name = "queueSizeLabel"; this.queueSizeLabel.Size = new System.Drawing.Size(84, 23); this.queueSizeLabel.TabIndex = 9; this.queueSizeLabel.Text = "Queue Size"; this.queueSizeLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // quitButton // this.quitButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.quitButton.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.quitButton.Location = new System.Drawing.Point(124, 162); this.quitButton.Name = "quitButton"; this.quitButton.Size = new System.Drawing.Size(75, 22); this.quitButton.TabIndex = 10; this.quitButton.Text = "Quit"; this.quitButton.Click += new System.EventHandler(this.quitButton_Click); // // Ch14Prb2Form // this.AcceptButton = this.submitButton; this.AutoScaleBaseSize = new System.Drawing.Size(6, 16); this.CancelButton = this.quitButton; this.ClientSize = new System.Drawing.Size(329, 200); this.Controls.Add(this.quitButton); this.Controls.Add(this.queueSizeLabel); this.Controls.Add(this.queueSizeDisplay); this.Controls.Add(this.releaseButton); this.Controls.Add(this.processorLabel); this.Controls.Add(this.processorDisplay); this.Controls.Add(this.submitButton); this.Controls.Add(this.userLabel); this.Controls.Add(this.jobLabel); this.Controls.Add(this.userETextBox); this.Controls.Add(this.jobETextBox); this.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.Name = "Ch14Prb2Form"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Ch14Prb2: Job Queue"; this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { this.idLabel = new System.Windows.Forms.Label(); this.nameETextBox = new LibETextBox.ETextBox(); this.nameLabel = new System.Windows.Forms.Label(); this.birthDateLabel = new System.Windows.Forms.Label(); this.salaryLabel = new System.Windows.Forms.Label(); this.hoursETextBox = new LibETextBox.ETextBox(); this.okButton = new System.Windows.Forms.Button(); this.cancelButton = new System.Windows.Forms.Button(); this.majorLabel = new System.Windows.Forms.Label(); this.majorETextBox = new LibETextBox.ETextBox(); this.gpaLabel = new System.Windows.Forms.Label(); this.gpaETextBox = new LibETextBox.ETextBox(); this.idDisplay = new System.Windows.Forms.Label(); this.birthDateETextBox = new LibETextBox.ETextBox(); this.SuspendLayout(); // // idLabel // this.idLabel.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.idLabel.Location = new System.Drawing.Point(94, 11); this.idLabel.Name = "idLabel"; this.idLabel.Size = new System.Drawing.Size(24, 16); this.idLabel.TabIndex = 1; this.idLabel.Text = "ID"; this.idLabel.TextAlign = System.Drawing.ContentAlignment.TopCenter; // // nameETextBox // this.nameETextBox.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.nameETextBox.Location = new System.Drawing.Point(11, 75); this.nameETextBox.MaxLength = 15; this.nameETextBox.Name = "nameETextBox"; this.nameETextBox.Size = new System.Drawing.Size(115, 23); this.nameETextBox.TabIndex = 2; // // nameLabel // this.nameLabel.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.nameLabel.Location = new System.Drawing.Point(11, 57); this.nameLabel.Name = "nameLabel"; this.nameLabel.Size = new System.Drawing.Size(99, 16); this.nameLabel.TabIndex = 3; this.nameLabel.Text = "Name"; this.nameLabel.TextAlign = System.Drawing.ContentAlignment.TopCenter; // // birthDateLabel // this.birthDateLabel.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.birthDateLabel.Location = new System.Drawing.Point(138, 57); this.birthDateLabel.Name = "birthDateLabel"; this.birthDateLabel.Size = new System.Drawing.Size(64, 16); this.birthDateLabel.TabIndex = 7; this.birthDateLabel.Text = "Birth Date"; this.birthDateLabel.TextAlign = System.Drawing.ContentAlignment.TopCenter; // // salaryLabel // this.salaryLabel.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.salaryLabel.Location = new System.Drawing.Point(78, 105); this.salaryLabel.Name = "salaryLabel"; this.salaryLabel.Size = new System.Drawing.Size(56, 16); this.salaryLabel.TabIndex = 11; this.salaryLabel.Text = "Hours"; this.salaryLabel.TextAlign = System.Drawing.ContentAlignment.TopCenter; // // hoursETextBox // this.hoursETextBox.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.hoursETextBox.Location = new System.Drawing.Point(77, 123); this.hoursETextBox.MaxLength = 9; this.hoursETextBox.Name = "hoursETextBox"; this.hoursETextBox.Size = new System.Drawing.Size(59, 23); this.hoursETextBox.TabIndex = 10; // // okButton // this.okButton.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.okButton.Location = new System.Drawing.Point(45, 158); this.okButton.Name = "okButton"; this.okButton.Size = new System.Drawing.Size(56, 23); this.okButton.TabIndex = 14; this.okButton.Text = "OK"; this.okButton.Click += new System.EventHandler(this.okButton_Click); // // cancelButton // this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.cancelButton.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.cancelButton.Location = new System.Drawing.Point(109, 158); this.cancelButton.Name = "cancelButton"; this.cancelButton.Size = new System.Drawing.Size(56, 23); this.cancelButton.TabIndex = 15; this.cancelButton.Text = "Cancel"; // // majorLabel // this.majorLabel.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.majorLabel.Location = new System.Drawing.Point(13, 105); this.majorLabel.Name = "majorLabel"; this.majorLabel.Size = new System.Drawing.Size(56, 16); this.majorLabel.TabIndex = 9; this.majorLabel.Text = "Major"; this.majorLabel.TextAlign = System.Drawing.ContentAlignment.TopCenter; // // majorETextBox // this.majorETextBox.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.majorETextBox.Location = new System.Drawing.Point(11, 123); this.majorETextBox.MaxLength = 4; this.majorETextBox.Name = "majorETextBox"; this.majorETextBox.Size = new System.Drawing.Size(59, 23); this.majorETextBox.TabIndex = 8; // // gpaLabel // this.gpaLabel.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gpaLabel.Location = new System.Drawing.Point(144, 105); this.gpaLabel.Name = "gpaLabel"; this.gpaLabel.Size = new System.Drawing.Size(56, 16); this.gpaLabel.TabIndex = 13; this.gpaLabel.Text = "GPA"; this.gpaLabel.TextAlign = System.Drawing.ContentAlignment.TopCenter; // // gpaETextBox // this.gpaETextBox.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gpaETextBox.Location = new System.Drawing.Point(143, 123); this.gpaETextBox.MaxLength = 4; this.gpaETextBox.Name = "gpaETextBox"; this.gpaETextBox.Size = new System.Drawing.Size(59, 23); this.gpaETextBox.TabIndex = 12; // // idDisplay // this.idDisplay.BackColor = System.Drawing.SystemColors.Control; this.idDisplay.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.idDisplay.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.idDisplay.Location = new System.Drawing.Point(84, 29); this.idDisplay.Name = "idDisplay"; this.idDisplay.Size = new System.Drawing.Size(44, 23); this.idDisplay.TabIndex = 0; this.idDisplay.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // birthDateETextBox // this.birthDateETextBox.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.birthDateETextBox.Location = new System.Drawing.Point(132, 75); this.birthDateETextBox.MaxLength = 10; this.birthDateETextBox.Name = "birthDateETextBox"; this.birthDateETextBox.Size = new System.Drawing.Size(70, 23); this.birthDateETextBox.TabIndex = 6; // // AddUpdateDialog // this.AcceptButton = this.okButton; this.AutoScaleBaseSize = new System.Drawing.Size(6, 16); this.CancelButton = this.cancelButton; this.ClientSize = new System.Drawing.Size(212, 196); this.ControlBox = false; this.Controls.Add(this.birthDateETextBox); this.Controls.Add(this.idDisplay); this.Controls.Add(this.gpaLabel); this.Controls.Add(this.gpaETextBox); this.Controls.Add(this.majorETextBox); this.Controls.Add(this.hoursETextBox); this.Controls.Add(this.nameETextBox); this.Controls.Add(this.majorLabel); this.Controls.Add(this.cancelButton); this.Controls.Add(this.okButton); this.Controls.Add(this.salaryLabel); this.Controls.Add(this.birthDateLabel); this.Controls.Add(this.nameLabel); this.Controls.Add(this.idLabel); this.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.Location = new System.Drawing.Point(300, 275); this.MaximizeBox = false; this.Name = "AddUpdateDialog"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Add/Update Student"; this.Load += new System.EventHandler(this.AddUpdateDialog_Load); this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Ch15Smp2Form)); this.findLabel = new System.Windows.Forms.Label(); this.findETextBox = new LibETextBox.ETextBox(); this.dataGridView = new System.Windows.Forms.DataGridView(); this.gridViewContextMenu = new System.Windows.Forms.ContextMenuStrip(this.components); this.addContextMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.deleteContextMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.updateContextMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.countDisplay = new System.Windows.Forms.Label(); this.ofLabel = new System.Windows.Forms.Label(); this.countLabel = new System.Windows.Forms.Label(); this.positionDisplay = new System.Windows.Forms.Label(); this.mainMenu = new System.Windows.Forms.MenuStrip(); this.fileMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.createReportMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.viewReportMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.seperator1MenuItem = new System.Windows.Forms.ToolStripSeparator(); this.exitMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.editMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.addMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.deleteMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.updateMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.helpMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.aboutMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.studentIDCol = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.nameCol = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.birthDateCol = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.majorCol = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.hoursCol = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.gpaCol = new System.Windows.Forms.DataGridViewTextBoxColumn(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView)).BeginInit(); this.gridViewContextMenu.SuspendLayout(); this.mainMenu.SuspendLayout(); this.SuspendLayout(); // // findLabel // this.findLabel.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.findLabel.Location = new System.Drawing.Point(441, 26); this.findLabel.Name = "findLabel"; this.findLabel.Size = new System.Drawing.Size(111, 23); this.findLabel.TabIndex = 2; this.findLabel.Text = "Find ID"; this.findLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // findETextBox // this.findETextBox.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.findETextBox.Location = new System.Drawing.Point(443, 50); this.findETextBox.Name = "findETextBox"; this.findETextBox.Size = new System.Drawing.Size(111, 23); this.findETextBox.TabIndex = 3; this.findETextBox.DoubleClick += new System.EventHandler(this.findTextBox_DoubleClick); this.findETextBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.findTextBox_KeyDown); // // dataGridView // this.dataGridView.AllowUserToAddRows = false; this.dataGridView.AllowUserToDeleteRows = false; this.dataGridView.AllowUserToResizeColumns = false; this.dataGridView.AllowUserToResizeRows = false; dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control; dataGridViewCellStyle1.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText; dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True; this.dataGridView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1; this.dataGridView.ColumnHeadersHeight = 30; this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing; this.dataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.studentIDCol, this.nameCol, this.birthDateCol, this.majorCol, this.hoursCol, this.gpaCol}); this.dataGridView.ContextMenuStrip = this.gridViewContextMenu; this.dataGridView.Dock = System.Windows.Forms.DockStyle.Bottom; this.dataGridView.Location = new System.Drawing.Point(0, 79); this.dataGridView.MultiSelect = false; this.dataGridView.Name = "dataGridView"; this.dataGridView.ReadOnly = true; dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; dataGridViewCellStyle7.BackColor = System.Drawing.SystemColors.Control; dataGridViewCellStyle7.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); dataGridViewCellStyle7.ForeColor = System.Drawing.SystemColors.WindowText; dataGridViewCellStyle7.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle7.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.True; this.dataGridView.RowHeadersDefaultCellStyle = dataGridViewCellStyle7; this.dataGridView.RowHeadersWidth = 51; this.dataGridView.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing; this.dataGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.dataGridView.Size = new System.Drawing.Size(560, 339); this.dataGridView.TabIndex = 0; this.dataGridView.ColumnHeaderMouseClick += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.dataGridView_ColumnHeaderMouseClick); this.dataGridView.RowEnter += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView_RowEnter); this.dataGridView.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dataGridView_KeyDown); // // gridViewContextMenu // this.gridViewContextMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.addContextMenuItem, this.deleteContextMenuItem, this.updateContextMenuItem}); this.gridViewContextMenu.Name = "gridViewContextMenu"; this.gridViewContextMenu.Size = new System.Drawing.Size(122, 70); // // addContextMenuItem // this.addContextMenuItem.Name = "addContextMenuItem"; this.addContextMenuItem.Size = new System.Drawing.Size(121, 22); this.addContextMenuItem.Text = "&Add..."; this.addContextMenuItem.Click += new System.EventHandler(this.addMenuItem_Click); // // deleteContextMenuItem // this.deleteContextMenuItem.Name = "deleteContextMenuItem"; this.deleteContextMenuItem.Size = new System.Drawing.Size(121, 22); this.deleteContextMenuItem.Text = "&Delete..."; this.deleteContextMenuItem.Click += new System.EventHandler(this.deleteMenuItem_Click); // // updateContextMenuItem // this.updateContextMenuItem.Name = "updateContextMenuItem"; this.updateContextMenuItem.Size = new System.Drawing.Size(121, 22); this.updateContextMenuItem.Text = "&Update..."; this.updateContextMenuItem.Click += new System.EventHandler(this.updateMenuItem_Click); // // countDisplay // this.countDisplay.BackColor = System.Drawing.SystemColors.Control; this.countDisplay.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.countDisplay.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.countDisplay.Location = new System.Drawing.Point(70, 50); this.countDisplay.Name = "countDisplay"; this.countDisplay.Size = new System.Drawing.Size(43, 23); this.countDisplay.TabIndex = 7; this.countDisplay.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // ofLabel // this.ofLabel.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.ofLabel.Location = new System.Drawing.Point(47, 50); this.ofLabel.Name = "ofLabel"; this.ofLabel.Size = new System.Drawing.Size(22, 23); this.ofLabel.TabIndex = 6; this.ofLabel.Text = "of"; this.ofLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // countLabel // this.countLabel.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.countLabel.Location = new System.Drawing.Point(4, 26); this.countLabel.Name = "countLabel"; this.countLabel.Size = new System.Drawing.Size(111, 23); this.countLabel.TabIndex = 4; this.countLabel.Text = "Selected Record"; this.countLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // positionDisplay // this.positionDisplay.BackColor = System.Drawing.SystemColors.Control; this.positionDisplay.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.positionDisplay.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.positionDisplay.Location = new System.Drawing.Point(4, 50); this.positionDisplay.Name = "positionDisplay"; this.positionDisplay.Size = new System.Drawing.Size(43, 23); this.positionDisplay.TabIndex = 5; this.positionDisplay.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // mainMenu // this.mainMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.fileMenuItem, this.editMenuItem, this.helpMenuItem}); this.mainMenu.Location = new System.Drawing.Point(0, 0); this.mainMenu.Name = "mainMenu"; this.mainMenu.Padding = new System.Windows.Forms.Padding(7, 2, 0, 2); this.mainMenu.Size = new System.Drawing.Size(560, 24); this.mainMenu.TabIndex = 16; this.mainMenu.Text = "mainMenu"; // // fileMenuItem // this.fileMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.createReportMenuItem, this.viewReportMenuItem, this.seperator1MenuItem, this.exitMenuItem}); this.fileMenuItem.Name = "fileMenuItem"; this.fileMenuItem.Size = new System.Drawing.Size(37, 20); this.fileMenuItem.Text = "&File"; // // createReportMenuItem // this.createReportMenuItem.Name = "createReportMenuItem"; this.createReportMenuItem.Size = new System.Drawing.Size(146, 22); this.createReportMenuItem.Text = "&Create Report"; this.createReportMenuItem.Click += new System.EventHandler(this.createReportMenuItem_Click); // // viewReportMenuItem // this.viewReportMenuItem.Name = "viewReportMenuItem"; this.viewReportMenuItem.Size = new System.Drawing.Size(146, 22); this.viewReportMenuItem.Text = "&View Report"; this.viewReportMenuItem.Click += new System.EventHandler(this.viewReportMenuItem_Click); // // seperator1MenuItem // this.seperator1MenuItem.Name = "seperator1MenuItem"; this.seperator1MenuItem.Size = new System.Drawing.Size(143, 6); // // exitMenuItem // this.exitMenuItem.Name = "exitMenuItem"; this.exitMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.X))); this.exitMenuItem.Size = new System.Drawing.Size(146, 22); this.exitMenuItem.Text = "E&xit"; this.exitMenuItem.Click += new System.EventHandler(this.exitMenuItem_Click); // // editMenuItem // this.editMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.addMenuItem, this.deleteMenuItem, this.updateMenuItem}); this.editMenuItem.Name = "editMenuItem"; this.editMenuItem.Size = new System.Drawing.Size(39, 20); this.editMenuItem.Text = "&Edit"; // // addMenuItem // this.addMenuItem.Name = "addMenuItem"; this.addMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.A))); this.addMenuItem.Size = new System.Drawing.Size(163, 22); this.addMenuItem.Text = "&Add..."; this.addMenuItem.Click += new System.EventHandler(this.addMenuItem_Click); // // deleteMenuItem // this.deleteMenuItem.Name = "deleteMenuItem"; this.deleteMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.D))); this.deleteMenuItem.Size = new System.Drawing.Size(163, 22); this.deleteMenuItem.Text = "&Delete..."; this.deleteMenuItem.Click += new System.EventHandler(this.deleteMenuItem_Click); // // updateMenuItem // this.updateMenuItem.Name = "updateMenuItem"; this.updateMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.U))); this.updateMenuItem.Size = new System.Drawing.Size(163, 22); this.updateMenuItem.Text = "&Update..."; this.updateMenuItem.Click += new System.EventHandler(this.updateMenuItem_Click); // // helpMenuItem // this.helpMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.aboutMenuItem}); this.helpMenuItem.Name = "helpMenuItem"; this.helpMenuItem.Size = new System.Drawing.Size(44, 20); this.helpMenuItem.Text = "&Help"; // // aboutMenuItem // this.aboutMenuItem.Name = "aboutMenuItem"; this.aboutMenuItem.ShortcutKeys = System.Windows.Forms.Keys.F1; this.aboutMenuItem.Size = new System.Drawing.Size(135, 22); this.aboutMenuItem.Text = "&About..."; this.aboutMenuItem.Click += new System.EventHandler(this.aboutMenuItem_Click); // // studentIDCol // dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; dataGridViewCellStyle2.Font = new System.Drawing.Font("Segoe UI Semibold", 9F); this.studentIDCol.DefaultCellStyle = dataGridViewCellStyle2; this.studentIDCol.HeaderText = "ID"; this.studentIDCol.Name = "studentIDCol"; this.studentIDCol.ReadOnly = true; this.studentIDCol.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Programmatic; this.studentIDCol.Width = 60; // // nameCol // this.nameCol.HeaderText = "Name"; this.nameCol.MaxInputLength = 12; this.nameCol.Name = "nameCol"; this.nameCol.ReadOnly = true; this.nameCol.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Programmatic; this.nameCol.Width = 150; // // birthDateCol // dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.birthDateCol.DefaultCellStyle = dataGridViewCellStyle3; this.birthDateCol.HeaderText = "Birth Date"; this.birthDateCol.Name = "birthDateCol"; this.birthDateCol.ReadOnly = true; this.birthDateCol.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Programmatic; this.birthDateCol.Width = 90; // // majorCol // dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.majorCol.DefaultCellStyle = dataGridViewCellStyle4; this.majorCol.HeaderText = "Major"; this.majorCol.Name = "majorCol"; this.majorCol.ReadOnly = true; this.majorCol.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Programmatic; this.majorCol.Width = 65; // // hoursCol // dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; dataGridViewCellStyle5.Format = "N2"; dataGridViewCellStyle5.NullValue = null; this.hoursCol.DefaultCellStyle = dataGridViewCellStyle5; this.hoursCol.HeaderText = "Hours"; this.hoursCol.Name = "hoursCol"; this.hoursCol.ReadOnly = true; this.hoursCol.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Programmatic; this.hoursCol.Width = 65; // // gpaCol // dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; this.gpaCol.DefaultCellStyle = dataGridViewCellStyle6; this.gpaCol.HeaderText = "GPA"; this.gpaCol.Name = "gpaCol"; this.gpaCol.ReadOnly = true; this.gpaCol.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Programmatic; this.gpaCol.Width = 60; // // Ch15Smp2Form // this.AutoScaleBaseSize = new System.Drawing.Size(6, 16); this.ClientSize = new System.Drawing.Size(560, 418); this.Controls.Add(this.mainMenu); this.Controls.Add(this.countDisplay); this.Controls.Add(this.ofLabel); this.Controls.Add(this.countLabel); this.Controls.Add(this.positionDisplay); this.Controls.Add(this.dataGridView); this.Controls.Add(this.findETextBox); this.Controls.Add(this.findLabel); this.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Location = new System.Drawing.Point(175, 50); this.MaximizeBox = false; this.Name = "Ch15Smp2Form"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Ch15Smp2: Student List Maintenance"; this.Load += new System.EventHandler(this.Ch15Smp2Form_Load); ((System.ComponentModel.ISupportInitialize)(this.dataGridView)).EndInit(); this.gridViewContextMenu.ResumeLayout(false); this.mainMenu.ResumeLayout(false); this.mainMenu.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Ch16Smp2Form)); this.valueETextBox = new LibETextBox.ETextBox(); this.valueLabel = new System.Windows.Forms.Label(); this.factorialDisplay = new System.Windows.Forms.Label(); this.factorialLabel = new System.Windows.Forms.Label(); this.calculateButton = new System.Windows.Forms.Button(); this.quitButton = new System.Windows.Forms.Button(); this.SuspendLayout(); // // valueETextBox // this.valueETextBox.Location = new System.Drawing.Point(159, 32); this.valueETextBox.Name = "valueETextBox"; this.valueETextBox.Size = new System.Drawing.Size(40, 23); this.valueETextBox.TabIndex = 0; this.valueETextBox.TextChanged += new System.EventHandler(this.valueTextBox_TextChanged); // // valueLabel // this.valueLabel.Location = new System.Drawing.Point(159, 8); this.valueLabel.Name = "valueLabel"; this.valueLabel.Size = new System.Drawing.Size(40, 20); this.valueLabel.TabIndex = 1; this.valueLabel.Text = "n"; this.valueLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // factorialDisplay // this.factorialDisplay.BackColor = System.Drawing.SystemColors.Control; this.factorialDisplay.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.factorialDisplay.Location = new System.Drawing.Point(77, 88); this.factorialDisplay.Name = "factorialDisplay"; this.factorialDisplay.Size = new System.Drawing.Size(205, 23); this.factorialDisplay.TabIndex = 2; this.factorialDisplay.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // factorialLabel // this.factorialLabel.Location = new System.Drawing.Point(137, 64); this.factorialLabel.Name = "factorialLabel"; this.factorialLabel.Size = new System.Drawing.Size(84, 20); this.factorialLabel.TabIndex = 3; this.factorialLabel.Text = "n!"; this.factorialLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // calculateButton // this.calculateButton.Location = new System.Drawing.Point(94, 131); this.calculateButton.Name = "calculateButton"; this.calculateButton.Size = new System.Drawing.Size(75, 22); this.calculateButton.TabIndex = 4; this.calculateButton.Text = "Calculate"; this.calculateButton.Click += new System.EventHandler(this.calculateButton_Click); // // quitButton // this.quitButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.quitButton.Location = new System.Drawing.Point(182, 131); this.quitButton.Name = "quitButton"; this.quitButton.Size = new System.Drawing.Size(75, 22); this.quitButton.TabIndex = 5; this.quitButton.Text = "Quit"; this.quitButton.Click += new System.EventHandler(this.quitButton_Click); // // Ch16Smp2Form // this.AcceptButton = this.calculateButton; this.AutoScaleBaseSize = new System.Drawing.Size(6, 16); this.CancelButton = this.quitButton; this.ClientSize = new System.Drawing.Size(359, 174); this.Controls.Add(this.quitButton); this.Controls.Add(this.calculateButton); this.Controls.Add(this.factorialLabel); this.Controls.Add(this.factorialDisplay); this.Controls.Add(this.valueLabel); this.Controls.Add(this.valueETextBox); this.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.Name = "Ch16Smp2Form"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Ch16Smp2 – Recursive Factorial"; this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.nameETextBox = new LibETextBox.ETextBox(); this.nameLabel = new System.Windows.Forms.Label(); this.flightLabel = new System.Windows.Forms.Label(); this.cancelButton = new System.Windows.Forms.Button(); this.okButton = new System.Windows.Forms.Button(); this.flightNumComboBox = new System.Windows.Forms.ComboBox(); this.SuspendLayout(); // // nameETextBox // this.nameETextBox.Location = new System.Drawing.Point(14, 32); this.nameETextBox.Name = "nameETextBox"; this.nameETextBox.Size = new System.Drawing.Size(96, 23); this.nameETextBox.TabIndex = 0; // // nameLabel // this.nameLabel.Location = new System.Drawing.Point(22, 8); this.nameLabel.Name = "nameLabel"; this.nameLabel.Size = new System.Drawing.Size(80, 23); this.nameLabel.TabIndex = 1; this.nameLabel.Text = "Name"; this.nameLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // flightLabel // this.flightLabel.Location = new System.Drawing.Point(117, 8); this.flightLabel.Name = "flightLabel"; this.flightLabel.Size = new System.Drawing.Size(50, 23); this.flightLabel.TabIndex = 3; this.flightLabel.Text = "Flight"; this.flightLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // cancelButton // this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.cancelButton.Location = new System.Drawing.Point(89, 67); this.cancelButton.Name = "cancelButton"; this.cancelButton.Size = new System.Drawing.Size(56, 23); this.cancelButton.TabIndex = 22; this.cancelButton.Text = "Cancel"; // // okButton // this.okButton.Location = new System.Drawing.Point(25, 67); this.okButton.Name = "okButton"; this.okButton.Size = new System.Drawing.Size(56, 23); this.okButton.TabIndex = 21; this.okButton.Text = "OK"; this.okButton.Click += new System.EventHandler(this.okButton_Click); // // flightNumComboBox // this.flightNumComboBox.FormattingEnabled = true; this.flightNumComboBox.Location = new System.Drawing.Point(116, 32); this.flightNumComboBox.Name = "flightNumComboBox"; this.flightNumComboBox.Size = new System.Drawing.Size(50, 23); this.flightNumComboBox.TabIndex = 23; this.flightNumComboBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.flightNumComboBox_KeyDown); this.flightNumComboBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.flightNumComboBox_KeyPress); // // AddDialog // this.AcceptButton = this.okButton; this.AutoScaleBaseSize = new System.Drawing.Size(6, 16); this.CancelButton = this.cancelButton; this.ClientSize = new System.Drawing.Size(180, 99); this.ControlBox = false; this.Controls.Add(this.flightNumComboBox); this.Controls.Add(this.cancelButton); this.Controls.Add(this.okButton); this.Controls.Add(this.flightLabel); this.Controls.Add(this.nameETextBox); this.Controls.Add(this.nameLabel); this.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D; this.MaximizeBox = false; this.Name = "AddDialog"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Add Reservation"; this.Load += new System.EventHandler(this.AddDialog_Load); this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Ch16Smp3Form)); this.patternLengthETextBox = new LibETextBox.ETextBox(); this.patternLengthLabel = new System.Windows.Forms.Label(); this.numOfCharsLabel = new System.Windows.Forms.Label(); this.numOfCharsETextBox = new LibETextBox.ETextBox(); this.patternCountLabel = new System.Windows.Forms.Label(); this.recurCallsLabel = new System.Windows.Forms.Label(); this.patternCountDisplay = new System.Windows.Forms.Label(); this.recurCallsDisplay = new System.Windows.Forms.Label(); this.generateButton = new System.Windows.Forms.Button(); this.quitButton = new System.Windows.Forms.Button(); this.mainMenu = new System.Windows.Forms.MainMenu(this.components); this.fileMenuItem = new System.Windows.Forms.MenuItem(); this.viewMenuItem = new System.Windows.Forms.MenuItem(); this.exitMenuItem = new System.Windows.Forms.MenuItem(); this.helpMenuItem = new System.Windows.Forms.MenuItem(); this.aboutMenuItem = new System.Windows.Forms.MenuItem(); this.SuspendLayout(); // // patternLengthETextBox // this.patternLengthETextBox.Location = new System.Drawing.Point(118, 32); this.patternLengthETextBox.Name = "patternLengthETextBox"; this.patternLengthETextBox.Size = new System.Drawing.Size(56, 23); this.patternLengthETextBox.TabIndex = 0; this.patternLengthETextBox.TextChanged += new System.EventHandler(this.textBox_TextChanged); // // patternLengthLabel // this.patternLengthLabel.Location = new System.Drawing.Point(105, 8); this.patternLengthLabel.Name = "patternLengthLabel"; this.patternLengthLabel.Size = new System.Drawing.Size(91, 24); this.patternLengthLabel.TabIndex = 1; this.patternLengthLabel.Text = "Pattern Length"; this.patternLengthLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // numOfCharsLabel // this.numOfCharsLabel.Location = new System.Drawing.Point(225, 8); this.numOfCharsLabel.Name = "numOfCharsLabel"; this.numOfCharsLabel.Size = new System.Drawing.Size(82, 24); this.numOfCharsLabel.TabIndex = 3; this.numOfCharsLabel.Text = "Num of Chars"; this.numOfCharsLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // numOfCharsETextBox // this.numOfCharsETextBox.Location = new System.Drawing.Point(238, 32); this.numOfCharsETextBox.Name = "numOfCharsETextBox"; this.numOfCharsETextBox.Size = new System.Drawing.Size(56, 23); this.numOfCharsETextBox.TabIndex = 2; this.numOfCharsETextBox.TextChanged += new System.EventHandler(this.textBox_TextChanged); // // patternCountLabel // this.patternCountLabel.Location = new System.Drawing.Point(94, 64); this.patternCountLabel.Name = "patternCountLabel"; this.patternCountLabel.Size = new System.Drawing.Size(96, 24); this.patternCountLabel.TabIndex = 5; this.patternCountLabel.Text = "Pattern Count"; this.patternCountLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // recurCallsLabel // this.recurCallsLabel.Location = new System.Drawing.Point(214, 64); this.recurCallsLabel.Name = "recurCallsLabel"; this.recurCallsLabel.Size = new System.Drawing.Size(96, 24); this.recurCallsLabel.TabIndex = 7; this.recurCallsLabel.Text = "Recursive Calls"; this.recurCallsLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // patternCountDisplay // this.patternCountDisplay.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.patternCountDisplay.Location = new System.Drawing.Point(86, 88); this.patternCountDisplay.Name = "patternCountDisplay"; this.patternCountDisplay.Size = new System.Drawing.Size(108, 23); this.patternCountDisplay.TabIndex = 4; this.patternCountDisplay.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // recurCallsDisplay // this.recurCallsDisplay.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.recurCallsDisplay.Location = new System.Drawing.Point(206, 88); this.recurCallsDisplay.Name = "recurCallsDisplay"; this.recurCallsDisplay.Size = new System.Drawing.Size(108, 23); this.recurCallsDisplay.TabIndex = 6; this.recurCallsDisplay.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // generateButton // this.generateButton.Location = new System.Drawing.Point(118, 131); this.generateButton.Name = "generateButton"; this.generateButton.Size = new System.Drawing.Size(75, 22); this.generateButton.TabIndex = 8; this.generateButton.Text = "Generate"; this.generateButton.Click += new System.EventHandler(this.generateButton_Click); // // quitButton // this.quitButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.quitButton.Location = new System.Drawing.Point(204, 131); this.quitButton.Name = "quitButton"; this.quitButton.Size = new System.Drawing.Size(75, 22); this.quitButton.TabIndex = 9; this.quitButton.Text = "Quit"; this.quitButton.Click += new System.EventHandler(this.quitButton_Click); // // mainMenu // this.mainMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.fileMenuItem, this.helpMenuItem}); // // fileMenuItem // this.fileMenuItem.Index = 0; this.fileMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.viewMenuItem, this.exitMenuItem}); this.fileMenuItem.Text = "&File"; // // viewMenuItem // this.viewMenuItem.Index = 0; this.viewMenuItem.Shortcut = System.Windows.Forms.Shortcut.CtrlV; this.viewMenuItem.Text = "&View Patterns"; this.viewMenuItem.Click += new System.EventHandler(this.viewMenuItem_Click); // // exitMenuItem // this.exitMenuItem.Index = 1; this.exitMenuItem.Text = "&Exit"; // // helpMenuItem // this.helpMenuItem.Index = 1; this.helpMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.aboutMenuItem}); this.helpMenuItem.Text = "&Help"; // // aboutMenuItem // this.aboutMenuItem.Index = 0; this.aboutMenuItem.Shortcut = System.Windows.Forms.Shortcut.F1; this.aboutMenuItem.Text = "&About..."; this.aboutMenuItem.Click += new System.EventHandler(this.aboutMenuItem_Click); // // Ch16Smp3Form // this.AcceptButton = this.generateButton; this.AutoScaleBaseSize = new System.Drawing.Size(6, 16); this.CancelButton = this.quitButton; this.ClientSize = new System.Drawing.Size(401, 170); this.Controls.Add(this.quitButton); this.Controls.Add(this.generateButton); this.Controls.Add(this.recurCallsDisplay); this.Controls.Add(this.patternCountDisplay); this.Controls.Add(this.recurCallsLabel); this.Controls.Add(this.patternCountLabel); this.Controls.Add(this.numOfCharsLabel); this.Controls.Add(this.numOfCharsETextBox); this.Controls.Add(this.patternLengthLabel); this.Controls.Add(this.patternLengthETextBox); this.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.Menu = this.mainMenu; this.Name = "Ch16Smp3Form"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Ch16Smp3 – Alpha Character Patterns"; this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Ch15Smp1Form)); this.infixAETextBox = new AETextBox(); this.infixLabel = new System.Windows.Forms.Label(); this.postfixDisplay = new System.Windows.Forms.Label(); this.postfixLabel = new System.Windows.Forms.Label(); this.calcButton = new System.Windows.Forms.Button(); this.quitButton = new System.Windows.Forms.Button(); this.aTextBox = new ETextBox(); this.bTextBox = new ETextBox(); this.cTextBox = new ETextBox(); this.dTextBox = new ETextBox(); this.aLabel = new System.Windows.Forms.Label(); this.bLabel = new System.Windows.Forms.Label(); this.cLabel = new System.Windows.Forms.Label(); this.dLabel = new System.Windows.Forms.Label(); this.valueDisplay = new System.Windows.Forms.Label(); this.valueLabel = new System.Windows.Forms.Label(); this.sLabel = new System.Windows.Forms.Label(); this.sTextBox = new ETextBox(); this.tLabel = new System.Windows.Forms.Label(); this.tTextBox = new ETextBox(); this.SuspendLayout(); // // infixAETextBox // this.infixAETextBox.Location = new System.Drawing.Point(42, 136); this.infixAETextBox.Name = "infixAETextBox"; this.infixAETextBox.Size = new System.Drawing.Size(272, 23); this.infixAETextBox.TabIndex = 12; this.infixAETextBox.TextChanged += new System.EventHandler(this.infixTextBox_TextChanged); // // infixLabel // this.infixLabel.Location = new System.Drawing.Point(50, 112); this.infixLabel.Name = "infixLabel"; this.infixLabel.Size = new System.Drawing.Size(256, 20); this.infixLabel.TabIndex = 13; this.infixLabel.Text = "Infix Expression"; this.infixLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // postfixDisplay // this.postfixDisplay.BackColor = System.Drawing.SystemColors.Control; this.postfixDisplay.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.postfixDisplay.Location = new System.Drawing.Point(42, 192); this.postfixDisplay.Name = "postfixDisplay"; this.postfixDisplay.Size = new System.Drawing.Size(272, 20); this.postfixDisplay.TabIndex = 14; this.postfixDisplay.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // postfixLabel // this.postfixLabel.Location = new System.Drawing.Point(50, 168); this.postfixLabel.Name = "postfixLabel"; this.postfixLabel.Size = new System.Drawing.Size(256, 20); this.postfixLabel.TabIndex = 15; this.postfixLabel.Text = "Postfix Expression"; this.postfixLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // calcButton // this.calcButton.Location = new System.Drawing.Point(93, 287); this.calcButton.Name = "calcButton"; this.calcButton.Size = new System.Drawing.Size(75, 22); this.calcButton.TabIndex = 18; this.calcButton.Text = "Calculate"; this.calcButton.Click += new System.EventHandler(this.calcButton_Click); // // quitButton // this.quitButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.quitButton.Location = new System.Drawing.Point(181, 287); this.quitButton.Name = "quitButton"; this.quitButton.Size = new System.Drawing.Size(75, 22); this.quitButton.TabIndex = 19; this.quitButton.Text = "Quit"; this.quitButton.Click += new System.EventHandler(this.quitButton_Click); // // aTextBox // this.aTextBox.Location = new System.Drawing.Point(70, 29); this.aTextBox.Name = "aTextBox"; this.aTextBox.Size = new System.Drawing.Size(48, 23); this.aTextBox.TabIndex = 0; this.aTextBox.Text = "0.0"; this.aTextBox.TextChanged += new System.EventHandler(this.operandTextBox_TextChanged); // // bTextBox // this.bTextBox.Location = new System.Drawing.Point(126, 29); this.bTextBox.Name = "bTextBox"; this.bTextBox.Size = new System.Drawing.Size(48, 23); this.bTextBox.TabIndex = 2; this.bTextBox.Text = "0.0"; this.bTextBox.TextChanged += new System.EventHandler(this.operandTextBox_TextChanged); // // cTextBox // this.cTextBox.Location = new System.Drawing.Point(182, 29); this.cTextBox.Name = "cTextBox"; this.cTextBox.Size = new System.Drawing.Size(48, 23); this.cTextBox.TabIndex = 4; this.cTextBox.Text = "0.0"; this.cTextBox.TextChanged += new System.EventHandler(this.operandTextBox_TextChanged); // // dTextBox // this.dTextBox.Location = new System.Drawing.Point(238, 29); this.dTextBox.Name = "dTextBox"; this.dTextBox.Size = new System.Drawing.Size(48, 23); this.dTextBox.TabIndex = 6; this.dTextBox.Text = "0.0"; this.dTextBox.TextChanged += new System.EventHandler(this.operandTextBox_TextChanged); // // aLabel // this.aLabel.Location = new System.Drawing.Point(86, 8); this.aLabel.Name = "aLabel"; this.aLabel.Size = new System.Drawing.Size(16, 16); this.aLabel.TabIndex = 1; this.aLabel.Text = "a"; this.aLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // bLabel // this.bLabel.Location = new System.Drawing.Point(143, 8); this.bLabel.Name = "bLabel"; this.bLabel.Size = new System.Drawing.Size(16, 16); this.bLabel.TabIndex = 3; this.bLabel.Text = "b"; this.bLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // cLabel // this.cLabel.Location = new System.Drawing.Point(198, 8); this.cLabel.Name = "cLabel"; this.cLabel.Size = new System.Drawing.Size(16, 16); this.cLabel.TabIndex = 5; this.cLabel.Text = "c"; this.cLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // dLabel // this.dLabel.Location = new System.Drawing.Point(254, 8); this.dLabel.Name = "dLabel"; this.dLabel.Size = new System.Drawing.Size(16, 16); this.dLabel.TabIndex = 7; this.dLabel.Text = "d"; this.dLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // valueDisplay // this.valueDisplay.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.valueDisplay.Location = new System.Drawing.Point(140, 245); this.valueDisplay.Name = "valueDisplay"; this.valueDisplay.Size = new System.Drawing.Size(76, 20); this.valueDisplay.TabIndex = 16; this.valueDisplay.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // valueLabel // this.valueLabel.Location = new System.Drawing.Point(158, 224); this.valueLabel.Name = "valueLabel"; this.valueLabel.Size = new System.Drawing.Size(40, 16); this.valueLabel.TabIndex = 17; this.valueLabel.Text = "value"; this.valueLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // sLabel // this.sLabel.Location = new System.Drawing.Point(142, 58); this.sLabel.Name = "sLabel"; this.sLabel.Size = new System.Drawing.Size(16, 16); this.sLabel.TabIndex = 9; this.sLabel.Text = "s"; this.sLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // sTextBox // this.sTextBox.Location = new System.Drawing.Point(126, 79); this.sTextBox.Name = "sTextBox"; this.sTextBox.Size = new System.Drawing.Size(48, 23); this.sTextBox.TabIndex = 8; this.sTextBox.Text = "0.0"; // // tLabel // this.tLabel.Location = new System.Drawing.Point(198, 58); this.tLabel.Name = "tLabel"; this.tLabel.Size = new System.Drawing.Size(16, 16); this.tLabel.TabIndex = 11; this.tLabel.Text = "t"; this.tLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // tTextBox // this.tTextBox.Location = new System.Drawing.Point(182, 79); this.tTextBox.Name = "tTextBox"; this.tTextBox.Size = new System.Drawing.Size(48, 23); this.tTextBox.TabIndex = 10; this.tTextBox.Text = "0.0"; // // Ch15Smp1Form // this.AcceptButton = this.calcButton; this.AutoScaleBaseSize = new System.Drawing.Size(6, 16); this.CancelButton = this.quitButton; this.ClientSize = new System.Drawing.Size(357, 320); this.Controls.Add(this.tLabel); this.Controls.Add(this.tTextBox); this.Controls.Add(this.sLabel); this.Controls.Add(this.sTextBox); this.Controls.Add(this.valueLabel); this.Controls.Add(this.valueDisplay); this.Controls.Add(this.dLabel); this.Controls.Add(this.cLabel); this.Controls.Add(this.bLabel); this.Controls.Add(this.aLabel); this.Controls.Add(this.dTextBox); this.Controls.Add(this.cTextBox); this.Controls.Add(this.bTextBox); this.Controls.Add(this.aTextBox); this.Controls.Add(this.quitButton); this.Controls.Add(this.calcButton); this.Controls.Add(this.postfixLabel); this.Controls.Add(this.postfixDisplay); this.Controls.Add(this.infixLabel); this.Controls.Add(this.infixAETextBox); this.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.Name = "Ch15Smp1Form"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Ch15Smp1: Evaluate Infix Expression"; this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Ch14Smp3Form)); this.infixAETextBox = new LibETextBox.AETextBox(); this.infixLabel = new System.Windows.Forms.Label(); this.postfixDisplay = new System.Windows.Forms.Label(); this.postfixLabel = new System.Windows.Forms.Label(); this.calcButton = new System.Windows.Forms.Button(); this.quitButton = new System.Windows.Forms.Button(); this.aTextBox = new LibETextBox.ETextBox(); this.bTextBox = new LibETextBox.ETextBox(); this.cTextBox = new LibETextBox.ETextBox(); this.dTextBox = new LibETextBox.ETextBox(); this.aLabel = new System.Windows.Forms.Label(); this.bLabel = new System.Windows.Forms.Label(); this.cLabel = new System.Windows.Forms.Label(); this.dLabel = new System.Windows.Forms.Label(); this.valueDisplay = new System.Windows.Forms.Label(); this.valueLabel = new System.Windows.Forms.Label(); this.sLabel = new System.Windows.Forms.Label(); this.sTextBox = new LibETextBox.ETextBox(); this.tLabel = new System.Windows.Forms.Label(); this.tTextBox = new LibETextBox.ETextBox(); this.SuspendLayout(); // // infixAETextBox // this.infixAETextBox.Location = new System.Drawing.Point(56, 170); this.infixAETextBox.Name = "infixAETextBox"; this.infixAETextBox.Size = new System.Drawing.Size(363, 27); this.infixAETextBox.TabIndex = 12; this.infixAETextBox.TextChanged += new System.EventHandler(this.infixTextBox_TextChanged); // // infixLabel // this.infixLabel.Location = new System.Drawing.Point(67, 140); this.infixLabel.Name = "infixLabel"; this.infixLabel.Size = new System.Drawing.Size(341, 25); this.infixLabel.TabIndex = 13; this.infixLabel.Text = "Infix Expression"; this.infixLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // postfixDisplay // this.postfixDisplay.BackColor = System.Drawing.SystemColors.Control; this.postfixDisplay.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.postfixDisplay.Location = new System.Drawing.Point(56, 240); this.postfixDisplay.Name = "postfixDisplay"; this.postfixDisplay.Size = new System.Drawing.Size(363, 25); this.postfixDisplay.TabIndex = 14; this.postfixDisplay.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // postfixLabel // this.postfixLabel.Location = new System.Drawing.Point(67, 210); this.postfixLabel.Name = "postfixLabel"; this.postfixLabel.Size = new System.Drawing.Size(341, 25); this.postfixLabel.TabIndex = 15; this.postfixLabel.Text = "Postfix Expression"; this.postfixLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // calcButton // this.calcButton.Location = new System.Drawing.Point(124, 359); this.calcButton.Name = "calcButton"; this.calcButton.Size = new System.Drawing.Size(100, 27); this.calcButton.TabIndex = 18; this.calcButton.Text = "Calculate"; this.calcButton.Click += new System.EventHandler(this.calcButton_Click); // // quitButton // this.quitButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.quitButton.Location = new System.Drawing.Point(241, 359); this.quitButton.Name = "quitButton"; this.quitButton.Size = new System.Drawing.Size(100, 27); this.quitButton.TabIndex = 19; this.quitButton.Text = "Quit"; this.quitButton.Click += new System.EventHandler(this.quitButton_Click); // // aTextBox // this.aTextBox.Location = new System.Drawing.Point(93, 36); this.aTextBox.Name = "aTextBox"; this.aTextBox.Size = new System.Drawing.Size(64, 27); this.aTextBox.TabIndex = 0; this.aTextBox.Text = "0.0"; this.aTextBox.TextChanged += new System.EventHandler(this.operandTextBox_TextChanged); // // bTextBox // this.bTextBox.Location = new System.Drawing.Point(168, 36); this.bTextBox.Name = "bTextBox"; this.bTextBox.Size = new System.Drawing.Size(64, 27); this.bTextBox.TabIndex = 2; this.bTextBox.Text = "0.0"; this.bTextBox.TextChanged += new System.EventHandler(this.operandTextBox_TextChanged); // // cTextBox // this.cTextBox.Location = new System.Drawing.Point(243, 36); this.cTextBox.Name = "cTextBox"; this.cTextBox.Size = new System.Drawing.Size(64, 27); this.cTextBox.TabIndex = 4; this.cTextBox.Text = "0.0"; this.cTextBox.TextChanged += new System.EventHandler(this.operandTextBox_TextChanged); // // dTextBox // this.dTextBox.Location = new System.Drawing.Point(317, 36); this.dTextBox.Name = "dTextBox"; this.dTextBox.Size = new System.Drawing.Size(64, 27); this.dTextBox.TabIndex = 6; this.dTextBox.Text = "0.0"; this.dTextBox.TextChanged += new System.EventHandler(this.operandTextBox_TextChanged); // // aLabel // this.aLabel.Location = new System.Drawing.Point(115, 10); this.aLabel.Name = "aLabel"; this.aLabel.Size = new System.Drawing.Size(21, 20); this.aLabel.TabIndex = 1; this.aLabel.Text = "a"; this.aLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // bLabel // this.bLabel.Location = new System.Drawing.Point(191, 10); this.bLabel.Name = "bLabel"; this.bLabel.Size = new System.Drawing.Size(21, 20); this.bLabel.TabIndex = 3; this.bLabel.Text = "b"; this.bLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // cLabel // this.cLabel.Location = new System.Drawing.Point(264, 10); this.cLabel.Name = "cLabel"; this.cLabel.Size = new System.Drawing.Size(21, 20); this.cLabel.TabIndex = 5; this.cLabel.Text = "c"; this.cLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // dLabel // this.dLabel.Location = new System.Drawing.Point(339, 10); this.dLabel.Name = "dLabel"; this.dLabel.Size = new System.Drawing.Size(21, 20); this.dLabel.TabIndex = 7; this.dLabel.Text = "d"; this.dLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // valueDisplay // this.valueDisplay.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.valueDisplay.Location = new System.Drawing.Point(187, 306); this.valueDisplay.Name = "valueDisplay"; this.valueDisplay.Size = new System.Drawing.Size(101, 25); this.valueDisplay.TabIndex = 16; this.valueDisplay.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // valueLabel // this.valueLabel.Location = new System.Drawing.Point(211, 280); this.valueLabel.Name = "valueLabel"; this.valueLabel.Size = new System.Drawing.Size(53, 20); this.valueLabel.TabIndex = 17; this.valueLabel.Text = "value"; this.valueLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // sLabel // this.sLabel.Location = new System.Drawing.Point(189, 72); this.sLabel.Name = "sLabel"; this.sLabel.Size = new System.Drawing.Size(22, 20); this.sLabel.TabIndex = 9; this.sLabel.Text = "s"; this.sLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // sTextBox // this.sTextBox.Location = new System.Drawing.Point(168, 99); this.sTextBox.Name = "sTextBox"; this.sTextBox.Size = new System.Drawing.Size(64, 27); this.sTextBox.TabIndex = 8; this.sTextBox.Text = "0.0"; // // tLabel // this.tLabel.Location = new System.Drawing.Point(264, 72); this.tLabel.Name = "tLabel"; this.tLabel.Size = new System.Drawing.Size(21, 20); this.tLabel.TabIndex = 11; this.tLabel.Text = "t"; this.tLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // tTextBox // this.tTextBox.Location = new System.Drawing.Point(243, 99); this.tTextBox.Name = "tTextBox"; this.tTextBox.Size = new System.Drawing.Size(64, 27); this.tTextBox.TabIndex = 10; this.tTextBox.Text = "0.0"; // // Ch14Smp3Form // this.AcceptButton = this.calcButton; this.AutoScaleBaseSize = new System.Drawing.Size(8, 20); this.CancelButton = this.quitButton; this.ClientSize = new System.Drawing.Size(577, 418); this.Controls.Add(this.tLabel); this.Controls.Add(this.tTextBox); this.Controls.Add(this.sLabel); this.Controls.Add(this.sTextBox); this.Controls.Add(this.valueLabel); this.Controls.Add(this.valueDisplay); this.Controls.Add(this.dLabel); this.Controls.Add(this.cLabel); this.Controls.Add(this.bLabel); this.Controls.Add(this.aLabel); this.Controls.Add(this.dTextBox); this.Controls.Add(this.cTextBox); this.Controls.Add(this.bTextBox); this.Controls.Add(this.aTextBox); this.Controls.Add(this.quitButton); this.Controls.Add(this.calcButton); this.Controls.Add(this.postfixLabel); this.Controls.Add(this.postfixDisplay); this.Controls.Add(this.infixLabel); this.Controls.Add(this.infixAETextBox); this.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.Name = "Ch14Smp3Form"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Ch14Smp3: Evaluate Infix Expression"; this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Ch13Smp0Form)); this.findLabel = new System.Windows.Forms.Label(); this.findETextBox = new LibETextBox.ETextBox(); this.dataGridView = new System.Windows.Forms.DataGridView(); this.idCol = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.nameCol = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.hireDateCol = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.typeCol = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.earningsCol = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.FICACol = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.fedTaxCol = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.stateTaxCol = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.netPayCol = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dgvContextMenu = new System.Windows.Forms.ContextMenuStrip(this.components); this.addContextMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.commissionToolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem(); this.hourlyToolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem(); this.pieceToolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem(); this.supervisorToolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem(); this.deleteContextMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.updateContextMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.commissoinToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.hourlyToolStripMenuItem3 = new System.Windows.Forms.ToolStripMenuItem(); this.pieceToolStripMenuItem3 = new System.Windows.Forms.ToolStripMenuItem(); this.supervisorToolStripMenuItem3 = new System.Windows.Forms.ToolStripMenuItem(); this.countDisplay = new System.Windows.Forms.Label(); this.ofLabel = new System.Windows.Forms.Label(); this.countLabel = new System.Windows.Forms.Label(); this.positionDisplay = new System.Windows.Forms.Label(); this.mainMenu = new System.Windows.Forms.MenuStrip(); this.fileMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.createReportMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.viewReportMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.exitMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.editMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.addMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.commissionToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.hourlyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.pieceToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.supervisorToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.deleteMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.updateMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.commissionToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.hourlyToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.pieceToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.supervisorToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.helpMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.aboutMenuItem = new System.Windows.Forms.ToolStripMenuItem(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView)).BeginInit(); this.dgvContextMenu.SuspendLayout(); this.mainMenu.SuspendLayout(); this.SuspendLayout(); // // findLabel // this.findLabel.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.findLabel.Location = new System.Drawing.Point(699, 50); this.findLabel.Name = "findLabel"; this.findLabel.Size = new System.Drawing.Size(130, 29); this.findLabel.TabIndex = 2; this.findLabel.Text = "Find ID"; this.findLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // findETextBox // this.findETextBox.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.findETextBox.Location = new System.Drawing.Point(700, 83); this.findETextBox.Name = "findETextBox"; this.findETextBox.Size = new System.Drawing.Size(129, 27); this.findETextBox.TabIndex = 3; this.findETextBox.DoubleClick += new System.EventHandler(this.findTextBox_DoubleClick); this.findETextBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.findTextBox_KeyDown); // // dataGridView // this.dataGridView.AllowUserToAddRows = false; this.dataGridView.AllowUserToDeleteRows = false; this.dataGridView.AllowUserToResizeColumns = false; this.dataGridView.AllowUserToResizeRows = false; dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control; dataGridViewCellStyle1.Font = new System.Drawing.Font("Segoe UI Semibold", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText; dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True; this.dataGridView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1; this.dataGridView.ColumnHeadersHeight = 30; this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing; this.dataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.idCol, this.nameCol, this.hireDateCol, this.typeCol, this.earningsCol, this.FICACol, this.fedTaxCol, this.stateTaxCol, this.netPayCol}); this.dataGridView.ContextMenuStrip = this.dgvContextMenu; this.dataGridView.Dock = System.Windows.Forms.DockStyle.Bottom; this.dataGridView.Location = new System.Drawing.Point(0, 114); this.dataGridView.MultiSelect = false; this.dataGridView.Name = "dataGridView"; this.dataGridView.ReadOnly = true; dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Control; dataGridViewCellStyle3.Font = new System.Drawing.Font("Segoe UI Semibold", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.WindowText; dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True; this.dataGridView.RowHeadersDefaultCellStyle = dataGridViewCellStyle3; this.dataGridView.RowHeadersWidth = 51; this.dataGridView.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing; this.dataGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.dataGridView.Size = new System.Drawing.Size(841, 348); this.dataGridView.TabIndex = 0; this.dataGridView.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView_CellContentClick); this.dataGridView.ColumnHeaderMouseClick += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.dataGridView_ColumnHeaderMouseClick); this.dataGridView.RowEnter += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView_RowEnter); this.dataGridView.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dataGridView_KeyDown); // // idCol // dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.idCol.DefaultCellStyle = dataGridViewCellStyle2; this.idCol.HeaderText = "ID"; this.idCol.Name = "idCol"; this.idCol.ReadOnly = true; this.idCol.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Programmatic; this.idCol.Width = 60; // // nameCol // this.nameCol.HeaderText = "Name"; this.nameCol.Name = "nameCol"; this.nameCol.ReadOnly = true; this.nameCol.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Programmatic; this.nameCol.Width = 150; // // hireDateCol // this.hireDateCol.HeaderText = "Hire Date"; this.hireDateCol.Name = "hireDateCol"; this.hireDateCol.ReadOnly = true; this.hireDateCol.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Programmatic; this.hireDateCol.Width = 71; // // typeCol // this.typeCol.HeaderText = "Type"; this.typeCol.Name = "typeCol"; this.typeCol.ReadOnly = true; this.typeCol.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Programmatic; // // earningsCol // this.earningsCol.HeaderText = "Earnings"; this.earningsCol.Name = "earningsCol"; this.earningsCol.ReadOnly = true; this.earningsCol.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Programmatic; // // FICACol // this.FICACol.HeaderText = "FICA"; this.FICACol.Name = "FICACol"; this.FICACol.ReadOnly = true; this.FICACol.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Programmatic; this.FICACol.Width = 60; // // fedTaxCol // this.fedTaxCol.HeaderText = "Fed Tax"; this.fedTaxCol.Name = "fedTaxCol"; this.fedTaxCol.ReadOnly = true; this.fedTaxCol.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Programmatic; this.fedTaxCol.Width = 55; // // stateTaxCol // this.stateTaxCol.HeaderText = "State Tax"; this.stateTaxCol.Name = "stateTaxCol"; this.stateTaxCol.ReadOnly = true; this.stateTaxCol.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Programmatic; this.stateTaxCol.Width = 55; // // netPayCol // this.netPayCol.HeaderText = "Net Pay"; this.netPayCol.Name = "netPayCol"; this.netPayCol.ReadOnly = true; this.netPayCol.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Programmatic; this.netPayCol.Width = 75; // // dgvContextMenu // this.dgvContextMenu.ImageScalingSize = new System.Drawing.Size(20, 20); this.dgvContextMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.addContextMenuItem, this.deleteContextMenuItem, this.updateContextMenuItem}); this.dgvContextMenu.Name = "gridViewContextMenu"; this.dgvContextMenu.Size = new System.Drawing.Size(143, 82); // // addContextMenuItem // this.addContextMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.commissionToolStripMenuItem2, this.hourlyToolStripMenuItem2, this.pieceToolStripMenuItem2, this.supervisorToolStripMenuItem2}); this.addContextMenuItem.Name = "addContextMenuItem"; this.addContextMenuItem.Size = new System.Drawing.Size(142, 26); this.addContextMenuItem.Text = "Add..."; // // commissionToolStripMenuItem2 // this.commissionToolStripMenuItem2.Name = "commissionToolStripMenuItem2"; this.commissionToolStripMenuItem2.Size = new System.Drawing.Size(165, 26); this.commissionToolStripMenuItem2.Text = "Commission"; this.commissionToolStripMenuItem2.Click += new System.EventHandler(this.commissionToolStripMenuItem_Click); // // hourlyToolStripMenuItem2 // this.hourlyToolStripMenuItem2.Name = "hourlyToolStripMenuItem2"; this.hourlyToolStripMenuItem2.Size = new System.Drawing.Size(165, 26); this.hourlyToolStripMenuItem2.Text = "Hourly"; this.hourlyToolStripMenuItem2.Click += new System.EventHandler(this.hourlyToolStripMenuItem_Click); // // pieceToolStripMenuItem2 // this.pieceToolStripMenuItem2.Name = "pieceToolStripMenuItem2"; this.pieceToolStripMenuItem2.Size = new System.Drawing.Size(165, 26); this.pieceToolStripMenuItem2.Text = "Piece"; this.pieceToolStripMenuItem2.Click += new System.EventHandler(this.pieceToolStripMenuItem_Click); // // supervisorToolStripMenuItem2 // this.supervisorToolStripMenuItem2.Name = "supervisorToolStripMenuItem2"; this.supervisorToolStripMenuItem2.Size = new System.Drawing.Size(165, 26); this.supervisorToolStripMenuItem2.Text = "Supervisor"; this.supervisorToolStripMenuItem2.Click += new System.EventHandler(this.supervisorToolStripMenuItem_Click); // // deleteContextMenuItem // this.deleteContextMenuItem.Name = "deleteContextMenuItem"; this.deleteContextMenuItem.Size = new System.Drawing.Size(142, 26); this.deleteContextMenuItem.Text = "Delete..."; this.deleteContextMenuItem.Click += new System.EventHandler(this.deleteMenuItem_Click); // // updateContextMenuItem // this.updateContextMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.commissoinToolStripMenuItem, this.hourlyToolStripMenuItem3, this.pieceToolStripMenuItem3, this.supervisorToolStripMenuItem3}); this.updateContextMenuItem.Name = "updateContextMenuItem"; this.updateContextMenuItem.Size = new System.Drawing.Size(142, 26); this.updateContextMenuItem.Text = "Update..."; // // commissoinToolStripMenuItem // this.commissoinToolStripMenuItem.Name = "commissoinToolStripMenuItem"; this.commissoinToolStripMenuItem.Size = new System.Drawing.Size(181, 26); this.commissoinToolStripMenuItem.Text = "Commission"; this.commissoinToolStripMenuItem.Click += new System.EventHandler(this.commissionToolStripMenuItem1_Click); // // hourlyToolStripMenuItem3 // this.hourlyToolStripMenuItem3.Name = "hourlyToolStripMenuItem3"; this.hourlyToolStripMenuItem3.Size = new System.Drawing.Size(181, 26); this.hourlyToolStripMenuItem3.Text = "Hourly"; this.hourlyToolStripMenuItem3.Click += new System.EventHandler(this.hourlyToolStripMenuItem1_Click); // // pieceToolStripMenuItem3 // this.pieceToolStripMenuItem3.Name = "pieceToolStripMenuItem3"; this.pieceToolStripMenuItem3.Size = new System.Drawing.Size(181, 26); this.pieceToolStripMenuItem3.Text = "Piece"; this.pieceToolStripMenuItem3.Click += new System.EventHandler(this.pieceToolStripMenuItem_Click); // // supervisorToolStripMenuItem3 // this.supervisorToolStripMenuItem3.Name = "supervisorToolStripMenuItem3"; this.supervisorToolStripMenuItem3.Size = new System.Drawing.Size(181, 26); this.supervisorToolStripMenuItem3.Text = "Supervisor"; this.supervisorToolStripMenuItem3.Click += new System.EventHandler(this.supervisorToolStripMenuItem_Click); // // countDisplay // this.countDisplay.BackColor = System.Drawing.SystemColors.Control; this.countDisplay.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.countDisplay.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.countDisplay.Location = new System.Drawing.Point(82, 67); this.countDisplay.Name = "countDisplay"; this.countDisplay.Size = new System.Drawing.Size(50, 29); this.countDisplay.TabIndex = 7; this.countDisplay.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // ofLabel // this.ofLabel.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.ofLabel.Location = new System.Drawing.Point(55, 67); this.ofLabel.Name = "ofLabel"; this.ofLabel.Size = new System.Drawing.Size(25, 29); this.ofLabel.TabIndex = 6; this.ofLabel.Text = "of"; this.ofLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // countLabel // this.countLabel.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.countLabel.Location = new System.Drawing.Point(5, 34); this.countLabel.Name = "countLabel"; this.countLabel.Size = new System.Drawing.Size(129, 29); this.countLabel.TabIndex = 4; this.countLabel.Text = "Selected Record"; this.countLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // positionDisplay // this.positionDisplay.BackColor = System.Drawing.SystemColors.Control; this.positionDisplay.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.positionDisplay.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.positionDisplay.Location = new System.Drawing.Point(5, 67); this.positionDisplay.Name = "positionDisplay"; this.positionDisplay.Size = new System.Drawing.Size(50, 29); this.positionDisplay.TabIndex = 5; this.positionDisplay.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // mainMenu // this.mainMenu.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.mainMenu.ImageScalingSize = new System.Drawing.Size(20, 20); this.mainMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.fileMenuItem, this.editMenuItem, this.helpMenuItem}); this.mainMenu.Location = new System.Drawing.Point(0, 0); this.mainMenu.Name = "mainMenu"; this.mainMenu.Padding = new System.Windows.Forms.Padding(7, 2, 0, 2); this.mainMenu.Size = new System.Drawing.Size(841, 28); this.mainMenu.TabIndex = 15; this.mainMenu.Text = "mainMenu"; // // fileMenuItem // this.fileMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.createReportMenuItem, this.viewReportMenuItem, this.toolStripSeparator1, this.exitMenuItem}); this.fileMenuItem.Name = "fileMenuItem"; this.fileMenuItem.Size = new System.Drawing.Size(45, 24); this.fileMenuItem.Text = "&File"; // // createReportMenuItem // this.createReportMenuItem.Name = "createReportMenuItem"; this.createReportMenuItem.Size = new System.Drawing.Size(178, 26); this.createReportMenuItem.Text = "&Create Report"; this.createReportMenuItem.Click += new System.EventHandler(this.createReportMenuItem_Click); // // viewReportMenuItem // this.viewReportMenuItem.Name = "viewReportMenuItem"; this.viewReportMenuItem.Size = new System.Drawing.Size(178, 26); this.viewReportMenuItem.Text = "&View Report"; this.viewReportMenuItem.Click += new System.EventHandler(this.viewReportMenuItem_Click); // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(175, 6); // // exitMenuItem // this.exitMenuItem.Name = "exitMenuItem"; this.exitMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.X))); this.exitMenuItem.Size = new System.Drawing.Size(178, 26); this.exitMenuItem.Text = "E&xit"; this.exitMenuItem.Click += new System.EventHandler(this.exitMenuItem_Click); // // editMenuItem // this.editMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.addMenuItem, this.deleteMenuItem, this.updateMenuItem}); this.editMenuItem.Name = "editMenuItem"; this.editMenuItem.Size = new System.Drawing.Size(47, 24); this.editMenuItem.Text = "&Edit"; // // addMenuItem // this.addMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.commissionToolStripMenuItem, this.hourlyToolStripMenuItem, this.pieceToolStripMenuItem, this.supervisorToolStripMenuItem}); this.addMenuItem.Name = "addMenuItem"; this.addMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.A))); this.addMenuItem.Size = new System.Drawing.Size(200, 26); this.addMenuItem.Text = "&Add..."; // // commissionToolStripMenuItem // this.commissionToolStripMenuItem.Name = "commissionToolStripMenuItem"; this.commissionToolStripMenuItem.Size = new System.Drawing.Size(178, 26); this.commissionToolStripMenuItem.Text = "Commission..."; this.commissionToolStripMenuItem.Click += new System.EventHandler(this.commissionToolStripMenuItem_Click); // // hourlyToolStripMenuItem // this.hourlyToolStripMenuItem.Name = "hourlyToolStripMenuItem"; this.hourlyToolStripMenuItem.Size = new System.Drawing.Size(178, 26); this.hourlyToolStripMenuItem.Text = "Hourly..."; this.hourlyToolStripMenuItem.Click += new System.EventHandler(this.hourlyToolStripMenuItem_Click); // // pieceToolStripMenuItem // this.pieceToolStripMenuItem.Name = "pieceToolStripMenuItem"; this.pieceToolStripMenuItem.Size = new System.Drawing.Size(178, 26); this.pieceToolStripMenuItem.Text = "Piece..."; this.pieceToolStripMenuItem.Click += new System.EventHandler(this.pieceToolStripMenuItem_Click); // // supervisorToolStripMenuItem // this.supervisorToolStripMenuItem.Name = "supervisorToolStripMenuItem"; this.supervisorToolStripMenuItem.Size = new System.Drawing.Size(178, 26); this.supervisorToolStripMenuItem.Text = "Supervisor..."; this.supervisorToolStripMenuItem.Click += new System.EventHandler(this.supervisorToolStripMenuItem_Click); // // deleteMenuItem // this.deleteMenuItem.Name = "deleteMenuItem"; this.deleteMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.D))); this.deleteMenuItem.Size = new System.Drawing.Size(200, 26); this.deleteMenuItem.Text = "&Delete..."; this.deleteMenuItem.Click += new System.EventHandler(this.deleteMenuItem_Click); // // updateMenuItem // this.updateMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.commissionToolStripMenuItem1, this.hourlyToolStripMenuItem1, this.pieceToolStripMenuItem1, this.supervisorToolStripMenuItem1}); this.updateMenuItem.Name = "updateMenuItem"; this.updateMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.U))); this.updateMenuItem.Size = new System.Drawing.Size(200, 26); this.updateMenuItem.Text = "&Update..."; this.updateMenuItem.Click += new System.EventHandler(this.updateMenuItem_Click); // // commissionToolStripMenuItem1 // this.commissionToolStripMenuItem1.Name = "commissionToolStripMenuItem1"; this.commissionToolStripMenuItem1.Size = new System.Drawing.Size(178, 26); this.commissionToolStripMenuItem1.Text = "Commission..."; this.commissionToolStripMenuItem1.Click += new System.EventHandler(this.commissionToolStripMenuItem1_Click); // // hourlyToolStripMenuItem1 // this.hourlyToolStripMenuItem1.Name = "hourlyToolStripMenuItem1"; this.hourlyToolStripMenuItem1.Size = new System.Drawing.Size(178, 26); this.hourlyToolStripMenuItem1.Text = "Hourly..."; this.hourlyToolStripMenuItem1.Click += new System.EventHandler(this.hourlyToolStripMenuItem1_Click); // // pieceToolStripMenuItem1 // this.pieceToolStripMenuItem1.Name = "pieceToolStripMenuItem1"; this.pieceToolStripMenuItem1.Size = new System.Drawing.Size(178, 26); this.pieceToolStripMenuItem1.Text = "Piece..."; this.pieceToolStripMenuItem1.Click += new System.EventHandler(this.pieceToolStripMenuItem1_Click); // // supervisorToolStripMenuItem1 // this.supervisorToolStripMenuItem1.Name = "supervisorToolStripMenuItem1"; this.supervisorToolStripMenuItem1.Size = new System.Drawing.Size(178, 26); this.supervisorToolStripMenuItem1.Text = "Supervisor..."; this.supervisorToolStripMenuItem1.Click += new System.EventHandler(this.supervisorToolStripMenuItem1_Click); // // helpMenuItem // this.helpMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.aboutMenuItem}); this.helpMenuItem.Name = "helpMenuItem"; this.helpMenuItem.Size = new System.Drawing.Size(53, 24); this.helpMenuItem.Text = "&Help"; // // aboutMenuItem // this.aboutMenuItem.Name = "aboutMenuItem"; this.aboutMenuItem.ShortcutKeys = System.Windows.Forms.Keys.F1; this.aboutMenuItem.Size = new System.Drawing.Size(161, 26); this.aboutMenuItem.Text = "&About..."; this.aboutMenuItem.Click += new System.EventHandler(this.aboutMenuItem_Click); // // Ch13Smp0Form // this.AutoScaleBaseSize = new System.Drawing.Size(7, 19); this.ClientSize = new System.Drawing.Size(841, 462); this.Controls.Add(this.mainMenu); this.Controls.Add(this.countDisplay); this.Controls.Add(this.ofLabel); this.Controls.Add(this.countLabel); this.Controls.Add(this.positionDisplay); this.Controls.Add(this.findETextBox); this.Controls.Add(this.findLabel); this.Controls.Add(this.dataGridView); this.Font = new System.Drawing.Font("Segoe UI Semibold", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Location = new System.Drawing.Point(175, 50); this.MaximizeBox = false; this.Name = "Ch13Smp0Form"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Ch13Prb1 Jordan Davis"; this.Load += new System.EventHandler(this.Ch13Smp0Form_Load); ((System.ComponentModel.ISupportInitialize)(this.dataGridView)).EndInit(); this.dgvContextMenu.ResumeLayout(false); this.mainMenu.ResumeLayout(false); this.mainMenu.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { this.idLabel = new System.Windows.Forms.Label(); this.nameETextBox = new LibETextBox.ETextBox(); this.nameLabel = new System.Windows.Forms.Label(); this.okButton = new System.Windows.Forms.Button(); this.cancelButton = new System.Windows.Forms.Button(); this.idDisplay = new System.Windows.Forms.Label(); this.hireDateETextBox = new LibETextBox.ETextBox(); this.hireDateLabel = new System.Windows.Forms.Label(); this.salaryLabel = new System.Windows.Forms.Label(); this.salaryETextBox = new LibETextBox.ETextBox(); this.rateLabel = new System.Windows.Forms.Label(); this.qtyLabel = new System.Windows.Forms.Label(); this.rateETextBox = new LibETextBox.ETextBox(); this.qtyETextBox = new LibETextBox.ETextBox(); this.SuspendLayout(); // // idLabel // this.idLabel.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.idLabel.Location = new System.Drawing.Point(178, 9); this.idLabel.Name = "idLabel"; this.idLabel.Size = new System.Drawing.Size(28, 20); this.idLabel.TabIndex = 1; this.idLabel.Text = "ID"; this.idLabel.TextAlign = System.Drawing.ContentAlignment.TopCenter; // // nameETextBox // this.nameETextBox.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.nameETextBox.Location = new System.Drawing.Point(36, 98); this.nameETextBox.MaxLength = 15; this.nameETextBox.Name = "nameETextBox"; this.nameETextBox.Size = new System.Drawing.Size(140, 27); this.nameETextBox.TabIndex = 2; // // nameLabel // this.nameLabel.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.nameLabel.Location = new System.Drawing.Point(70, 75); this.nameLabel.Name = "nameLabel"; this.nameLabel.Size = new System.Drawing.Size(75, 20); this.nameLabel.TabIndex = 3; this.nameLabel.Text = "Name"; this.nameLabel.TextAlign = System.Drawing.ContentAlignment.TopCenter; // // okButton // this.okButton.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.okButton.Location = new System.Drawing.Point(124, 282); this.okButton.Name = "okButton"; this.okButton.Size = new System.Drawing.Size(66, 29); this.okButton.TabIndex = 19; this.okButton.Text = "OK"; this.okButton.Click += new System.EventHandler(this.okButton_Click); // // cancelButton // this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.cancelButton.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.cancelButton.Location = new System.Drawing.Point(196, 282); this.cancelButton.Name = "cancelButton"; this.cancelButton.Size = new System.Drawing.Size(65, 29); this.cancelButton.TabIndex = 20; this.cancelButton.Text = "Cancel"; // // idDisplay // this.idDisplay.BackColor = System.Drawing.SystemColors.Control; this.idDisplay.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.idDisplay.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.idDisplay.Location = new System.Drawing.Point(166, 32); this.idDisplay.Name = "idDisplay"; this.idDisplay.Size = new System.Drawing.Size(51, 29); this.idDisplay.TabIndex = 0; this.idDisplay.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // hireDateETextBox // this.hireDateETextBox.Location = new System.Drawing.Point(212, 98); this.hireDateETextBox.Name = "hireDateETextBox"; this.hireDateETextBox.Size = new System.Drawing.Size(156, 26); this.hireDateETextBox.TabIndex = 21; // // hireDateLabel // this.hireDateLabel.Location = new System.Drawing.Point(254, 75); this.hireDateLabel.Name = "hireDateLabel"; this.hireDateLabel.Size = new System.Drawing.Size(75, 20); this.hireDateLabel.TabIndex = 22; this.hireDateLabel.Text = "Hire Date"; // // salaryLabel // this.salaryLabel.AutoSize = true; this.salaryLabel.Location = new System.Drawing.Point(169, 140); this.salaryLabel.Name = "salaryLabel"; this.salaryLabel.Size = new System.Drawing.Size(48, 19); this.salaryLabel.TabIndex = 23; this.salaryLabel.Text = "Salary"; // // salaryETextBox // this.salaryETextBox.Location = new System.Drawing.Point(145, 162); this.salaryETextBox.Name = "salaryETextBox"; this.salaryETextBox.Size = new System.Drawing.Size(106, 26); this.salaryETextBox.TabIndex = 24; // // rateLabel // this.rateLabel.Location = new System.Drawing.Point(104, 207); this.rateLabel.Name = "rateLabel"; this.rateLabel.Size = new System.Drawing.Size(46, 17); this.rateLabel.TabIndex = 25; this.rateLabel.Text = "Rate"; // // qtyLabel // this.qtyLabel.AutoSize = true; this.qtyLabel.Location = new System.Drawing.Point(230, 205); this.qtyLabel.Name = "qtyLabel"; this.qtyLabel.Size = new System.Drawing.Size(64, 19); this.qtyLabel.TabIndex = 26; this.qtyLabel.Text = "Quantity"; // // rateETextBox // this.rateETextBox.Location = new System.Drawing.Point(74, 227); this.rateETextBox.Name = "rateETextBox"; this.rateETextBox.Size = new System.Drawing.Size(100, 26); this.rateETextBox.TabIndex = 27; // // qtyETextBox // this.qtyETextBox.Location = new System.Drawing.Point(212, 227); this.qtyETextBox.Name = "qtyETextBox"; this.qtyETextBox.Size = new System.Drawing.Size(100, 26); this.qtyETextBox.TabIndex = 28; // // AddUpdateCommissionDialog // this.AcceptButton = this.okButton; this.AutoScaleBaseSize = new System.Drawing.Size(7, 19); this.ClientSize = new System.Drawing.Size(400, 319); this.ControlBox = false; this.Controls.Add(this.qtyETextBox); this.Controls.Add(this.rateETextBox); this.Controls.Add(this.qtyLabel); this.Controls.Add(this.rateLabel); this.Controls.Add(this.salaryETextBox); this.Controls.Add(this.salaryLabel); this.Controls.Add(this.hireDateLabel); this.Controls.Add(this.hireDateETextBox); this.Controls.Add(this.idDisplay); this.Controls.Add(this.nameETextBox); this.Controls.Add(this.cancelButton); this.Controls.Add(this.okButton); this.Controls.Add(this.nameLabel); this.Controls.Add(this.idLabel); this.Font = new System.Drawing.Font("Segoe UI Semibold", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.Location = new System.Drawing.Point(300, 275); this.MaximizeBox = false; this.Name = "AddUpdateCommissionDialog"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "AddUpdate Dialog"; this.Load += new System.EventHandler(this.AddUpdateDialog_Load); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle(); this.dataGridView = new System.Windows.Forms.DataGridView(); this.SalesIDCol = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.AgentNameCol = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.SalesDateCol = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.SalesAmtCol = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.CommissionRateCol = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.CommissionCol = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.NetProceedsCol = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); this.addToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.updateToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.deleteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.menuStrip1 = new System.Windows.Forms.MenuStrip(); this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.addToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.allToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.garfieldJamesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.masonDebbieToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.mastersKennethToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.rogersSherryToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.viewReportToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.editToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.addToolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem(); this.updateToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.deleteToolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem(); this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.aboutF1ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.selectedTextLabel = new System.Windows.Forms.Label(); this.selectedRecordLabel = new System.Windows.Forms.Label(); this.ofLabel = new System.Windows.Forms.Label(); this.totalRecordsLabel = new System.Windows.Forms.Label(); this.searchLabel = new System.Windows.Forms.Label(); this.findTextBox = new LibETextBox.ETextBox(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView)).BeginInit(); this.contextMenuStrip1.SuspendLayout(); this.menuStrip1.SuspendLayout(); this.SuspendLayout(); // // dataGridView // this.dataGridView.BackgroundColor = System.Drawing.SystemColors.Control; this.dataGridView.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.dataGridView.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.Raised; this.dataGridView.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single; dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.ControlDark; dataGridViewCellStyle4.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText; dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True; this.dataGridView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle4; this.dataGridView.ColumnHeadersHeight = 40; this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing; this.dataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.SalesIDCol, this.AgentNameCol, this.SalesDateCol, this.SalesAmtCol, this.CommissionRateCol, this.CommissionCol, this.NetProceedsCol}); this.dataGridView.ContextMenuStrip = this.contextMenuStrip1; this.dataGridView.Location = new System.Drawing.Point(0, 103); this.dataGridView.Name = "dataGridView"; this.dataGridView.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single; dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Control; dataGridViewCellStyle5.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); dataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.WindowText; dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.False; this.dataGridView.RowHeadersDefaultCellStyle = dataGridViewCellStyle5; this.dataGridView.RowHeadersWidth = 55; this.dataGridView.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing; dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; this.dataGridView.RowsDefaultCellStyle = dataGridViewCellStyle6; this.dataGridView.RowTemplate.Height = 23; this.dataGridView.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; this.dataGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.dataGridView.Size = new System.Drawing.Size(968, 424); this.dataGridView.TabIndex = 0; this.dataGridView.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView_CellContentClick); this.dataGridView.ColumnHeaderMouseClick += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.dataGridView_ColumnHeaderMouseClick); this.dataGridView.RowEnter += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView_RowEnter); // // SalesIDCol // this.SalesIDCol.HeaderText = "Sales ID"; this.SalesIDCol.Name = "SalesIDCol"; this.SalesIDCol.ReadOnly = true; this.SalesIDCol.Resizable = System.Windows.Forms.DataGridViewTriState.False; this.SalesIDCol.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Programmatic; this.SalesIDCol.Width = 55; // // AgentNameCol // this.AgentNameCol.HeaderText = "Agent Name"; this.AgentNameCol.Name = "AgentNameCol"; this.AgentNameCol.ReadOnly = true; this.AgentNameCol.Resizable = System.Windows.Forms.DataGridViewTriState.False; this.AgentNameCol.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Programmatic; // // SalesDateCol // this.SalesDateCol.HeaderText = "Sales Date"; this.SalesDateCol.Name = "SalesDateCol"; this.SalesDateCol.ReadOnly = true; this.SalesDateCol.Resizable = System.Windows.Forms.DataGridViewTriState.False; this.SalesDateCol.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Programmatic; // // SalesAmtCol // this.SalesAmtCol.HeaderText = "Sales Amount"; this.SalesAmtCol.Name = "SalesAmtCol"; this.SalesAmtCol.ReadOnly = true; this.SalesAmtCol.Resizable = System.Windows.Forms.DataGridViewTriState.False; this.SalesAmtCol.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Programmatic; // // CommissionRateCol // this.CommissionRateCol.HeaderText = "Commission Rate"; this.CommissionRateCol.Name = "CommissionRateCol"; this.CommissionRateCol.ReadOnly = true; this.CommissionRateCol.Resizable = System.Windows.Forms.DataGridViewTriState.False; this.CommissionRateCol.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Programmatic; // // CommissionCol // this.CommissionCol.HeaderText = "Commission"; this.CommissionCol.Name = "CommissionCol"; this.CommissionCol.ReadOnly = true; this.CommissionCol.Resizable = System.Windows.Forms.DataGridViewTriState.False; this.CommissionCol.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Programmatic; // // NetProceedsCol // this.NetProceedsCol.HeaderText = "Net Proceeds"; this.NetProceedsCol.Name = "NetProceedsCol"; this.NetProceedsCol.ReadOnly = true; this.NetProceedsCol.Resizable = System.Windows.Forms.DataGridViewTriState.False; this.NetProceedsCol.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Programmatic; // // contextMenuStrip1 // this.contextMenuStrip1.ImageScalingSize = new System.Drawing.Size(20, 20); this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.addToolStripMenuItem, this.updateToolStripMenuItem, this.deleteToolStripMenuItem}); this.contextMenuStrip1.Name = "contextMenuStrip1"; this.contextMenuStrip1.Size = new System.Drawing.Size(143, 82); // // addToolStripMenuItem // this.addToolStripMenuItem.Name = "addToolStripMenuItem"; this.addToolStripMenuItem.Size = new System.Drawing.Size(142, 26); this.addToolStripMenuItem.Text = "Add..."; this.addToolStripMenuItem.Click += new System.EventHandler(this.addToolStripMenuItem2_Click); // // updateToolStripMenuItem // this.updateToolStripMenuItem.Name = "updateToolStripMenuItem"; this.updateToolStripMenuItem.Size = new System.Drawing.Size(142, 26); this.updateToolStripMenuItem.Text = "Update..."; this.updateToolStripMenuItem.Click += new System.EventHandler(this.updateToolStripMenuItem_Click); // // deleteToolStripMenuItem // this.deleteToolStripMenuItem.Name = "deleteToolStripMenuItem"; this.deleteToolStripMenuItem.Size = new System.Drawing.Size(142, 26); this.deleteToolStripMenuItem.Text = "Delete..."; this.deleteToolStripMenuItem.Click += new System.EventHandler(this.deleteToolStripMenuItem2_Click); // // menuStrip1 // this.menuStrip1.ImageScalingSize = new System.Drawing.Size(20, 20); this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripMenuItem1, this.editToolStripMenuItem, this.helpToolStripMenuItem}); this.menuStrip1.Location = new System.Drawing.Point(0, 0); this.menuStrip1.Name = "menuStrip1"; this.menuStrip1.Size = new System.Drawing.Size(970, 28); this.menuStrip1.TabIndex = 2; this.menuStrip1.Text = "menuStrip1"; // // toolStripMenuItem1 // this.toolStripMenuItem1.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.addToolStripMenuItem1, this.viewReportToolStripMenuItem1, this.toolStripSeparator1, this.exitToolStripMenuItem}); this.toolStripMenuItem1.Name = "toolStripMenuItem1"; this.toolStripMenuItem1.Size = new System.Drawing.Size(44, 24); this.toolStripMenuItem1.Text = "File"; // // addToolStripMenuItem1 // this.addToolStripMenuItem1.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.allToolStripMenuItem, this.garfieldJamesToolStripMenuItem, this.masonDebbieToolStripMenuItem, this.mastersKennethToolStripMenuItem, this.rogersSherryToolStripMenuItem}); this.addToolStripMenuItem1.Name = "addToolStripMenuItem1"; this.addToolStripMenuItem1.Size = new System.Drawing.Size(176, 26); this.addToolStripMenuItem1.Text = "Create Report"; // // allToolStripMenuItem // this.allToolStripMenuItem.Name = "allToolStripMenuItem"; this.allToolStripMenuItem.Size = new System.Drawing.Size(196, 26); this.allToolStripMenuItem.Text = "All"; this.allToolStripMenuItem.Click += new System.EventHandler(this.allToolStripMenuItem_Click); // // garfieldJamesToolStripMenuItem // this.garfieldJamesToolStripMenuItem.Name = "garfieldJamesToolStripMenuItem"; this.garfieldJamesToolStripMenuItem.Size = new System.Drawing.Size(196, 26); this.garfieldJamesToolStripMenuItem.Text = "Garfield, James"; this.garfieldJamesToolStripMenuItem.Click += new System.EventHandler(this.garfieldJamesToolStripMenuItem_Click); // // masonDebbieToolStripMenuItem // this.masonDebbieToolStripMenuItem.Name = "masonDebbieToolStripMenuItem"; this.masonDebbieToolStripMenuItem.Size = new System.Drawing.Size(196, 26); this.masonDebbieToolStripMenuItem.Text = "Mason, Debbie"; this.masonDebbieToolStripMenuItem.Click += new System.EventHandler(this.masonDebbieToolStripMenuItem_Click); // // mastersKennethToolStripMenuItem // this.mastersKennethToolStripMenuItem.Name = "mastersKennethToolStripMenuItem"; this.mastersKennethToolStripMenuItem.Size = new System.Drawing.Size(196, 26); this.mastersKennethToolStripMenuItem.Text = "Masters, Kenneth"; this.mastersKennethToolStripMenuItem.Click += new System.EventHandler(this.mastersKennethToolStripMenuItem_Click); // // rogersSherryToolStripMenuItem // this.rogersSherryToolStripMenuItem.Name = "rogersSherryToolStripMenuItem"; this.rogersSherryToolStripMenuItem.Size = new System.Drawing.Size(196, 26); this.rogersSherryToolStripMenuItem.Text = "Rogers, Sherry"; this.rogersSherryToolStripMenuItem.Click += new System.EventHandler(this.rogersSherryToolStripMenuItem_Click); // // viewReportToolStripMenuItem1 // this.viewReportToolStripMenuItem1.Name = "viewReportToolStripMenuItem1"; this.viewReportToolStripMenuItem1.Size = new System.Drawing.Size(176, 26); this.viewReportToolStripMenuItem1.Text = "View Report"; this.viewReportToolStripMenuItem1.Click += new System.EventHandler(this.viewReportToolStripMenuItem1_Click); // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(173, 6); // // exitToolStripMenuItem // this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; this.exitToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.X))); this.exitToolStripMenuItem.Size = new System.Drawing.Size(176, 26); this.exitToolStripMenuItem.Text = "Exit"; this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click); // // editToolStripMenuItem // this.editToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.addToolStripMenuItem2, this.updateToolStripMenuItem1, this.deleteToolStripMenuItem2}); this.editToolStripMenuItem.Name = "editToolStripMenuItem"; this.editToolStripMenuItem.Size = new System.Drawing.Size(47, 24); this.editToolStripMenuItem.Text = "Edit"; // // addToolStripMenuItem2 // this.addToolStripMenuItem2.Name = "addToolStripMenuItem2"; this.addToolStripMenuItem2.ShortcutKeyDisplayString = "Ctrl+A"; this.addToolStripMenuItem2.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.A))); this.addToolStripMenuItem2.Size = new System.Drawing.Size(194, 26); this.addToolStripMenuItem2.Text = "Add..."; this.addToolStripMenuItem2.Click += new System.EventHandler(this.addToolStripMenuItem2_Click); // // updateToolStripMenuItem1 // this.updateToolStripMenuItem1.Name = "updateToolStripMenuItem1"; this.updateToolStripMenuItem1.ShortcutKeyDisplayString = "Ctrl+U"; this.updateToolStripMenuItem1.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.U))); this.updateToolStripMenuItem1.Size = new System.Drawing.Size(194, 26); this.updateToolStripMenuItem1.Text = "Update..."; this.updateToolStripMenuItem1.Click += new System.EventHandler(this.updateToolStripMenuItem_Click); // // deleteToolStripMenuItem2 // this.deleteToolStripMenuItem2.Name = "deleteToolStripMenuItem2"; this.deleteToolStripMenuItem2.ShortcutKeyDisplayString = "Ctrl+D"; this.deleteToolStripMenuItem2.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.D))); this.deleteToolStripMenuItem2.Size = new System.Drawing.Size(194, 26); this.deleteToolStripMenuItem2.Text = "Delete..."; this.deleteToolStripMenuItem2.Click += new System.EventHandler(this.deleteToolStripMenuItem2_Click); // // helpToolStripMenuItem // this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.aboutF1ToolStripMenuItem}); this.helpToolStripMenuItem.Name = "helpToolStripMenuItem"; this.helpToolStripMenuItem.Size = new System.Drawing.Size(53, 24); this.helpToolStripMenuItem.Text = "Help"; // // aboutF1ToolStripMenuItem // this.aboutF1ToolStripMenuItem.Name = "aboutF1ToolStripMenuItem"; this.aboutF1ToolStripMenuItem.ShortcutKeyDisplayString = "F1"; this.aboutF1ToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.F1; this.aboutF1ToolStripMenuItem.Size = new System.Drawing.Size(158, 26); this.aboutF1ToolStripMenuItem.Text = "About..."; this.aboutF1ToolStripMenuItem.Click += new System.EventHandler(this.aboutF1ToolStripMenuItem_Click); // // selectedTextLabel // this.selectedTextLabel.AutoSize = true; this.selectedTextLabel.Location = new System.Drawing.Point(12, 38); this.selectedTextLabel.Name = "selectedTextLabel"; this.selectedTextLabel.Size = new System.Drawing.Size(113, 17); this.selectedTextLabel.TabIndex = 3; this.selectedTextLabel.Text = "Selected Record"; // // selectedRecordLabel // this.selectedRecordLabel.BackColor = System.Drawing.SystemColors.Control; this.selectedRecordLabel.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.selectedRecordLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.selectedRecordLabel.Location = new System.Drawing.Point(3, 67); this.selectedRecordLabel.Name = "selectedRecordLabel"; this.selectedRecordLabel.Size = new System.Drawing.Size(49, 29); this.selectedRecordLabel.TabIndex = 4; this.selectedRecordLabel.Text = "0"; this.selectedRecordLabel.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // ofLabel // this.ofLabel.AutoSize = true; this.ofLabel.Location = new System.Drawing.Point(58, 73); this.ofLabel.Name = "ofLabel"; this.ofLabel.Size = new System.Drawing.Size(20, 17); this.ofLabel.TabIndex = 5; this.ofLabel.Text = "of"; // // totalRecordsLabel // this.totalRecordsLabel.BackColor = System.Drawing.SystemColors.Control; this.totalRecordsLabel.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.totalRecordsLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.totalRecordsLabel.ImageAlign = System.Drawing.ContentAlignment.MiddleRight; this.totalRecordsLabel.Location = new System.Drawing.Point(84, 67); this.totalRecordsLabel.Name = "totalRecordsLabel"; this.totalRecordsLabel.Size = new System.Drawing.Size(53, 29); this.totalRecordsLabel.TabIndex = 4; this.totalRecordsLabel.Text = "20"; this.totalRecordsLabel.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // searchLabel // this.searchLabel.AutoSize = true; this.searchLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.searchLabel.Location = new System.Drawing.Point(812, 46); this.searchLabel.Name = "searchLabel"; this.searchLabel.Size = new System.Drawing.Size(85, 18); this.searchLabel.TabIndex = 6; this.searchLabel.Text = "Find Label"; // // findTextBox // this.findTextBox.BackColor = System.Drawing.SystemColors.Control; this.findTextBox.Location = new System.Drawing.Point(815, 67); this.findTextBox.Name = "findTextBox"; this.findTextBox.Size = new System.Drawing.Size(143, 22); this.findTextBox.TabIndex = 7; this.findTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.findTextBox.TextChanged += new System.EventHandler(this.findTextBox_TextChanged); this.findTextBox.DoubleClick += new System.EventHandler(this.findTextBox_DoubleClick); this.findTextBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.findTextBox_KeyDown); // // AgentSalesListForm // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(970, 529); this.Controls.Add(this.findTextBox); this.Controls.Add(this.searchLabel); this.Controls.Add(this.ofLabel); this.Controls.Add(this.totalRecordsLabel); this.Controls.Add(this.selectedRecordLabel); this.Controls.Add(this.selectedTextLabel); this.Controls.Add(this.menuStrip1); this.Controls.Add(this.dataGridView); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.MainMenuStrip = this.menuStrip1; this.MaximizeBox = false; this.Name = "AgentSalesListForm"; this.Text = "Agent Sales List - Jordan Davis"; this.Load += new System.EventHandler(this.AgentSalesListForm_Load); ((System.ComponentModel.ISupportInitialize)(this.dataGridView)).EndInit(); this.contextMenuStrip1.ResumeLayout(false); this.menuStrip1.ResumeLayout(false); this.menuStrip1.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Ch14Prb1Form)); this.matrixALabel = new System.Windows.Forms.Label(); this.matrixADisplay = new System.Windows.Forms.Label(); this.calculateButton = new System.Windows.Forms.Button(); this.quitButton = new System.Windows.Forms.Button(); this.mainMenu = new System.Windows.Forms.MainMenu(this.components); this.fileMenuItem = new System.Windows.Forms.MenuItem(); this.openDataItem = new System.Windows.Forms.MenuItem(); this.loadDataMenuItem = new System.Windows.Forms.MenuItem(); this.separatorMenuItem = new System.Windows.Forms.MenuItem(); this.exitMenuItem = new System.Windows.Forms.MenuItem(); this.helpMenuItem = new System.Windows.Forms.MenuItem(); this.aboutMenuItem = new System.Windows.Forms.MenuItem(); this.matrixBDisplay = new System.Windows.Forms.Label(); this.matrixBLabel = new System.Windows.Forms.Label(); this.resultMatrixDisplay = new System.Windows.Forms.Label(); this.resultMatrixLabel = new System.Windows.Forms.Label(); this.matrixCDisplay = new System.Windows.Forms.Label(); this.matrixCLabel = new System.Windows.Forms.Label(); this.matrixDDisplay = new System.Windows.Forms.Label(); this.matrixDLabel = new System.Windows.Forms.Label(); this.postfixLabel = new System.Windows.Forms.Label(); this.postfixDisplay = new System.Windows.Forms.Label(); this.infixLabel = new System.Windows.Forms.Label(); this.scalarSLabel = new System.Windows.Forms.Label(); this.scalarTLabel = new System.Windows.Forms.Label(); this.infixMETextBox = new LibETextBox.METextBox(); this.decDigitsETextBox = new LibETextBox.ETextBox(); this.decDigitsLabel = new System.Windows.Forms.Label(); this.scalarSETextBox = new LibETextBox.ETextBox(); this.scalarTETextBox = new LibETextBox.ETextBox(); this.SuspendLayout(); // // matrixALabel // this.matrixALabel.Location = new System.Drawing.Point(19, 1); this.matrixALabel.Name = "matrixALabel"; this.matrixALabel.Size = new System.Drawing.Size(293, 30); this.matrixALabel.TabIndex = 5; this.matrixALabel.Text = "Matrix A"; this.matrixALabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // matrixADisplay // this.matrixADisplay.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.matrixADisplay.Font = new System.Drawing.Font("Courier New", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.matrixADisplay.Location = new System.Drawing.Point(19, 31); this.matrixADisplay.Name = "matrixADisplay"; this.matrixADisplay.Size = new System.Drawing.Size(286, 78); this.matrixADisplay.TabIndex = 4; this.matrixADisplay.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // calculateButton // this.calculateButton.Location = new System.Drawing.Point(211, 581); this.calculateButton.Name = "calculateButton"; this.calculateButton.Size = new System.Drawing.Size(101, 28); this.calculateButton.TabIndex = 2; this.calculateButton.Text = "Calculate"; this.calculateButton.Click += new System.EventHandler(this.calculateButton_Click); // // quitButton // this.quitButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.quitButton.Location = new System.Drawing.Point(317, 581); this.quitButton.Name = "quitButton"; this.quitButton.Size = new System.Drawing.Size(102, 28); this.quitButton.TabIndex = 3; this.quitButton.Text = "Quit"; this.quitButton.Click += new System.EventHandler(this.quitButton_Click); // // mainMenu // this.mainMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.fileMenuItem, this.helpMenuItem}); // // fileMenuItem // this.fileMenuItem.Index = 0; this.fileMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.openDataItem, this.loadDataMenuItem, this.separatorMenuItem, this.exitMenuItem}); this.fileMenuItem.Text = "&File"; // // openDataItem // this.openDataItem.Index = 0; this.openDataItem.Text = "&Open Data File"; this.openDataItem.Click += new System.EventHandler(this.openDataMenuItem_Click); // // loadDataMenuItem // this.loadDataMenuItem.Index = 1; this.loadDataMenuItem.Text = "Load Data"; this.loadDataMenuItem.Click += new System.EventHandler(this.loadDataMenuItem_Click); // // separatorMenuItem // this.separatorMenuItem.Index = 2; this.separatorMenuItem.Text = "-"; // // exitMenuItem // this.exitMenuItem.Index = 3; this.exitMenuItem.Text = "&Exit"; this.exitMenuItem.Click += new System.EventHandler(this.quitButton_Click); // // helpMenuItem // this.helpMenuItem.Index = 1; this.helpMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.aboutMenuItem}); this.helpMenuItem.Text = "&Help"; // // aboutMenuItem // this.aboutMenuItem.Index = 0; this.aboutMenuItem.Shortcut = System.Windows.Forms.Shortcut.F1; this.aboutMenuItem.Text = "&About..."; this.aboutMenuItem.Click += new System.EventHandler(this.aboutMenuItem_Click); // // matrixBDisplay // this.matrixBDisplay.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.matrixBDisplay.Font = new System.Drawing.Font("Courier New", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.matrixBDisplay.Location = new System.Drawing.Point(325, 31); this.matrixBDisplay.Name = "matrixBDisplay"; this.matrixBDisplay.Size = new System.Drawing.Size(287, 78); this.matrixBDisplay.TabIndex = 6; this.matrixBDisplay.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // matrixBLabel // this.matrixBLabel.Location = new System.Drawing.Point(325, 1); this.matrixBLabel.Name = "matrixBLabel"; this.matrixBLabel.Size = new System.Drawing.Size(287, 30); this.matrixBLabel.TabIndex = 7; this.matrixBLabel.Text = "Matrix B"; this.matrixBLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // resultMatrixDisplay // this.resultMatrixDisplay.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.resultMatrixDisplay.Font = new System.Drawing.Font("Courier New", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.resultMatrixDisplay.Location = new System.Drawing.Point(20, 480); this.resultMatrixDisplay.Name = "resultMatrixDisplay"; this.resultMatrixDisplay.Size = new System.Drawing.Size(592, 78); this.resultMatrixDisplay.TabIndex = 18; this.resultMatrixDisplay.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // resultMatrixLabel // this.resultMatrixLabel.Location = new System.Drawing.Point(172, 450); this.resultMatrixLabel.Name = "resultMatrixLabel"; this.resultMatrixLabel.Size = new System.Drawing.Size(287, 30); this.resultMatrixLabel.TabIndex = 19; this.resultMatrixLabel.Text = "Result Matrix"; this.resultMatrixLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // matrixCDisplay // this.matrixCDisplay.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.matrixCDisplay.Font = new System.Drawing.Font("Courier New", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.matrixCDisplay.Location = new System.Drawing.Point(19, 150); this.matrixCDisplay.Name = "matrixCDisplay"; this.matrixCDisplay.Size = new System.Drawing.Size(286, 78); this.matrixCDisplay.TabIndex = 8; this.matrixCDisplay.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // matrixCLabel // this.matrixCLabel.Location = new System.Drawing.Point(16, 120); this.matrixCLabel.Name = "matrixCLabel"; this.matrixCLabel.Size = new System.Drawing.Size(287, 30); this.matrixCLabel.TabIndex = 9; this.matrixCLabel.Text = "Matrix C"; this.matrixCLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // matrixDDisplay // this.matrixDDisplay.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.matrixDDisplay.Font = new System.Drawing.Font("Courier New", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.matrixDDisplay.Location = new System.Drawing.Point(325, 150); this.matrixDDisplay.Name = "matrixDDisplay"; this.matrixDDisplay.Size = new System.Drawing.Size(287, 78); this.matrixDDisplay.TabIndex = 10; this.matrixDDisplay.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // matrixDLabel // this.matrixDLabel.Location = new System.Drawing.Point(325, 120); this.matrixDLabel.Name = "matrixDLabel"; this.matrixDLabel.Size = new System.Drawing.Size(287, 30); this.matrixDLabel.TabIndex = 11; this.matrixDLabel.Text = "Matrix D"; this.matrixDLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // postfixLabel // this.postfixLabel.Location = new System.Drawing.Point(232, 388); this.postfixLabel.Name = "postfixLabel"; this.postfixLabel.Size = new System.Drawing.Size(167, 24); this.postfixLabel.TabIndex = 17; this.postfixLabel.Text = "Postfix Expression"; this.postfixLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // postfixDisplay // this.postfixDisplay.BackColor = System.Drawing.SystemColors.Control; this.postfixDisplay.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.postfixDisplay.Location = new System.Drawing.Point(232, 415); this.postfixDisplay.Name = "postfixDisplay"; this.postfixDisplay.Size = new System.Drawing.Size(167, 25); this.postfixDisplay.TabIndex = 16; this.postfixDisplay.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // infixLabel // this.infixLabel.Location = new System.Drawing.Point(232, 316); this.infixLabel.Name = "infixLabel"; this.infixLabel.Size = new System.Drawing.Size(167, 25); this.infixLabel.TabIndex = 1; this.infixLabel.Text = "Infix Expression"; this.infixLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // scalarSLabel // this.scalarSLabel.Font = new System.Drawing.Font("Segoe UI Semibold", 9F); this.scalarSLabel.Location = new System.Drawing.Point(180, 241); this.scalarSLabel.Name = "scalarSLabel"; this.scalarSLabel.Size = new System.Drawing.Size(80, 33); this.scalarSLabel.TabIndex = 13; this.scalarSLabel.Text = "Scalar s"; this.scalarSLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // scalarTLabel // this.scalarTLabel.Font = new System.Drawing.Font("Segoe UI Semibold", 9F); this.scalarTLabel.Location = new System.Drawing.Point(273, 241); this.scalarTLabel.Name = "scalarTLabel"; this.scalarTLabel.Size = new System.Drawing.Size(80, 33); this.scalarTLabel.TabIndex = 15; this.scalarTLabel.Text = "Scalar t"; this.scalarTLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // infixMETextBox // this.infixMETextBox.Location = new System.Drawing.Point(232, 345); this.infixMETextBox.Name = "infixMETextBox"; this.infixMETextBox.Size = new System.Drawing.Size(167, 27); this.infixMETextBox.TabIndex = 0; this.infixMETextBox.TextChanged += new System.EventHandler(this.textBox_TextChanged); // // decDigitsETextBox // this.decDigitsETextBox.Location = new System.Drawing.Point(368, 274); this.decDigitsETextBox.Name = "decDigitsETextBox"; this.decDigitsETextBox.Size = new System.Drawing.Size(80, 27); this.decDigitsETextBox.TabIndex = 20; this.decDigitsETextBox.Text = "2"; this.decDigitsETextBox.TextChanged += new System.EventHandler(this.textBox_TextChanged); // // decDigitsLabel // this.decDigitsLabel.Font = new System.Drawing.Font("Segoe UI Semibold", 9F); this.decDigitsLabel.Location = new System.Drawing.Point(363, 241); this.decDigitsLabel.Name = "decDigitsLabel"; this.decDigitsLabel.Size = new System.Drawing.Size(90, 33); this.decDigitsLabel.TabIndex = 21; this.decDigitsLabel.Text = "Dec Digits"; this.decDigitsLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // scalarSETextBox // this.scalarSETextBox.Location = new System.Drawing.Point(176, 274); this.scalarSETextBox.Name = "scalarSETextBox"; this.scalarSETextBox.Size = new System.Drawing.Size(80, 27); this.scalarSETextBox.TabIndex = 22; this.scalarSETextBox.Text = "1.0"; this.scalarSETextBox.TextChanged += new System.EventHandler(this.textBox_TextChanged); // // scalarTETextBox // this.scalarTETextBox.Location = new System.Drawing.Point(272, 274); this.scalarTETextBox.Name = "scalarTETextBox"; this.scalarTETextBox.Size = new System.Drawing.Size(80, 27); this.scalarTETextBox.TabIndex = 23; this.scalarTETextBox.Text = "1.0"; this.scalarTETextBox.TextChanged += new System.EventHandler(this.textBox_TextChanged); // // Ch14Prb1Form // this.AcceptButton = this.calculateButton; this.AutoScaleBaseSize = new System.Drawing.Size(8, 20); this.CancelButton = this.quitButton; this.ClientSize = new System.Drawing.Size(684, 624); this.Controls.Add(this.scalarTETextBox); this.Controls.Add(this.scalarSETextBox); this.Controls.Add(this.decDigitsLabel); this.Controls.Add(this.decDigitsETextBox); this.Controls.Add(this.scalarTLabel); this.Controls.Add(this.scalarSLabel); this.Controls.Add(this.postfixLabel); this.Controls.Add(this.postfixDisplay); this.Controls.Add(this.infixLabel); this.Controls.Add(this.infixMETextBox); this.Controls.Add(this.matrixDDisplay); this.Controls.Add(this.matrixDLabel); this.Controls.Add(this.matrixCDisplay); this.Controls.Add(this.matrixCLabel); this.Controls.Add(this.resultMatrixDisplay); this.Controls.Add(this.resultMatrixLabel); this.Controls.Add(this.matrixBDisplay); this.Controls.Add(this.matrixBLabel); this.Controls.Add(this.quitButton); this.Controls.Add(this.calculateButton); this.Controls.Add(this.matrixADisplay); this.Controls.Add(this.matrixALabel); this.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.Menu = this.mainMenu; this.Name = "Ch14Prb1Form"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Ch14Prb1 – Matrix Operations Demonstration"; this.ResumeLayout(false); this.PerformLayout(); }