private void InitializeComponent() { this.lblBalanceAmount = new System.Windows.Forms.Label(); this.lblHeader = new System.Windows.Forms.Label(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.lblRemarks = new System.Windows.Forms.Label(); this.txtRemarks = new System.Windows.Forms.TextBox(); this.lblDebit = new System.Windows.Forms.Label(); this.txtAmount = new System.Windows.Forms.TextBox(); this.lblDebitOrDeposit = new System.Windows.Forms.Label(); this.imgIcon = new System.Windows.Forms.PictureBox(); this.lblAllowedDebit = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.keyboardSearchControl1 = new AceSoft.KeyBoardHook.KeyboardSearchControl(); this.cmdCancel = new System.Windows.Forms.Button(); this.cmdEnter = new System.Windows.Forms.Button(); this.keyboardNoControl1 = new AceSoft.KeyBoardHook.KeyboardNoControl(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.imgIcon)).BeginInit(); this.SuspendLayout(); // // lblBalanceAmount // this.lblBalanceAmount.BackColor = System.Drawing.Color.Transparent; this.lblBalanceAmount.Font = new System.Drawing.Font("Tahoma", 14.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Underline))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblBalanceAmount.ForeColor = System.Drawing.Color.Red; this.lblBalanceAmount.Location = new System.Drawing.Point(611, 10); this.lblBalanceAmount.Name = "lblBalanceAmount"; this.lblBalanceAmount.Size = new System.Drawing.Size(184, 32); this.lblBalanceAmount.TabIndex = 86; this.lblBalanceAmount.Text = "0.00"; this.lblBalanceAmount.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // lblHeader // this.lblHeader.AutoSize = true; this.lblHeader.BackColor = System.Drawing.Color.Transparent; this.lblHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblHeader.ForeColor = System.Drawing.Color.White; this.lblHeader.Location = new System.Drawing.Point(67, 22); this.lblHeader.Name = "lblHeader"; this.lblHeader.Size = new System.Drawing.Size(128, 13); this.lblHeader.TabIndex = 83; this.lblHeader.Text = "Tender Debit Amount"; // // groupBox1 // this.groupBox1.BackColor = System.Drawing.Color.White; this.groupBox1.Controls.Add(this.lblRemarks); this.groupBox1.Controls.Add(this.txtRemarks); this.groupBox1.Controls.Add(this.lblDebit); this.groupBox1.Controls.Add(this.txtAmount); this.groupBox1.Controls.Add(this.lblBalanceAmount); this.groupBox1.Controls.Add(this.lblDebitOrDeposit); this.groupBox1.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.groupBox1.ForeColor = System.Drawing.Color.Blue; this.groupBox1.Location = new System.Drawing.Point(9, 67); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(1008, 237); this.groupBox1.TabIndex = 84; this.groupBox1.TabStop = false; // // lblRemarks // this.lblRemarks.AutoSize = true; this.lblRemarks.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblRemarks.ForeColor = System.Drawing.Color.MediumBlue; this.lblRemarks.Location = new System.Drawing.Point(361, 134); this.lblRemarks.Name = "lblRemarks"; this.lblRemarks.Size = new System.Drawing.Size(267, 13); this.lblRemarks.TabIndex = 17; this.lblRemarks.Text = "Add an optional 255 character remarks below."; // // txtRemarks // this.txtRemarks.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.txtRemarks.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtRemarks.Location = new System.Drawing.Point(118, 153); this.txtRemarks.MaxLength = 255; this.txtRemarks.Multiline = true; this.txtRemarks.Name = "txtRemarks"; this.txtRemarks.Size = new System.Drawing.Size(723, 56); this.txtRemarks.TabIndex = 1; this.txtRemarks.GotFocus += new System.EventHandler(this.txtRemarks_GotFocus); // // lblDebit // this.lblDebit.AutoSize = true; this.lblDebit.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblDebit.ForeColor = System.Drawing.Color.MediumBlue; this.lblDebit.Location = new System.Drawing.Point(434, 58); this.lblDebit.Name = "lblDebit"; this.lblDebit.Size = new System.Drawing.Size(120, 13); this.lblDebit.TabIndex = 15; this.lblDebit.Text = "Debit Amount (PHP)"; // // txtAmount // this.txtAmount.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.txtAmount.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtAmount.Location = new System.Drawing.Point(392, 80); this.txtAmount.MaxLength = 16; this.txtAmount.Name = "txtAmount"; this.txtAmount.Size = new System.Drawing.Size(200, 30); this.txtAmount.TabIndex = 0; this.txtAmount.Text = "0.00"; this.txtAmount.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.txtAmount.GotFocus += new System.EventHandler(this.txtAmount_GotFocus); this.txtAmount.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtAmount_KeyPress); // // lblDebitOrDeposit // this.lblDebitOrDeposit.AutoSize = true; this.lblDebitOrDeposit.BackColor = System.Drawing.Color.Transparent; this.lblDebitOrDeposit.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblDebitOrDeposit.ForeColor = System.Drawing.Color.LightSlateGray; this.lblDebitOrDeposit.Location = new System.Drawing.Point(801, 17); this.lblDebitOrDeposit.Name = "lblDebitOrDeposit"; this.lblDebitOrDeposit.Size = new System.Drawing.Size(201, 19); this.lblDebitOrDeposit.TabIndex = 85; this.lblDebitOrDeposit.Text = "Current Balance to be paid."; // // imgIcon // this.imgIcon.BackColor = System.Drawing.Color.Blue; this.imgIcon.Location = new System.Drawing.Point(9, 5); this.imgIcon.Name = "imgIcon"; this.imgIcon.Size = new System.Drawing.Size(49, 49); this.imgIcon.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize; this.imgIcon.TabIndex = 82; this.imgIcon.TabStop = false; // // lblAllowedDebit // this.lblAllowedDebit.BackColor = System.Drawing.Color.Transparent; this.lblAllowedDebit.Font = new System.Drawing.Font("Tahoma", 12F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Underline))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblAllowedDebit.ForeColor = System.Drawing.Color.DarkSalmon; this.lblAllowedDebit.Location = new System.Drawing.Point(620, 48); this.lblAllowedDebit.Name = "lblAllowedDebit"; this.lblAllowedDebit.Size = new System.Drawing.Size(184, 16); this.lblAllowedDebit.TabIndex = 88; this.lblAllowedDebit.Text = "0.00"; this.lblAllowedDebit.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label2 // this.label2.AutoSize = true; this.label2.BackColor = System.Drawing.Color.Transparent; this.label2.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label2.ForeColor = System.Drawing.Color.LightSlateGray; this.label2.Location = new System.Drawing.Point(811, 52); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(136, 16); this.label2.TabIndex = 87; this.label2.Text = "Allowed debit amount."; // // keyboardSearchControl1 // this.keyboardSearchControl1.BackColor = System.Drawing.Color.White; this.keyboardSearchControl1.Location = new System.Drawing.Point(95, 323); this.keyboardSearchControl1.Name = "keyboardSearchControl1"; this.keyboardSearchControl1.Size = new System.Drawing.Size(799, 134); this.keyboardSearchControl1.TabIndex = 4; this.keyboardSearchControl1.TabStop = false; this.keyboardSearchControl1.Tag = ""; this.keyboardSearchControl1.UserKeyPressed += new AceSoft.KeyBoardHook.KeyboardDelegate(this.keyboardSearchControl1_UserKeyPressed); // // cmdCancel // this.cmdCancel.AutoSize = true; this.cmdCancel.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.cmdCancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.cmdCancel.Font = new System.Drawing.Font("Times New Roman", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.cmdCancel.ForeColor = System.Drawing.Color.White; this.cmdCancel.Location = new System.Drawing.Point(765, 618); this.cmdCancel.Name = "cmdCancel"; this.cmdCancel.Size = new System.Drawing.Size(106, 83); this.cmdCancel.TabIndex = 3; this.cmdCancel.Text = "CANCEL"; this.cmdCancel.UseVisualStyleBackColor = true; this.cmdCancel.Click += new System.EventHandler(this.cmdCancel_Click); // // cmdEnter // this.cmdEnter.AutoSize = true; this.cmdEnter.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.cmdEnter.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.cmdEnter.Font = new System.Drawing.Font("Times New Roman", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.cmdEnter.ForeColor = System.Drawing.Color.White; this.cmdEnter.Location = new System.Drawing.Point(877, 618); this.cmdEnter.Name = "cmdEnter"; this.cmdEnter.Size = new System.Drawing.Size(106, 83); this.cmdEnter.TabIndex = 2; this.cmdEnter.Text = "ENTER"; this.cmdEnter.UseVisualStyleBackColor = true; this.cmdEnter.Click += new System.EventHandler(this.cmdEnter_Click); // // keyboardNoControl1 // this.keyboardNoControl1.BackColor = System.Drawing.Color.White; this.keyboardNoControl1.commandBlank1 = AceSoft.KeyBoardHook.CommandBlank1.Up; this.keyboardNoControl1.commandBlank2 = AceSoft.KeyBoardHook.CommandBlank2.Down; this.keyboardNoControl1.Location = new System.Drawing.Point(400, 323); this.keyboardNoControl1.Name = "keyboardNoControl1"; this.keyboardNoControl1.Size = new System.Drawing.Size(202, 176); this.keyboardNoControl1.TabIndex = 89; this.keyboardNoControl1.TabStop = false; this.keyboardNoControl1.Visible = false; this.keyboardNoControl1.UserKeyPressed += new AceSoft.KeyBoardHook.KeyboardDelegate(this.keyboardNoControl1_UserKeyPressed); // // DebitPaymentWnd // this.AutoScaleBaseSize = new System.Drawing.Size(5, 14); this.BackColor = System.Drawing.Color.White; this.ClientSize = new System.Drawing.Size(1022, 766); this.ControlBox = false; this.Controls.Add(this.keyboardNoControl1); this.Controls.Add(this.cmdCancel); this.Controls.Add(this.cmdEnter); this.Controls.Add(this.keyboardSearchControl1); this.Controls.Add(this.lblAllowedDebit); this.Controls.Add(this.lblHeader); this.Controls.Add(this.groupBox1); this.Controls.Add(this.label2); this.Controls.Add(this.imgIcon); this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.KeyPreview = true; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "DebitPaymentWnd"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Load += new System.EventHandler(this.DebitPaymentWnd_Load); this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.DebitPaymentWnd_KeyDown); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.imgIcon)).EndInit(); 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.imgIcon = new System.Windows.Forms.PictureBox(); this.lblHeader = new System.Windows.Forms.Label(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.lblBalanceAmount = new System.Windows.Forms.Label(); this.lblRemarks = new System.Windows.Forms.Label(); this.lblCash = new System.Windows.Forms.Label(); this.txtRemarks = new System.Windows.Forms.TextBox(); this.txtAmount = new System.Windows.Forms.TextBox(); this.label8 = new System.Windows.Forms.Label(); this.keyboardSearchControl1 = new AceSoft.KeyBoardHook.KeyboardSearchControl(); this.cmdCancel = new System.Windows.Forms.Button(); this.cmdEnter = new System.Windows.Forms.Button(); this.keyboardNoControl1 = new AceSoft.KeyBoardHook.KeyboardNoControl(); ((System.ComponentModel.ISupportInitialize)(this.imgIcon)).BeginInit(); this.groupBox1.SuspendLayout(); this.SuspendLayout(); // // imgIcon // this.imgIcon.BackColor = System.Drawing.Color.Blue; this.imgIcon.Location = new System.Drawing.Point(9, 5); this.imgIcon.Name = "imgIcon"; this.imgIcon.Size = new System.Drawing.Size(49, 49); this.imgIcon.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize; this.imgIcon.TabIndex = 7; this.imgIcon.TabStop = false; this.imgIcon.Click += new System.EventHandler(this.imgIcon_Click); // // lblHeader // this.lblHeader.AutoSize = true; this.lblHeader.BackColor = System.Drawing.Color.Transparent; this.lblHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblHeader.ForeColor = System.Drawing.Color.White; this.lblHeader.Location = new System.Drawing.Point(67, 22); this.lblHeader.Name = "lblHeader"; this.lblHeader.Size = new System.Drawing.Size(125, 13); this.lblHeader.TabIndex = 5; this.lblHeader.Text = "Tender Cash Amount"; // // groupBox1 // this.groupBox1.BackColor = System.Drawing.Color.White; this.groupBox1.Controls.Add(this.lblBalanceAmount); this.groupBox1.Controls.Add(this.lblRemarks); this.groupBox1.Controls.Add(this.lblCash); this.groupBox1.Controls.Add(this.txtRemarks); this.groupBox1.Controls.Add(this.txtAmount); this.groupBox1.Controls.Add(this.label8); this.groupBox1.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.groupBox1.ForeColor = System.Drawing.Color.Blue; this.groupBox1.Location = new System.Drawing.Point(8, 65); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(1008, 237); this.groupBox1.TabIndex = 0; this.groupBox1.TabStop = false; // // lblBalanceAmount // this.lblBalanceAmount.BackColor = System.Drawing.Color.Transparent; this.lblBalanceAmount.Font = new System.Drawing.Font("Tahoma", 14.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Underline))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblBalanceAmount.ForeColor = System.Drawing.Color.Red; this.lblBalanceAmount.Location = new System.Drawing.Point(611, 10); this.lblBalanceAmount.Name = "lblBalanceAmount"; this.lblBalanceAmount.Size = new System.Drawing.Size(184, 32); this.lblBalanceAmount.TabIndex = 4; this.lblBalanceAmount.Text = "0.00"; this.lblBalanceAmount.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // lblRemarks // this.lblRemarks.AutoSize = true; this.lblRemarks.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblRemarks.ForeColor = System.Drawing.Color.MediumBlue; this.lblRemarks.Location = new System.Drawing.Point(361, 134); this.lblRemarks.Name = "lblRemarks"; this.lblRemarks.Size = new System.Drawing.Size(267, 13); this.lblRemarks.TabIndex = 3; this.lblRemarks.Text = "Add an optional 255 character remarks below."; // // lblCash // this.lblCash.AutoSize = true; this.lblCash.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblCash.ForeColor = System.Drawing.Color.MediumBlue; this.lblCash.Location = new System.Drawing.Point(434, 58); this.lblCash.Name = "lblCash"; this.lblCash.Size = new System.Drawing.Size(117, 13); this.lblCash.TabIndex = 2; this.lblCash.Text = "Cash Amount (PHP)"; // // txtRemarks // this.txtRemarks.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.txtRemarks.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtRemarks.Location = new System.Drawing.Point(118, 153); this.txtRemarks.MaxLength = 255; this.txtRemarks.Multiline = true; this.txtRemarks.Name = "txtRemarks"; this.txtRemarks.Size = new System.Drawing.Size(723, 56); this.txtRemarks.TabIndex = 1; this.txtRemarks.GotFocus += new System.EventHandler(this.txtRemarks_GotFocus); // // txtAmount // this.txtAmount.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.txtAmount.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtAmount.Location = new System.Drawing.Point(392, 80); this.txtAmount.MaxLength = 16; this.txtAmount.Name = "txtAmount"; this.txtAmount.Size = new System.Drawing.Size(200, 30); this.txtAmount.TabIndex = 0; this.txtAmount.Text = "0.00"; this.txtAmount.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.txtAmount.GotFocus += new System.EventHandler(this.txtAmount_GotFocus); this.txtAmount.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtAmount_KeyPress); // // label8 // this.label8.AutoSize = true; this.label8.BackColor = System.Drawing.Color.Transparent; this.label8.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label8.ForeColor = System.Drawing.Color.LightSlateGray; this.label8.Location = new System.Drawing.Point(801, 17); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(201, 19); this.label8.TabIndex = 5; this.label8.Text = "Current Balance to be paid."; // // keyboardSearchControl1 // this.keyboardSearchControl1.BackColor = System.Drawing.Color.White; this.keyboardSearchControl1.Location = new System.Drawing.Point(95, 323); this.keyboardSearchControl1.Name = "keyboardSearchControl1"; this.keyboardSearchControl1.Size = new System.Drawing.Size(799, 134); this.keyboardSearchControl1.TabIndex = 4; this.keyboardSearchControl1.TabStop = false; this.keyboardSearchControl1.Tag = ""; this.keyboardSearchControl1.Visible = false; this.keyboardSearchControl1.UserKeyPressed += new AceSoft.KeyBoardHook.KeyboardDelegate(this.keyboardSearchControl1_UserKeyPressed); // // cmdCancel // this.cmdCancel.AutoSize = true; this.cmdCancel.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.cmdCancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.cmdCancel.Font = new System.Drawing.Font("Times New Roman", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.cmdCancel.ForeColor = System.Drawing.Color.White; this.cmdCancel.Location = new System.Drawing.Point(765, 618); this.cmdCancel.Name = "cmdCancel"; this.cmdCancel.Size = new System.Drawing.Size(106, 83); this.cmdCancel.TabIndex = 2; this.cmdCancel.TabStop = false; this.cmdCancel.Text = "CANCEL"; this.cmdCancel.UseVisualStyleBackColor = true; this.cmdCancel.Click += new System.EventHandler(this.cmdCancel_Click); // // cmdEnter // this.cmdEnter.AutoSize = true; this.cmdEnter.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.cmdEnter.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.cmdEnter.Font = new System.Drawing.Font("Times New Roman", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.cmdEnter.ForeColor = System.Drawing.Color.White; this.cmdEnter.Location = new System.Drawing.Point(877, 618); this.cmdEnter.Name = "cmdEnter"; this.cmdEnter.Size = new System.Drawing.Size(106, 83); this.cmdEnter.TabIndex = 1; this.cmdEnter.TabStop = false; this.cmdEnter.Text = "ENTER"; this.cmdEnter.UseVisualStyleBackColor = true; this.cmdEnter.Click += new System.EventHandler(this.cmdEnter_Click); // // keyboardNoControl1 // this.keyboardNoControl1.BackColor = System.Drawing.Color.White; this.keyboardNoControl1.commandBlank1 = AceSoft.KeyBoardHook.CommandBlank1.Up; this.keyboardNoControl1.commandBlank2 = AceSoft.KeyBoardHook.CommandBlank2.Down; this.keyboardNoControl1.Location = new System.Drawing.Point(400, 323); this.keyboardNoControl1.Name = "keyboardNoControl1"; this.keyboardNoControl1.Size = new System.Drawing.Size(202, 176); this.keyboardNoControl1.TabIndex = 3; this.keyboardNoControl1.TabStop = false; this.keyboardNoControl1.Visible = false; this.keyboardNoControl1.UserKeyPressed += new AceSoft.KeyBoardHook.KeyboardDelegate(this.keyboardNoControl1_UserKeyPressed); // // CashPaymentWnd // this.AutoScaleBaseSize = new System.Drawing.Size(5, 14); this.BackColor = System.Drawing.Color.White; this.ClientSize = new System.Drawing.Size(1022, 766); this.ControlBox = false; this.Controls.Add(this.keyboardNoControl1); this.Controls.Add(this.cmdCancel); this.Controls.Add(this.cmdEnter); this.Controls.Add(this.keyboardSearchControl1); this.Controls.Add(this.lblHeader); this.Controls.Add(this.groupBox1); this.Controls.Add(this.imgIcon); this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.KeyPreview = true; this.Name = "CashPaymentWnd"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Load += new System.EventHandler(this.CashPaymentWnd_Load); this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.CashPaymentWnd_KeyDown); ((System.ComponentModel.ISupportInitialize)(this.imgIcon)).EndInit(); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); 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.imgIcon = new System.Windows.Forms.PictureBox(); this.lblHeader = new System.Windows.Forms.Label(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.label8 = new System.Windows.Forms.Label(); this.lblBalanceAmount = new System.Windows.Forms.Label(); this.cboCardType = new System.Windows.Forms.ComboBox(); this.label5 = new System.Windows.Forms.Label(); this.txtCardHolder = new System.Windows.Forms.TextBox(); this.label4 = new System.Windows.Forms.Label(); this.txtCardNo = new System.Windows.Forms.TextBox(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.txtValidityDates = new System.Windows.Forms.TextBox(); this.lblRemarks = new System.Windows.Forms.Label(); this.txtRemarks = new System.Windows.Forms.TextBox(); this.lblCreditCard = new System.Windows.Forms.Label(); this.txtAmount = new System.Windows.Forms.TextBox(); this.keyboardSearchControl1 = new AceSoft.KeyBoardHook.KeyboardSearchControl(); this.cmdCancel = new System.Windows.Forms.Button(); this.cmdEnter = new System.Windows.Forms.Button(); this.keyboardNoControl1 = new AceSoft.KeyBoardHook.KeyboardNoControl(); ((System.ComponentModel.ISupportInitialize)(this.imgIcon)).BeginInit(); this.groupBox1.SuspendLayout(); this.SuspendLayout(); // // imgIcon // this.imgIcon.BackColor = System.Drawing.Color.Blue; this.imgIcon.Location = new System.Drawing.Point(9, 5); this.imgIcon.Name = "imgIcon"; this.imgIcon.Size = new System.Drawing.Size(49, 49); this.imgIcon.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize; this.imgIcon.TabIndex = 7; this.imgIcon.TabStop = false; // // lblHeader // this.lblHeader.AutoSize = true; this.lblHeader.BackColor = System.Drawing.Color.Transparent; this.lblHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblHeader.ForeColor = System.Drawing.Color.White; this.lblHeader.Location = new System.Drawing.Point(67, 22); this.lblHeader.Name = "lblHeader"; this.lblHeader.Size = new System.Drawing.Size(161, 13); this.lblHeader.TabIndex = 8; this.lblHeader.Text = "Tender Credit Card Amount"; // // groupBox1 // this.groupBox1.BackColor = System.Drawing.Color.White; this.groupBox1.Controls.Add(this.label8); this.groupBox1.Controls.Add(this.lblBalanceAmount); this.groupBox1.Controls.Add(this.cboCardType); this.groupBox1.Controls.Add(this.label5); this.groupBox1.Controls.Add(this.txtCardHolder); this.groupBox1.Controls.Add(this.label4); this.groupBox1.Controls.Add(this.txtCardNo); this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.label3); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Controls.Add(this.txtValidityDates); this.groupBox1.Controls.Add(this.lblRemarks); this.groupBox1.Controls.Add(this.txtRemarks); this.groupBox1.Controls.Add(this.lblCreditCard); this.groupBox1.Controls.Add(this.txtAmount); this.groupBox1.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.groupBox1.ForeColor = System.Drawing.Color.Blue; this.groupBox1.Location = new System.Drawing.Point(9, 67); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(1008, 237); this.groupBox1.TabIndex = 89; this.groupBox1.TabStop = false; // // label8 // this.label8.AutoSize = true; this.label8.BackColor = System.Drawing.Color.Transparent; this.label8.Font = new System.Drawing.Font("Tahoma", 12F); this.label8.ForeColor = System.Drawing.Color.LightSlateGray; this.label8.Location = new System.Drawing.Point(801, 17); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(201, 19); this.label8.TabIndex = 92; this.label8.Text = "Current Balance to be paid."; // // lblBalanceAmount // this.lblBalanceAmount.BackColor = System.Drawing.Color.Transparent; this.lblBalanceAmount.Font = new System.Drawing.Font("Tahoma", 14.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Underline)))); this.lblBalanceAmount.ForeColor = System.Drawing.Color.Red; this.lblBalanceAmount.Location = new System.Drawing.Point(611, 10); this.lblBalanceAmount.Name = "lblBalanceAmount"; this.lblBalanceAmount.Size = new System.Drawing.Size(184, 30); this.lblBalanceAmount.TabIndex = 93; this.lblBalanceAmount.Text = "0.00"; this.lblBalanceAmount.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // cboCardType // this.cboCardType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cboCardType.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.cboCardType.Location = new System.Drawing.Point(203, 70); this.cboCardType.Name = "cboCardType"; this.cboCardType.Size = new System.Drawing.Size(200, 31); this.cboCardType.TabIndex = 1; this.cboCardType.GotFocus += new System.EventHandler(this.cboCardType_GotFocus); // // label5 // this.label5.AutoSize = true; this.label5.BackColor = System.Drawing.Color.White; this.label5.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label5.ForeColor = System.Drawing.Color.MediumBlue; this.label5.Location = new System.Drawing.Point(67, 107); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(76, 13); this.label5.TabIndex = 91; this.label5.Text = "Card Holder:"; // // txtCardHolder // this.txtCardHolder.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.txtCardHolder.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtCardHolder.Location = new System.Drawing.Point(203, 104); this.txtCardHolder.MaxLength = 0; this.txtCardHolder.Name = "txtCardHolder"; this.txtCardHolder.Size = new System.Drawing.Size(424, 30); this.txtCardHolder.TabIndex = 3; this.txtCardHolder.GotFocus += new System.EventHandler(this.txtCardHolder_GotFocus); // // label4 // this.label4.AutoSize = true; this.label4.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label4.ForeColor = System.Drawing.Color.MediumBlue; this.label4.Location = new System.Drawing.Point(410, 73); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(56, 13); this.label4.TabIndex = 89; this.label4.Text = "Card No.:"; // // txtCardNo // this.txtCardNo.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.txtCardNo.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtCardNo.Location = new System.Drawing.Point(467, 70); this.txtCardNo.MaxLength = 0; this.txtCardNo.Name = "txtCardNo"; this.txtCardNo.Size = new System.Drawing.Size(160, 30); this.txtCardNo.TabIndex = 2; this.txtCardNo.GotFocus += new System.EventHandler(this.txtCardNo_GotFocus); // // label2 // this.label2.AutoSize = true; this.label2.BackColor = System.Drawing.Color.Transparent; this.label2.ForeColor = System.Drawing.Color.LightSlateGray; this.label2.Location = new System.Drawing.Point(404, 146); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(84, 13); this.label2.TabIndex = 86; this.label2.Text = "(Format: mmyy)"; // // label3 // this.label3.AutoSize = true; this.label3.BackColor = System.Drawing.Color.White; this.label3.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label3.ForeColor = System.Drawing.Color.MediumBlue; this.label3.Location = new System.Drawing.Point(67, 73); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(67, 13); this.label3.TabIndex = 23; this.label3.Text = "Card Type:"; // // label1 // this.label1.AutoSize = true; this.label1.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.ForeColor = System.Drawing.Color.MediumBlue; this.label1.Location = new System.Drawing.Point(67, 141); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(97, 13); this.label1.TabIndex = 19; this.label1.Text = "Expiration Date:"; // // txtValidityDates // this.txtValidityDates.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.txtValidityDates.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtValidityDates.Location = new System.Drawing.Point(203, 138); this.txtValidityDates.MaxLength = 4; this.txtValidityDates.Name = "txtValidityDates"; this.txtValidityDates.Size = new System.Drawing.Size(200, 30); this.txtValidityDates.TabIndex = 4; this.txtValidityDates.GotFocus += new System.EventHandler(this.txtValidityDates_GotFocus); this.txtValidityDates.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtValidityDates_KeyPress); // // lblRemarks // this.lblRemarks.AutoSize = true; this.lblRemarks.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblRemarks.ForeColor = System.Drawing.Color.MediumBlue; this.lblRemarks.Location = new System.Drawing.Point(67, 175); this.lblRemarks.Name = "lblRemarks"; this.lblRemarks.Size = new System.Drawing.Size(126, 13); this.lblRemarks.TabIndex = 17; this.lblRemarks.Text = "Remarks (optional) : "; // // txtRemarks // this.txtRemarks.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.txtRemarks.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtRemarks.Location = new System.Drawing.Point(203, 172); this.txtRemarks.MaxLength = 255; this.txtRemarks.Multiline = true; this.txtRemarks.Name = "txtRemarks"; this.txtRemarks.Size = new System.Drawing.Size(585, 41); this.txtRemarks.TabIndex = 5; this.txtRemarks.GotFocus += new System.EventHandler(this.txtRemarks_GotFocus); // // lblCreditCard // this.lblCreditCard.AutoSize = true; this.lblCreditCard.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblCreditCard.ForeColor = System.Drawing.Color.MediumBlue; this.lblCreditCard.Location = new System.Drawing.Point(67, 39); this.lblCreditCard.Name = "lblCreditCard"; this.lblCreditCard.Size = new System.Drawing.Size(119, 13); this.lblCreditCard.TabIndex = 15; this.lblCreditCard.Text = "Card Amount (PHP):"; // // txtAmount // this.txtAmount.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.txtAmount.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtAmount.Location = new System.Drawing.Point(203, 36); this.txtAmount.MaxLength = 16; this.txtAmount.Name = "txtAmount"; this.txtAmount.Size = new System.Drawing.Size(200, 30); this.txtAmount.TabIndex = 0; this.txtAmount.Text = "0.00"; this.txtAmount.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.txtAmount.GotFocus += new System.EventHandler(this.txtAmount_GotFocus); this.txtAmount.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtAmount_KeyPress); // // keyboardSearchControl1 // this.keyboardSearchControl1.BackColor = System.Drawing.Color.White; this.keyboardSearchControl1.Location = new System.Drawing.Point(95, 323); this.keyboardSearchControl1.Name = "keyboardSearchControl1"; this.keyboardSearchControl1.Size = new System.Drawing.Size(799, 134); this.keyboardSearchControl1.TabIndex = 8; this.keyboardSearchControl1.TabStop = false; this.keyboardSearchControl1.Tag = ""; this.keyboardSearchControl1.UserKeyPressed += new AceSoft.KeyBoardHook.KeyboardDelegate(this.keyboardSearchControl1_UserKeyPressed); // // cmdCancel // this.cmdCancel.AutoSize = true; this.cmdCancel.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.cmdCancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.cmdCancel.Font = new System.Drawing.Font("Times New Roman", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.cmdCancel.ForeColor = System.Drawing.Color.White; this.cmdCancel.Location = new System.Drawing.Point(765, 618); this.cmdCancel.Name = "cmdCancel"; this.cmdCancel.Size = new System.Drawing.Size(106, 83); this.cmdCancel.TabIndex = 7; this.cmdCancel.Text = "CANCEL"; this.cmdCancel.UseVisualStyleBackColor = true; this.cmdCancel.Click += new System.EventHandler(this.cmdCancel_Click); // // cmdEnter // this.cmdEnter.AutoSize = true; this.cmdEnter.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.cmdEnter.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.cmdEnter.Font = new System.Drawing.Font("Times New Roman", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.cmdEnter.ForeColor = System.Drawing.Color.White; this.cmdEnter.Location = new System.Drawing.Point(877, 618); this.cmdEnter.Name = "cmdEnter"; this.cmdEnter.Size = new System.Drawing.Size(106, 83); this.cmdEnter.TabIndex = 6; this.cmdEnter.Text = "ENTER"; this.cmdEnter.UseVisualStyleBackColor = true; this.cmdEnter.Click += new System.EventHandler(this.cmdEnter_Click); // // keyboardNoControl1 // this.keyboardNoControl1.BackColor = System.Drawing.Color.White; this.keyboardNoControl1.commandBlank1 = AceSoft.KeyBoardHook.CommandBlank1.Up; this.keyboardNoControl1.commandBlank2 = AceSoft.KeyBoardHook.CommandBlank2.Down; this.keyboardNoControl1.Location = new System.Drawing.Point(400, 323); this.keyboardNoControl1.Name = "keyboardNoControl1"; this.keyboardNoControl1.Size = new System.Drawing.Size(202, 176); this.keyboardNoControl1.TabIndex = 90; this.keyboardNoControl1.TabStop = false; this.keyboardNoControl1.Visible = false; this.keyboardNoControl1.UserKeyPressed += new AceSoft.KeyBoardHook.KeyboardDelegate(this.keyboardNoControl1_UserKeyPressed); // // CreditCardPaymentWnd // this.AutoScaleBaseSize = new System.Drawing.Size(5, 14); this.BackColor = System.Drawing.Color.White; this.ClientSize = new System.Drawing.Size(1022, 766); this.ControlBox = false; this.Controls.Add(this.keyboardNoControl1); this.Controls.Add(this.cmdCancel); this.Controls.Add(this.cmdEnter); this.Controls.Add(this.keyboardSearchControl1); this.Controls.Add(this.groupBox1); this.Controls.Add(this.lblHeader); this.Controls.Add(this.imgIcon); this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.KeyPreview = true; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "CreditCardPaymentWnd"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Load += new System.EventHandler(this.CreditCardPaymentWnd_Load); this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.CreditCardPaymentWnd_KeyDown); ((System.ComponentModel.ISupportInitialize)(this.imgIcon)).EndInit(); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); 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.dgWaiter = new System.Windows.Forms.DataGrid(); this.dgStyle = new System.Windows.Forms.DataGridTableStyle(); this.WaiterID = new System.Windows.Forms.DataGridTextBoxColumn(); this.WaiterCode = new System.Windows.Forms.DataGridTextBoxColumn(); this.WaiterName = new System.Windows.Forms.DataGridTextBoxColumn(); this.label1 = new System.Windows.Forms.Label(); this.txtSearch = new System.Windows.Forms.TextBox(); this.imgIcon = new System.Windows.Forms.PictureBox(); this.keyboardSearchControl1 = new AceSoft.KeyBoardHook.KeyboardSearchControl(); ((System.ComponentModel.ISupportInitialize)(this.dgWaiter)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.imgIcon)).BeginInit(); this.SuspendLayout(); // // dgWaiter // this.dgWaiter.AlternatingBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.dgWaiter.BackColor = System.Drawing.Color.White; this.dgWaiter.BackgroundColor = System.Drawing.Color.White; this.dgWaiter.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.dgWaiter.CaptionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.dgWaiter.CaptionForeColor = System.Drawing.Color.Blue; this.dgWaiter.CaptionVisible = false; this.dgWaiter.DataMember = ""; this.dgWaiter.Dock = System.Windows.Forms.DockStyle.Bottom; this.dgWaiter.FlatMode = true; this.dgWaiter.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.dgWaiter.HeaderBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(81)))), ((int)(((byte)(153))))); this.dgWaiter.HeaderFont = new System.Drawing.Font("Tahoma", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.dgWaiter.HeaderForeColor = System.Drawing.Color.White; this.dgWaiter.Location = new System.Drawing.Point(0, 196); this.dgWaiter.Name = "dgWaiter"; this.dgWaiter.PreferredRowHeight = 50; this.dgWaiter.ReadOnly = true; this.dgWaiter.RowHeadersVisible = false; this.dgWaiter.RowHeaderWidth = 5; this.dgWaiter.SelectionBackColor = System.Drawing.Color.RoyalBlue; this.dgWaiter.SelectionForeColor = System.Drawing.Color.White; this.dgWaiter.Size = new System.Drawing.Size(1022, 570); this.dgWaiter.TabIndex = 9; this.dgWaiter.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dgStyle}); this.dgWaiter.TabStop = false; this.dgWaiter.MouseDown += new System.Windows.Forms.MouseEventHandler(this.dgWaiter_MouseDown); // // dgStyle // this.dgStyle.AlternatingBackColor = System.Drawing.Color.White; this.dgStyle.BackColor = System.Drawing.Color.White; this.dgStyle.DataGrid = this.dgWaiter; this.dgStyle.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.WaiterID, this.WaiterCode, this.WaiterName}); this.dgStyle.HeaderBackColor = System.Drawing.Color.DarkOrange; this.dgStyle.HeaderFont = new System.Drawing.Font("Tahoma", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.dgStyle.HeaderForeColor = System.Drawing.Color.White; this.dgStyle.MappingName = "tblWaiters"; this.dgStyle.PreferredColumnWidth = 180; this.dgStyle.PreferredRowHeight = 40; this.dgStyle.ReadOnly = true; this.dgStyle.RowHeadersVisible = false; this.dgStyle.RowHeaderWidth = 5; this.dgStyle.SelectionBackColor = System.Drawing.Color.Green; this.dgStyle.SelectionForeColor = System.Drawing.Color.White; // // WaiterID // this.WaiterID.Format = ""; this.WaiterID.FormatInfo = null; this.WaiterID.HeaderText = "ID"; this.WaiterID.MappingName = "WaiterID"; this.WaiterID.NullText = ""; this.WaiterID.ReadOnly = true; this.WaiterID.Width = 0; // // WaiterCode // this.WaiterCode.Format = ""; this.WaiterCode.FormatInfo = null; this.WaiterCode.HeaderText = "Code"; this.WaiterCode.MappingName = "WaiterCode"; this.WaiterCode.NullText = ""; this.WaiterCode.ReadOnly = true; this.WaiterCode.Width = 200; // // WaiterName // this.WaiterName.Format = ""; this.WaiterName.FormatInfo = null; this.WaiterName.HeaderText = "Name"; this.WaiterName.MappingName = "WaiterName"; this.WaiterName.NullText = ""; this.WaiterName.ReadOnly = true; this.WaiterName.Width = 200; // // label1 // this.label1.AutoSize = true; this.label1.BackColor = System.Drawing.Color.Transparent; this.label1.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.ForeColor = System.Drawing.Color.White; this.label1.Location = new System.Drawing.Point(67, 9); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(353, 13); this.label1.TabIndex = 8; this.label1.Text = "<- Press the icon to close the window or Enter search criteria."; // // txtSearch // this.txtSearch.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.txtSearch.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtSearch.Location = new System.Drawing.Point(67, 27); this.txtSearch.Name = "txtSearch"; this.txtSearch.Size = new System.Drawing.Size(298, 23); this.txtSearch.TabIndex = 0; this.txtSearch.TextChanged += new System.EventHandler(this.txtSearch_TextChanged); // // imgIcon // this.imgIcon.BackColor = System.Drawing.Color.Blue; this.imgIcon.Location = new System.Drawing.Point(9, 5); this.imgIcon.Name = "imgIcon"; this.imgIcon.Size = new System.Drawing.Size(49, 49); this.imgIcon.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize; this.imgIcon.TabIndex = 7; this.imgIcon.TabStop = false; this.imgIcon.Click += new System.EventHandler(this.imgIcon_Click); // // keyboardSearchControl1 // this.keyboardSearchControl1.BackColor = System.Drawing.Color.White; this.keyboardSearchControl1.Dock = System.Windows.Forms.DockStyle.Bottom; this.keyboardSearchControl1.Location = new System.Drawing.Point(0, 62); this.keyboardSearchControl1.Name = "keyboardSearchControl1"; this.keyboardSearchControl1.Size = new System.Drawing.Size(1022, 134); this.keyboardSearchControl1.TabIndex = 1; this.keyboardSearchControl1.TabStop = false; this.keyboardSearchControl1.Tag = ""; this.keyboardSearchControl1.UserKeyPressed += new AceSoft.KeyBoardHook.KeyboardDelegate(this.keyboardSearchControl1_UserKeyPressed); // // WaiterSelectWnd // this.AutoScaleBaseSize = new System.Drawing.Size(5, 14); this.BackColor = System.Drawing.Color.White; this.ClientSize = new System.Drawing.Size(1022, 766); this.ControlBox = false; this.Controls.Add(this.keyboardSearchControl1); this.Controls.Add(this.dgWaiter); this.Controls.Add(this.label1); this.Controls.Add(this.txtSearch); this.Controls.Add(this.imgIcon); this.Font = new System.Drawing.Font("Tahoma", 8.25F); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.KeyPreview = true; this.MaximizeBox = false; this.Name = "WaiterSelectWnd"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Load += new System.EventHandler(this.WaiterSelectWnd_Load); this.Resize += new System.EventHandler(this.WaiterSelectWnd_Resize); this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.WaiterSelectWnd_KeyDown); ((System.ComponentModel.ISupportInitialize)(this.dgWaiter)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.imgIcon)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { this.imgIcon = new System.Windows.Forms.PictureBox(); this.lblHeader = new System.Windows.Forms.Label(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.lblDescription = new System.Windows.Forms.Label(); this.lblBalanceAmount = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.cboChargeType = new System.Windows.Forms.ComboBox(); this.lblChargeType = new System.Windows.Forms.Label(); this.lblChargeTypes = new System.Windows.Forms.Label(); this.txtRemarks = new System.Windows.Forms.TextBox(); this.lblCash = new System.Windows.Forms.Label(); this.txtAmount = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); this.keyboardSearchControl1 = new AceSoft.KeyBoardHook.KeyboardSearchControl(); this.cmdCancel = new System.Windows.Forms.Button(); this.cmdEnter = new System.Windows.Forms.Button(); this.keyboardNoControl1 = new AceSoft.KeyBoardHook.KeyboardNoControl(); ((System.ComponentModel.ISupportInitialize)(this.imgIcon)).BeginInit(); this.groupBox1.SuspendLayout(); this.SuspendLayout(); // // imgIcon // this.imgIcon.BackColor = System.Drawing.Color.Blue; this.imgIcon.Location = new System.Drawing.Point(9, 5); this.imgIcon.Name = "imgIcon"; this.imgIcon.Size = new System.Drawing.Size(49, 49); this.imgIcon.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize; this.imgIcon.TabIndex = 87; this.imgIcon.TabStop = false; // // lblHeader // this.lblHeader.AutoSize = true; this.lblHeader.BackColor = System.Drawing.Color.Transparent; this.lblHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblHeader.ForeColor = System.Drawing.Color.White; this.lblHeader.Location = new System.Drawing.Point(67, 22); this.lblHeader.Name = "lblHeader"; this.lblHeader.Size = new System.Drawing.Size(138, 13); this.lblHeader.TabIndex = 4; this.lblHeader.Text = "Tender Charge Amount"; // // groupBox1 // this.groupBox1.Anchor = System.Windows.Forms.AnchorStyles.None; this.groupBox1.BackColor = System.Drawing.Color.White; this.groupBox1.Controls.Add(this.lblDescription); this.groupBox1.Controls.Add(this.lblBalanceAmount); this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.cboChargeType); this.groupBox1.Controls.Add(this.lblChargeType); this.groupBox1.Controls.Add(this.lblChargeTypes); this.groupBox1.Controls.Add(this.txtRemarks); this.groupBox1.Controls.Add(this.lblCash); this.groupBox1.Controls.Add(this.txtAmount); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.groupBox1.ForeColor = System.Drawing.Color.Blue; this.groupBox1.Location = new System.Drawing.Point(8, 65); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(1008, 237); this.groupBox1.TabIndex = 0; this.groupBox1.TabStop = false; this.groupBox1.Text = "Press ENTER key to apply charge."; // // lblDescription // this.lblDescription.AutoSize = true; this.lblDescription.BackColor = System.Drawing.Color.Transparent; this.lblDescription.Font = new System.Drawing.Font("Tahoma", 12F); this.lblDescription.ForeColor = System.Drawing.Color.LightSlateGray; this.lblDescription.Location = new System.Drawing.Point(801, 17); this.lblDescription.Name = "lblDescription"; this.lblDescription.Size = new System.Drawing.Size(201, 19); this.lblDescription.TabIndex = 9; this.lblDescription.Text = "Current Balance to be paid."; // // lblBalanceAmount // this.lblBalanceAmount.BackColor = System.Drawing.Color.Transparent; this.lblBalanceAmount.Font = new System.Drawing.Font("Tahoma", 14.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Underline)))); this.lblBalanceAmount.ForeColor = System.Drawing.Color.Red; this.lblBalanceAmount.Location = new System.Drawing.Point(611, 10); this.lblBalanceAmount.Name = "lblBalanceAmount"; this.lblBalanceAmount.Size = new System.Drawing.Size(184, 30); this.lblBalanceAmount.TabIndex = 8; this.lblBalanceAmount.Text = "0.00"; this.lblBalanceAmount.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label2 // this.label2.AutoSize = true; this.label2.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label2.ForeColor = System.Drawing.Color.MediumBlue; this.label2.Location = new System.Drawing.Point(346, 144); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(267, 13); this.label2.TabIndex = 5; this.label2.Text = "Add an optional 255 character remarks below."; // // cboChargeType // this.cboChargeType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cboChargeType.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.cboChargeType.Location = new System.Drawing.Point(379, 35); this.cboChargeType.Name = "cboChargeType"; this.cboChargeType.Size = new System.Drawing.Size(200, 31); this.cboChargeType.TabIndex = 0; this.cboChargeType.SelectedIndexChanged += new System.EventHandler(this.cboChargeType_SelectedIndexChanged); this.cboChargeType.GotFocus += new System.EventHandler(this.cboChargeType_GotFocus); // // lblChargeType // this.lblChargeType.AutoSize = true; this.lblChargeType.BackColor = System.Drawing.Color.Transparent; this.lblChargeType.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblChargeType.ForeColor = System.Drawing.Color.Red; this.lblChargeType.Location = new System.Drawing.Point(663, 109); this.lblChargeType.Name = "lblChargeType"; this.lblChargeType.Size = new System.Drawing.Size(20, 13); this.lblChargeType.TabIndex = 6; this.lblChargeType.Text = "%"; // // lblChargeTypes // this.lblChargeTypes.AutoSize = true; this.lblChargeTypes.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblChargeTypes.ForeColor = System.Drawing.Color.MediumBlue; this.lblChargeTypes.Location = new System.Drawing.Point(421, 16); this.lblChargeTypes.Name = "lblChargeTypes"; this.lblChargeTypes.Size = new System.Drawing.Size(116, 13); this.lblChargeTypes.TabIndex = 3; this.lblChargeTypes.Text = "Select Charge Type"; // // txtRemarks // this.txtRemarks.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.txtRemarks.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtRemarks.Location = new System.Drawing.Point(118, 162); this.txtRemarks.MaxLength = 255; this.txtRemarks.Multiline = true; this.txtRemarks.Name = "txtRemarks"; this.txtRemarks.Size = new System.Drawing.Size(723, 56); this.txtRemarks.TabIndex = 2; this.txtRemarks.GotFocus += new System.EventHandler(this.txtRemarks_GotFocus); // // lblCash // this.lblCash.AutoSize = true; this.lblCash.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblCash.ForeColor = System.Drawing.Color.MediumBlue; this.lblCash.Location = new System.Drawing.Point(416, 80); this.lblCash.Name = "lblCash"; this.lblCash.Size = new System.Drawing.Size(126, 13); this.lblCash.TabIndex = 4; this.lblCash.Text = "Charge to be applied."; // // txtAmount // this.txtAmount.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.txtAmount.Enabled = false; this.txtAmount.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtAmount.Location = new System.Drawing.Point(302, 99); this.txtAmount.MaxLength = 16; this.txtAmount.Name = "txtAmount"; this.txtAmount.Size = new System.Drawing.Size(355, 30); this.txtAmount.TabIndex = 1; this.txtAmount.Text = "0.00"; this.txtAmount.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.txtAmount.GotFocus += new System.EventHandler(this.txtAmount_GotFocus); this.txtAmount.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtAmount_KeyPress); // // label1 // this.label1.Anchor = System.Windows.Forms.AnchorStyles.None; this.label1.AutoSize = true; this.label1.BackColor = System.Drawing.Color.Transparent; this.label1.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.ForeColor = System.Drawing.Color.Red; this.label1.Location = new System.Drawing.Point(35, 0); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(39, 13); this.label1.TabIndex = 7; this.label1.Text = "ENTER"; // // keyboardSearchControl1 // this.keyboardSearchControl1.BackColor = System.Drawing.Color.White; this.keyboardSearchControl1.Location = new System.Drawing.Point(95, 323); this.keyboardSearchControl1.Name = "keyboardSearchControl1"; this.keyboardSearchControl1.Size = new System.Drawing.Size(799, 134); this.keyboardSearchControl1.TabIndex = 3; this.keyboardSearchControl1.TabStop = false; this.keyboardSearchControl1.Tag = ""; this.keyboardSearchControl1.UserKeyPressed += new AceSoft.KeyBoardHook.KeyboardDelegate(this.keyboardSearchControl1_UserKeyPressed); // // cmdCancel // this.cmdCancel.AutoSize = true; this.cmdCancel.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.cmdCancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.cmdCancel.Font = new System.Drawing.Font("Times New Roman", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.cmdCancel.ForeColor = System.Drawing.Color.White; this.cmdCancel.Location = new System.Drawing.Point(765, 618); this.cmdCancel.Name = "cmdCancel"; this.cmdCancel.Size = new System.Drawing.Size(106, 83); this.cmdCancel.TabIndex = 2; this.cmdCancel.Text = "CANCEL"; this.cmdCancel.UseVisualStyleBackColor = true; this.cmdCancel.Click += new System.EventHandler(this.cmdCancel_Click); // // cmdEnter // this.cmdEnter.AutoSize = true; this.cmdEnter.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.cmdEnter.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.cmdEnter.Font = new System.Drawing.Font("Times New Roman", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.cmdEnter.ForeColor = System.Drawing.Color.White; this.cmdEnter.Location = new System.Drawing.Point(877, 618); this.cmdEnter.Name = "cmdEnter"; this.cmdEnter.Size = new System.Drawing.Size(106, 83); this.cmdEnter.TabIndex = 1; this.cmdEnter.Text = "ENTER"; this.cmdEnter.UseVisualStyleBackColor = true; this.cmdEnter.Click += new System.EventHandler(this.cmdEnter_Click); // // keyboardNoControl1 // this.keyboardNoControl1.BackColor = System.Drawing.Color.White; this.keyboardNoControl1.commandBlank1 = AceSoft.KeyBoardHook.CommandBlank1.Up; this.keyboardNoControl1.commandBlank2 = AceSoft.KeyBoardHook.CommandBlank2.Down; this.keyboardNoControl1.Location = new System.Drawing.Point(400, 323); this.keyboardNoControl1.Name = "keyboardNoControl1"; this.keyboardNoControl1.Size = new System.Drawing.Size(208, 172); this.keyboardNoControl1.TabIndex = 88; this.keyboardNoControl1.TabStop = false; this.keyboardNoControl1.Visible = false; this.keyboardNoControl1.UserKeyPressed += new AceSoft.KeyBoardHook.KeyboardDelegate(this.keyboardNoControl1_UserKeyPressed); // // ChargeWnd // this.AutoScaleBaseSize = new System.Drawing.Size(5, 14); this.BackColor = System.Drawing.Color.White; this.ClientSize = new System.Drawing.Size(1022, 766); this.ControlBox = false; this.Controls.Add(this.keyboardNoControl1); this.Controls.Add(this.cmdCancel); this.Controls.Add(this.cmdEnter); this.Controls.Add(this.keyboardSearchControl1); this.Controls.Add(this.imgIcon); this.Controls.Add(this.lblHeader); this.Controls.Add(this.groupBox1); this.Font = new System.Drawing.Font("Tahoma", 8.25F); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.KeyPreview = true; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "ChargeWnd"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Load += new System.EventHandler(this.ChargeWnd_Load); this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.ChargeWnd_KeyDown); ((System.ComponentModel.ISupportInitialize)(this.imgIcon)).EndInit(); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); 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.dgWaiter = new System.Windows.Forms.DataGrid(); this.dgStyle = new System.Windows.Forms.DataGridTableStyle(); this.WaiterID = new System.Windows.Forms.DataGridTextBoxColumn(); this.WaiterCode = new System.Windows.Forms.DataGridTextBoxColumn(); this.WaiterName = new System.Windows.Forms.DataGridTextBoxColumn(); this.label1 = new System.Windows.Forms.Label(); this.txtSearch = new System.Windows.Forms.TextBox(); this.imgIcon = new System.Windows.Forms.PictureBox(); this.keyboardSearchControl1 = new AceSoft.KeyBoardHook.KeyboardSearchControl(); ((System.ComponentModel.ISupportInitialize)(this.dgWaiter)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.imgIcon)).BeginInit(); this.SuspendLayout(); // // dgWaiter // this.dgWaiter.AlternatingBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.dgWaiter.BackColor = System.Drawing.Color.White; this.dgWaiter.BackgroundColor = System.Drawing.Color.White; this.dgWaiter.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.dgWaiter.CaptionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.dgWaiter.CaptionForeColor = System.Drawing.Color.Blue; this.dgWaiter.CaptionVisible = false; this.dgWaiter.DataMember = ""; this.dgWaiter.Dock = System.Windows.Forms.DockStyle.Bottom; this.dgWaiter.FlatMode = true; this.dgWaiter.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.dgWaiter.HeaderBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(81)))), ((int)(((byte)(153))))); this.dgWaiter.HeaderFont = new System.Drawing.Font("Tahoma", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.dgWaiter.HeaderForeColor = System.Drawing.Color.White; this.dgWaiter.Location = new System.Drawing.Point(0, 196); this.dgWaiter.Name = "dgWaiter"; this.dgWaiter.PreferredRowHeight = 50; this.dgWaiter.ReadOnly = true; this.dgWaiter.RowHeadersVisible = false; this.dgWaiter.RowHeaderWidth = 5; this.dgWaiter.SelectionBackColor = System.Drawing.Color.RoyalBlue; this.dgWaiter.SelectionForeColor = System.Drawing.Color.White; this.dgWaiter.Size = new System.Drawing.Size(1022, 570); this.dgWaiter.TabIndex = 9; this.dgWaiter.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dgStyle }); this.dgWaiter.TabStop = false; this.dgWaiter.MouseDown += new System.Windows.Forms.MouseEventHandler(this.dgWaiter_MouseDown); // // dgStyle // this.dgStyle.AlternatingBackColor = System.Drawing.Color.White; this.dgStyle.BackColor = System.Drawing.Color.White; this.dgStyle.DataGrid = this.dgWaiter; this.dgStyle.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.WaiterID, this.WaiterCode, this.WaiterName }); this.dgStyle.HeaderBackColor = System.Drawing.Color.DarkOrange; this.dgStyle.HeaderFont = new System.Drawing.Font("Tahoma", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.dgStyle.HeaderForeColor = System.Drawing.Color.White; this.dgStyle.MappingName = "tblWaiters"; this.dgStyle.PreferredColumnWidth = 180; this.dgStyle.PreferredRowHeight = 40; this.dgStyle.ReadOnly = true; this.dgStyle.RowHeadersVisible = false; this.dgStyle.RowHeaderWidth = 5; this.dgStyle.SelectionBackColor = System.Drawing.Color.Green; this.dgStyle.SelectionForeColor = System.Drawing.Color.White; // // WaiterID // this.WaiterID.Format = ""; this.WaiterID.FormatInfo = null; this.WaiterID.HeaderText = "ID"; this.WaiterID.MappingName = "WaiterID"; this.WaiterID.NullText = ""; this.WaiterID.ReadOnly = true; this.WaiterID.Width = 0; // // WaiterCode // this.WaiterCode.Format = ""; this.WaiterCode.FormatInfo = null; this.WaiterCode.HeaderText = "Code"; this.WaiterCode.MappingName = "WaiterCode"; this.WaiterCode.NullText = ""; this.WaiterCode.ReadOnly = true; this.WaiterCode.Width = 200; // // WaiterName // this.WaiterName.Format = ""; this.WaiterName.FormatInfo = null; this.WaiterName.HeaderText = "Name"; this.WaiterName.MappingName = "WaiterName"; this.WaiterName.NullText = ""; this.WaiterName.ReadOnly = true; this.WaiterName.Width = 200; // // label1 // this.label1.AutoSize = true; this.label1.BackColor = System.Drawing.Color.Transparent; this.label1.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.ForeColor = System.Drawing.Color.White; this.label1.Location = new System.Drawing.Point(67, 9); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(353, 13); this.label1.TabIndex = 8; this.label1.Text = "<- Press the icon to close the window or Enter search criteria."; // // txtSearch // this.txtSearch.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.txtSearch.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtSearch.Location = new System.Drawing.Point(67, 27); this.txtSearch.Name = "txtSearch"; this.txtSearch.Size = new System.Drawing.Size(298, 23); this.txtSearch.TabIndex = 0; this.txtSearch.TextChanged += new System.EventHandler(this.txtSearch_TextChanged); // // imgIcon // this.imgIcon.BackColor = System.Drawing.Color.Blue; this.imgIcon.Location = new System.Drawing.Point(9, 5); this.imgIcon.Name = "imgIcon"; this.imgIcon.Size = new System.Drawing.Size(49, 49); this.imgIcon.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize; this.imgIcon.TabIndex = 7; this.imgIcon.TabStop = false; this.imgIcon.Click += new System.EventHandler(this.imgIcon_Click); // // keyboardSearchControl1 // this.keyboardSearchControl1.BackColor = System.Drawing.Color.White; this.keyboardSearchControl1.Dock = System.Windows.Forms.DockStyle.Bottom; this.keyboardSearchControl1.Location = new System.Drawing.Point(0, 62); this.keyboardSearchControl1.Name = "keyboardSearchControl1"; this.keyboardSearchControl1.Size = new System.Drawing.Size(1022, 134); this.keyboardSearchControl1.TabIndex = 1; this.keyboardSearchControl1.TabStop = false; this.keyboardSearchControl1.Tag = ""; this.keyboardSearchControl1.UserKeyPressed += new AceSoft.KeyBoardHook.KeyboardDelegate(this.keyboardSearchControl1_UserKeyPressed); // // WaiterSelectWnd // this.AutoScaleBaseSize = new System.Drawing.Size(5, 14); this.BackColor = System.Drawing.Color.White; this.ClientSize = new System.Drawing.Size(1022, 766); this.ControlBox = false; this.Controls.Add(this.keyboardSearchControl1); this.Controls.Add(this.dgWaiter); this.Controls.Add(this.label1); this.Controls.Add(this.txtSearch); this.Controls.Add(this.imgIcon); this.Font = new System.Drawing.Font("Tahoma", 8.25F); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.KeyPreview = true; this.MaximizeBox = false; this.Name = "WaiterSelectWnd"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Load += new System.EventHandler(this.WaiterSelectWnd_Load); this.Resize += new System.EventHandler(this.WaiterSelectWnd_Resize); this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.WaiterSelectWnd_KeyDown); ((System.ComponentModel.ISupportInitialize)(this.dgWaiter)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.imgIcon)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }