示例#1
0
        private void ChangeItemRemarksWnd_Load(object sender, System.EventArgs e)
        {
            if (TerminalDetails.WithRestaurantFeatures)
            {
                this.keyboardSearchControl1 = new AceSoft.KeyBoardHook.KeyboardSearchControl();

                //
                // keyboardSearchControl1
                //
                this.keyboardSearchControl1.BackColor       = System.Drawing.Color.White;
                this.keyboardSearchControl1.Location        = new System.Drawing.Point(91, 310);
                this.keyboardSearchControl1.Name            = "keyboardSearchControl1";
                this.keyboardSearchControl1.Size            = new System.Drawing.Size(799, 134);
                this.keyboardSearchControl1.TabIndex        = 91;
                this.keyboardSearchControl1.TabStop         = false;
                this.keyboardSearchControl1.Tag             = "";
                this.keyboardSearchControl1.UserKeyPressed += new AceSoft.KeyBoardHook.KeyboardDelegate(this.keyboardSearchControl1_UserKeyPressed);

                this.Controls.Add(this.keyboardSearchControl1);

                keyboardSearchControl1.Visible = false;
                keyboardSearchControl1.Visible = TerminalDetails.WithRestaurantFeatures;
            }

            lblProductCode.Text = mDetails.ProductCode;
            lblBarCode.Text     = mDetails.BarCode;
            txtRemarks.Text     = mDetails.ItemRemarks;
            lblUnit.Text        = mDetails.ProductUnitCode;
            lblQuantity.Text    = mDetails.Quantity.ToString("###,##0.#0");
            lblPrice.Text       = mDetails.Price.ToString("###,##0.#0");
            lblTotalAmount.Text = mDetails.Amount.ToString("###,##0.#0");
            txtRemarks.Focus();
            txtRemarks.SelectionStart = txtRemarks.Text.Length;
        }
示例#2
0
        private void DebitPaymentWnd_Load(object sender, System.EventArgs e)
        {
            if (TerminalDetails.WithRestaurantFeatures)
            {
                this.keyboardSearchControl1 = new AceSoft.KeyBoardHook.KeyboardSearchControl();
                this.keyboardNoControl1     = new AceSoft.KeyBoardHook.KeyboardNoControl();

                //
                // keyboardSearchControl1
                //
                this.keyboardSearchControl1.BackColor       = System.Drawing.Color.White;
                this.keyboardSearchControl1.Location        = new System.Drawing.Point(91, 310);
                this.keyboardSearchControl1.Name            = "keyboardSearchControl1";
                this.keyboardSearchControl1.Size            = new System.Drawing.Size(799, 134);
                this.keyboardSearchControl1.TabIndex        = 87;
                this.keyboardSearchControl1.TabStop         = false;
                this.keyboardSearchControl1.Tag             = "";
                this.keyboardSearchControl1.UserKeyPressed += new AceSoft.KeyBoardHook.KeyboardDelegate(this.keyboardSearchControl1_UserKeyPressed);
                //
                // 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(412, 310);
                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);

                this.Controls.Add(this.keyboardSearchControl1);
                this.Controls.Add(this.keyboardNoControl1);

                keyboardNoControl1.Visible     = TerminalDetails.WithRestaurantFeatures;
                keyboardSearchControl1.Visible = false;
            }
            lblAllowedDebit.Text  = mdecAllowedDebit.ToString("#,##0.#0");
            lblBalanceAmount.Text = mdecBalanceAmount.ToString("#,##0.#0");
            txtAmount.Text        = mdecBalanceAmount.ToString("#,##0.#0");
            lblDebit.Text         = "Debit Amount (" + CompanyDetails.Currency + ")";
            if (mboIsRefund)
            {
                lblDebitOrDeposit.Text = "Current Balance to be deposited.";
            }
            else
            {
                lblDebitOrDeposit.Text = "Current Balance to be paid.";
            }
        }
示例#3
0
        private void CashPaymentWnd_Load(object sender, System.EventArgs e)
        {
            if (TerminalDetails.WithRestaurantFeatures)
            {
                this.keyboardNoControl1     = new AceSoft.KeyBoardHook.KeyboardNoControl();
                this.keyboardSearchControl1 = new AceSoft.KeyBoardHook.KeyboardSearchControl();
                //
                // keyboardNoControl1
                //
                this.keyboardNoControl1.BackColor       = System.Drawing.Color.White;
                this.keyboardNoControl1.commandBlank1   = AceSoft.KeyBoardHook.CommandBlank1.Clear;
                this.keyboardNoControl1.commandBlank2   = AceSoft.KeyBoardHook.CommandBlank2.SelectAll;
                this.keyboardNoControl1.Location        = new System.Drawing.Point(412, 310);
                this.keyboardNoControl1.Name            = "keyboardNoControl1";
                this.keyboardNoControl1.Size            = new System.Drawing.Size(208, 172);
                this.keyboardNoControl1.TabIndex        = 86;
                this.keyboardNoControl1.TabStop         = false;
                this.keyboardNoControl1.Visible         = false;
                this.keyboardNoControl1.UserKeyPressed += new AceSoft.KeyBoardHook.KeyboardDelegate(this.keyboardNoControl1_UserKeyPressed);
                //
                // keyboardSearchControl1
                //
                this.keyboardSearchControl1.BackColor       = System.Drawing.Color.White;
                this.keyboardSearchControl1.Location        = new System.Drawing.Point(91, 310);
                this.keyboardSearchControl1.Name            = "keyboardSearchControl1";
                this.keyboardSearchControl1.Size            = new System.Drawing.Size(799, 134);
                this.keyboardSearchControl1.TabIndex        = 53;
                this.keyboardSearchControl1.TabStop         = false;
                this.keyboardSearchControl1.Tag             = "";
                this.keyboardSearchControl1.UserKeyPressed += new AceSoft.KeyBoardHook.KeyboardDelegate(this.keyboardSearchControl1_UserKeyPressed);

                this.Controls.Add(this.keyboardSearchControl1);
                this.Controls.Add(this.keyboardNoControl1);

                keyboardNoControl1.Visible = TerminalDetails.WithRestaurantFeatures;
            }

            lblBalanceAmount.Text = mdecBalanceAmount.ToString("#,##0.#0");
            txtAmount.Text        = mdecBalanceAmount.ToString("#,##0.#0");
            lblCash.Text          = "Cash Amount (" + CompanyDetails.Currency + ")";

            if (mboIsRefund)
            {
                lblHeader.Text  = "Tender Cash Amount to refund";
                lblBalance.Text = "Current Balance to be refunded.";
            }
        }
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.label1 = new System.Windows.Forms.Label();
            this.imgIcon = new System.Windows.Forms.PictureBox();
            this.dgItems = new System.Windows.Forms.DataGrid();
            this.dgStyle = new System.Windows.Forms.DataGridTableStyle();
            this.TransactionID = new System.Windows.Forms.DataGridTextBoxColumn();
            this.TransactionNo = new System.Windows.Forms.DataGridTextBoxColumn();
            this.CustomerID = new System.Windows.Forms.DataGridTextBoxColumn();
            this.CustomerName = new System.Windows.Forms.DataGridTextBoxColumn();
            this.TransactionDate = new System.Windows.Forms.DataGridTextBoxColumn();
            this.DateSuspended = new System.Windows.Forms.DataGridTextBoxColumn();
            this.TransactionStatus = new System.Windows.Forms.DataGridTextBoxColumn();
            this.TransDiscount = new System.Windows.Forms.DataGridTextBoxColumn();
            this.TransDiscountType = new System.Windows.Forms.DataGridTextBoxColumn();
            this.WaiterID = new System.Windows.Forms.DataGridTextBoxColumn();
            this.WaiterName = new System.Windows.Forms.DataGridTextBoxColumn();
            this.ChargeAmount = new System.Windows.Forms.DataGridTextBoxColumn();
            this.ChargeCode = new System.Windows.Forms.DataGridTextBoxColumn();
            this.txtSearch = new System.Windows.Forms.TextBox();
            this.keyboardSearchControl1 = new AceSoft.KeyBoardHook.KeyboardSearchControl();
            ((System.ComponentModel.ISupportInitialize)(this.imgIcon)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dgItems)).BeginInit();
            this.SuspendLayout();
            // 
            // 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 = 52;
            this.label1.Text = "<- Press the icon to close the window or Enter search criteria.";
            // 
            // 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.TabIndex = 53;
            this.imgIcon.TabStop = false;
            this.imgIcon.Click += new System.EventHandler(this.imgIcon_Click);
            // 
            // dgItems
            // 
            this.dgItems.AlternatingBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            this.dgItems.BackColor = System.Drawing.Color.White;
            this.dgItems.BackgroundColor = System.Drawing.Color.White;
            this.dgItems.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.dgItems.CaptionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            this.dgItems.CaptionForeColor = System.Drawing.Color.Blue;
            this.dgItems.CaptionVisible = false;
            this.dgItems.DataMember = "";
            this.dgItems.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.dgItems.FlatMode = true;
            this.dgItems.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.dgItems.HeaderBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(81)))), ((int)(((byte)(153)))));
            this.dgItems.HeaderFont = new System.Drawing.Font("Tahoma", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.dgItems.HeaderForeColor = System.Drawing.Color.White;
            this.dgItems.Location = new System.Drawing.Point(0, 196);
            this.dgItems.Name = "dgItems";
            this.dgItems.PreferredRowHeight = 50;
            this.dgItems.ReadOnly = true;
            this.dgItems.RowHeadersVisible = false;
            this.dgItems.RowHeaderWidth = 5;
            this.dgItems.SelectionBackColor = System.Drawing.Color.RoyalBlue;
            this.dgItems.SelectionForeColor = System.Drawing.Color.White;
            this.dgItems.Size = new System.Drawing.Size(1022, 570);
            this.dgItems.TabIndex = 54;
            this.dgItems.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
            this.dgStyle});
            this.dgItems.TabStop = false;
            this.dgItems.MouseDown += new System.Windows.Forms.MouseEventHandler(this.dgItems_MouseDown);
            // 
            // dgStyle
            // 
            this.dgStyle.AlternatingBackColor = System.Drawing.Color.White;
            this.dgStyle.DataGrid = this.dgItems;
            this.dgStyle.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
            this.TransactionID,
            this.TransactionNo,
            this.CustomerID,
            this.CustomerName,
            this.TransactionDate,
            this.DateSuspended,
            this.TransactionStatus,
            this.TransDiscount,
            this.TransDiscountType,
            this.WaiterID,
            this.WaiterName,
            this.ChargeAmount,
            this.ChargeCode});
            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 = "tblSuspendedTransactions";
            this.dgStyle.PreferredColumnWidth = 180;
            this.dgStyle.PreferredRowHeight = 40;
            this.dgStyle.ReadOnly = true;
            this.dgStyle.RowHeadersVisible = false;
            this.dgStyle.SelectionBackColor = System.Drawing.Color.Green;
            this.dgStyle.SelectionForeColor = System.Drawing.Color.White;
            // 
            // TransactionID
            // 
            this.TransactionID.Format = "";
            this.TransactionID.FormatInfo = null;
            this.TransactionID.MappingName = "TransactionID";
            this.TransactionID.NullText = "";
            this.TransactionID.ReadOnly = true;
            this.TransactionID.Width = 0;
            // 
            // TransactionNo
            // 
            this.TransactionNo.Format = "";
            this.TransactionNo.FormatInfo = null;
            this.TransactionNo.HeaderText = "Transaction No";
            this.TransactionNo.MappingName = "TransactionNo";
            this.TransactionNo.NullText = "";
            this.TransactionNo.ReadOnly = true;
            this.TransactionNo.Width = 180;
            // 
            // CustomerID
            // 
            this.CustomerID.Format = "";
            this.CustomerID.FormatInfo = null;
            this.CustomerID.MappingName = "CustomerID";
            this.CustomerID.NullText = "";
            this.CustomerID.ReadOnly = true;
            this.CustomerID.Width = 0;
            // 
            // CustomerName
            // 
            this.CustomerName.Format = "";
            this.CustomerName.FormatInfo = null;
            this.CustomerName.HeaderText = "Customer Name";
            this.CustomerName.MappingName = "CustomerName";
            this.CustomerName.NullText = "";
            this.CustomerName.ReadOnly = true;
            this.CustomerName.Width = 180;
            // 
            // TransactionDate
            // 
            this.TransactionDate.Format = "";
            this.TransactionDate.FormatInfo = null;
            this.TransactionDate.HeaderText = "TransactionDate";
            this.TransactionDate.MappingName = "TransactionDate";
            this.TransactionDate.NullText = "";
            this.TransactionDate.ReadOnly = true;
            this.TransactionDate.Width = 0;
            // 
            // DateSuspended
            // 
            this.DateSuspended.Format = "";
            this.DateSuspended.FormatInfo = null;
            this.DateSuspended.HeaderText = "Date Suspended";
            this.DateSuspended.MappingName = "DateSuspended";
            this.DateSuspended.NullText = "";
            this.DateSuspended.ReadOnly = true;
            this.DateSuspended.Width = 180;
            // 
            // TransactionStatus
            // 
            this.TransactionStatus.Format = "";
            this.TransactionStatus.FormatInfo = null;
            this.TransactionStatus.HeaderText = "TransactionStatus";
            this.TransactionStatus.MappingName = "TransactionStatus";
            this.TransactionStatus.NullText = "";
            this.TransactionStatus.ReadOnly = true;
            this.TransactionStatus.Width = 0;
            // 
            // TransDiscount
            // 
            this.TransDiscount.Format = "";
            this.TransDiscount.FormatInfo = null;
            this.TransDiscount.MappingName = "TransDiscount";
            this.TransDiscount.NullText = "";
            this.TransDiscount.ReadOnly = true;
            this.TransDiscount.Width = 0;
            // 
            // TransDiscountType
            // 
            this.TransDiscountType.Format = "";
            this.TransDiscountType.FormatInfo = null;
            this.TransDiscountType.MappingName = "TransDiscountType";
            this.TransDiscountType.NullText = "";
            this.TransDiscountType.ReadOnly = true;
            this.TransDiscountType.Width = 0;
            // 
            // WaiterID
            // 
            this.WaiterID.Format = "";
            this.WaiterID.FormatInfo = null;
            this.WaiterID.MappingName = "WaiterID";
            this.WaiterID.ReadOnly = true;
            this.WaiterID.Width = 0;
            // 
            // WaiterName
            // 
            this.WaiterName.Format = "";
            this.WaiterName.FormatInfo = null;
            this.WaiterName.MappingName = "WaiterName";
            this.WaiterName.ReadOnly = true;
            this.WaiterName.Width = 0;
            // 
            // ChargeAmount
            // 
            this.ChargeAmount.Format = "";
            this.ChargeAmount.FormatInfo = null;
            this.ChargeAmount.MappingName = "ChargeAmount";
            this.ChargeAmount.ReadOnly = true;
            this.ChargeAmount.Width = 0;
            // 
            // ChargeCode
            // 
            this.ChargeCode.Format = "";
            this.ChargeCode.FormatInfo = null;
            this.ChargeCode.MappingName = "ChargeCode";
            this.ChargeCode.ReadOnly = true;
            this.ChargeCode.Width = 0;
            // 
            // txtSearch
            // 
            this.txtSearch.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txtSearch.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, 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);
            // 
            // 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 = 99;
            this.keyboardSearchControl1.TabStop = false;
            this.keyboardSearchControl1.Tag = "";
            // 
            // ResumeTransactionWnd
            // 
            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.txtSearch);
            this.Controls.Add(this.dgItems);
            this.Controls.Add(this.label1);
            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.Name = "ResumeTransactionWnd";
            this.ShowInTaskbar = false;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Load += new System.EventHandler(this.ResumeTransactionWnd_Load);
            this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.ResumeTransactionWnd_KeyDown);
            this.Resize += new System.EventHandler(this.ResumeTransactionWnd_Resize);
            ((System.ComponentModel.ISupportInitialize)(this.imgIcon)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dgItems)).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();

        }
示例#5
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.lblHeader               = new System.Windows.Forms.Label();
     this.imgIcon                 = new System.Windows.Forms.PictureBox();
     this.groupBox1               = new System.Windows.Forms.GroupBox();
     this.txtRewardCardNo         = new System.Windows.Forms.TextBox();
     this.label5                  = new System.Windows.Forms.Label();
     this.txtRewardCardExpiryDate = new System.Windows.Forms.TextBox();
     this.label2                  = new System.Windows.Forms.Label();
     this.txtDOB                  = new System.Windows.Forms.TextBox();
     this.label1                  = new System.Windows.Forms.Label();
     this.cmdCancel               = new System.Windows.Forms.Button();
     this.cmdEnter                = new System.Windows.Forms.Button();
     this.keyboardSearchControl1  = new AceSoft.KeyBoardHook.KeyboardSearchControl();
     ((System.ComponentModel.ISupportInitialize)(this.imgIcon)).BeginInit();
     this.groupBox1.SuspendLayout();
     this.SuspendLayout();
     //
     // 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(166, 13);
     this.lblHeader.TabIndex  = 4;
     this.lblHeader.Text      = "Enter Customer Information";
     //
     // 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  = 12;
     this.imgIcon.TabStop   = false;
     //
     // groupBox1
     //
     this.groupBox1.BackColor = System.Drawing.Color.White;
     this.groupBox1.Controls.Add(this.txtRewardCardNo);
     this.groupBox1.Controls.Add(this.label5);
     this.groupBox1.Controls.Add(this.txtRewardCardExpiryDate);
     this.groupBox1.Controls.Add(this.label2);
     this.groupBox1.Controls.Add(this.txtDOB);
     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(9, 67);
     this.groupBox1.Name      = "groupBox1";
     this.groupBox1.Size      = new System.Drawing.Size(1008, 237);
     this.groupBox1.TabIndex  = 0;
     this.groupBox1.TabStop   = false;
     this.groupBox1.Text      = "Customer Details";
     //
     // txtRewardCardNo
     //
     this.txtRewardCardNo.BackColor   = System.Drawing.Color.WhiteSmoke;
     this.txtRewardCardNo.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtRewardCardNo.Enabled     = false;
     this.txtRewardCardNo.Font        = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtRewardCardNo.Location    = new System.Drawing.Point(114, 70);
     this.txtRewardCardNo.MaxLength   = 15;
     this.txtRewardCardNo.Name        = "txtRewardCardNo";
     this.txtRewardCardNo.Size        = new System.Drawing.Size(560, 33);
     this.txtRewardCardNo.TabIndex    = 0;
     this.txtRewardCardNo.Text        = "2011-0000000000000001";
     this.txtRewardCardNo.GotFocus   += new System.EventHandler(this.txtRewardCardNo_GotFocus);
     //
     // label5
     //
     this.label5.AutoSize  = true;
     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(71, 125);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(312, 13);
     this.label5.TabIndex  = 4;
     this.label5.Text      = "Please enter Rewards Card Expiry Date (yyyy-MM-dd)";
     //
     // txtRewardCardExpiryDate
     //
     this.txtRewardCardExpiryDate.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtRewardCardExpiryDate.Font        = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtRewardCardExpiryDate.Location    = new System.Drawing.Point(114, 143);
     this.txtRewardCardExpiryDate.MaxLength   = 10;
     this.txtRewardCardExpiryDate.Name        = "txtRewardCardExpiryDate";
     this.txtRewardCardExpiryDate.Size        = new System.Drawing.Size(282, 33);
     this.txtRewardCardExpiryDate.TabIndex    = 1;
     //
     // 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(513, 125);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(230, 13);
     this.label2.TabIndex  = 5;
     this.label2.Text      = "Update the Date Of Birth (yyyy-MM-dd)";
     //
     // txtDOB
     //
     this.txtDOB.BackColor   = System.Drawing.SystemColors.Window;
     this.txtDOB.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtDOB.Font        = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold);
     this.txtDOB.Location    = new System.Drawing.Point(554, 143);
     this.txtDOB.MaxLength   = 10;
     this.txtDOB.Name        = "txtDOB";
     this.txtDOB.Size        = new System.Drawing.Size(200, 33);
     this.txtDOB.TabIndex    = 2;
     //
     // 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(71, 53);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(406, 13);
     this.label1.TabIndex  = 3;
     this.label1.Text      = "Reward Card Number (this is an autogenerated card no by the system)";
     //
     // 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);
     //
     // keyboardSearchControl1
     //
     this.keyboardSearchControl1.BackColor = System.Drawing.Color.White;
     this.keyboardSearchControl1.Location  = new System.Drawing.Point(112, 316);
     this.keyboardSearchControl1.Name      = "keyboardSearchControl1";
     this.keyboardSearchControl1.Size      = new System.Drawing.Size(799, 134);
     this.keyboardSearchControl1.TabIndex  = 53;
     this.keyboardSearchControl1.TabStop   = false;
     this.keyboardSearchControl1.Tag       = "";
     //
     // ContactRewardWnd
     //
     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.cmdCancel);
     this.Controls.Add(this.cmdEnter);
     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.Name            = "ContactRewardWnd";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Load           += new System.EventHandler(this.ContactRewardAddWnd_Load);
     this.KeyDown        += new System.Windows.Forms.KeyEventHandler(this.ContactRewardAddWnd_KeyDown);
     ((System.ComponentModel.ISupportInitialize)(this.imgIcon)).EndInit();
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
        private void CreditCardPaymentWnd_Load(object sender, System.EventArgs e)
        {
            if (TerminalDetails.WithRestaurantFeatures)
            {
                this.keyboardSearchControl1 = new AceSoft.KeyBoardHook.KeyboardSearchControl();
                this.keyboardNoControl1 = new AceSoft.KeyBoardHook.KeyboardNoControl();

                // 
                // keyboardSearchControl1
                // 
                this.keyboardSearchControl1.BackColor = System.Drawing.Color.White;
                this.keyboardSearchControl1.Location = new System.Drawing.Point(91, 310);
                this.keyboardSearchControl1.Name = "keyboardSearchControl1";
                this.keyboardSearchControl1.Size = new System.Drawing.Size(799, 134);
                this.keyboardSearchControl1.TabIndex = 91;
                this.keyboardSearchControl1.TabStop = false;
                this.keyboardSearchControl1.Tag = "";
                this.keyboardSearchControl1.UserKeyPressed += new AceSoft.KeyBoardHook.KeyboardDelegate(this.keyboardSearchControl1_UserKeyPressed);
                // 
                // keyboardNoControl1
                // 
                this.keyboardNoControl1.BackColor = System.Drawing.Color.White;
                this.keyboardNoControl1.commandBlank1 = AceSoft.KeyBoardHook.CommandBlank1.Clear;
                this.keyboardNoControl1.commandBlank2 = AceSoft.KeyBoardHook.CommandBlank2.SelectAll;
                this.keyboardNoControl1.Location = new System.Drawing.Point(412, 310);
                this.keyboardNoControl1.Name = "keyboardNoControl1";
                this.keyboardNoControl1.Size = new System.Drawing.Size(208, 172);
                this.keyboardNoControl1.TabIndex = 92;
                this.keyboardNoControl1.TabStop = false;
                this.keyboardNoControl1.Visible = false;
                this.keyboardNoControl1.UserKeyPressed += new AceSoft.KeyBoardHook.KeyboardDelegate(this.keyboardNoControl1_UserKeyPressed);

                this.Controls.Add(this.keyboardSearchControl1);
                this.Controls.Add(this.keyboardNoControl1);
            
                keyboardNoControl1.Visible = TerminalDetails.WithRestaurantFeatures;
                keyboardSearchControl1.Visible = false;
            }

            LoadOptions();
        }
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.txtSearch = new System.Windows.Forms.TextBox();
            this.label1 = new System.Windows.Forms.Label();
            this.dgItems = new System.Windows.Forms.DataGrid();
            this.dgStyle = new System.Windows.Forms.DataGridTableStyle();
            this.TransactionItemsID = new System.Windows.Forms.DataGridTextBoxColumn();
            this.ProductID = new System.Windows.Forms.DataGridTextBoxColumn();
            this.ProductCode = new System.Windows.Forms.DataGridTextBoxColumn();
            this.BarCode = new System.Windows.Forms.DataGridTextBoxColumn();
            this.ProductDesc = new System.Windows.Forms.DataGridTextBoxColumn();
            this.ProductUnitID = new System.Windows.Forms.DataGridTextBoxColumn();
            this.ProductUnitCode = new System.Windows.Forms.DataGridTextBoxColumn();
            this.Quantity = new System.Windows.Forms.DataGridTextBoxColumn();
            this.Price = new System.Windows.Forms.DataGridTextBoxColumn();
            this.Discount = new System.Windows.Forms.DataGridTextBoxColumn();
            this.ItemDiscount = new System.Windows.Forms.DataGridTextBoxColumn();
            this.ItemDiscountType = new System.Windows.Forms.DataGridTextBoxColumn();
            this.Amount = new System.Windows.Forms.DataGridTextBoxColumn();
            this.VAT = new System.Windows.Forms.DataGridTextBoxColumn();
            this.EVAT = new System.Windows.Forms.DataGridTextBoxColumn();
            this.LocalTax = new System.Windows.Forms.DataGridTextBoxColumn();
            this.VariationsMatrixID = new System.Windows.Forms.DataGridTextBoxColumn();
            this.MatrixDescription = new System.Windows.Forms.DataGridTextBoxColumn();
            this.ProductGroup = new System.Windows.Forms.DataGridTextBoxColumn();
            this.ProductSubGroup = new System.Windows.Forms.DataGridTextBoxColumn();
            this.TransactionItemStatus = new System.Windows.Forms.DataGridTextBoxColumn();
            this.DiscountCode = new System.Windows.Forms.DataGridTextBoxColumn();
            this.DiscountRemarks = new System.Windows.Forms.DataGridTextBoxColumn();
            this.ProductPackageID = new System.Windows.Forms.DataGridTextBoxColumn();
            this.MatrixPackageID = new System.Windows.Forms.DataGridTextBoxColumn();
            this.PackageQuantity = new System.Windows.Forms.DataGridTextBoxColumn();
            this.PromoQuantity = new System.Windows.Forms.DataGridTextBoxColumn();
            this.PromoValue = new System.Windows.Forms.DataGridTextBoxColumn();
            this.PromoInPercent = new System.Windows.Forms.DataGridTextBoxColumn();
            this.PromoType = new System.Windows.Forms.DataGridTextBoxColumn();
            this.PromoApplied = new System.Windows.Forms.DataGridTextBoxColumn();
            this.PurchasePrice = new System.Windows.Forms.DataGridTextBoxColumn();
            this.PurchaseAmount = new System.Windows.Forms.DataGridTextBoxColumn();
            this.imgIcon = new System.Windows.Forms.PictureBox();
            this.keyboardSearchControl1 = new AceSoft.KeyBoardHook.KeyboardSearchControl();
            ((System.ComponentModel.ISupportInitialize)(this.dgItems)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.imgIcon)).BeginInit();
            this.SuspendLayout();
            // 
            // 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);
            // 
            // 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(125, 13);
            this.label1.TabIndex = 4;
            this.label1.Text = "Enter search criteria.";
            // 
            // dgItems
            // 
            this.dgItems.AlternatingBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            this.dgItems.BackColor = System.Drawing.Color.White;
            this.dgItems.BackgroundColor = System.Drawing.Color.White;
            this.dgItems.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.dgItems.CaptionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            this.dgItems.CaptionForeColor = System.Drawing.Color.Blue;
            this.dgItems.CaptionVisible = false;
            this.dgItems.DataMember = "";
            this.dgItems.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.dgItems.FlatMode = true;
            this.dgItems.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.dgItems.HeaderBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(81)))), ((int)(((byte)(153)))));
            this.dgItems.HeaderFont = new System.Drawing.Font("Tahoma", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.dgItems.HeaderForeColor = System.Drawing.Color.White;
            this.dgItems.Location = new System.Drawing.Point(0, 196);
            this.dgItems.Name = "dgItems";
            this.dgItems.PreferredRowHeight = 50;
            this.dgItems.ReadOnly = true;
            this.dgItems.RowHeadersVisible = false;
            this.dgItems.RowHeaderWidth = 7;
            this.dgItems.SelectionBackColor = System.Drawing.Color.RoyalBlue;
            this.dgItems.SelectionForeColor = System.Drawing.Color.White;
            this.dgItems.Size = new System.Drawing.Size(1022, 570);
            this.dgItems.TabIndex = 5;
            this.dgItems.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
            this.dgStyle});
            this.dgItems.TabStop = false;
            this.dgItems.MouseDown += new System.Windows.Forms.MouseEventHandler(this.dgItems_MouseDown);
            // 
            // dgStyle
            // 
            this.dgStyle.AlternatingBackColor = System.Drawing.Color.White;
            this.dgStyle.BackColor = System.Drawing.Color.White;
            this.dgStyle.DataGrid = this.dgItems;
            this.dgStyle.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
            this.TransactionItemsID,
            this.ProductID,
            this.ProductCode,
            this.BarCode,
            this.ProductDesc,
            this.ProductUnitID,
            this.ProductUnitCode,
            this.Quantity,
            this.Price,
            this.Discount,
            this.ItemDiscount,
            this.ItemDiscountType,
            this.Amount,
            this.VAT,
            this.EVAT,
            this.LocalTax,
            this.VariationsMatrixID,
            this.MatrixDescription,
            this.ProductGroup,
            this.ProductSubGroup,
            this.TransactionItemStatus,
            this.DiscountCode,
            this.DiscountRemarks,
            this.ProductPackageID,
            this.MatrixPackageID,
            this.PackageQuantity,
            this.PromoQuantity,
            this.PromoValue,
            this.PromoInPercent,
            this.PromoType,
            this.PromoApplied,
            this.PurchasePrice,
            this.PurchaseAmount});
            this.dgStyle.HeaderBackColor = System.Drawing.Color.DarkOrange;
            this.dgStyle.HeaderFont = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.dgStyle.HeaderForeColor = System.Drawing.Color.White;
            this.dgStyle.MappingName = "tblproducts";
            this.dgStyle.PreferredColumnWidth = 180;
            this.dgStyle.PreferredRowHeight = 40;
            this.dgStyle.ReadOnly = true;
            this.dgStyle.RowHeadersVisible = false;
            this.dgStyle.RowHeaderWidth = 7;
            this.dgStyle.SelectionBackColor = System.Drawing.Color.Green;
            this.dgStyle.SelectionForeColor = System.Drawing.Color.White;
            // 
            // TransactionItemsID
            // 
            this.TransactionItemsID.Format = "";
            this.TransactionItemsID.FormatInfo = null;
            this.TransactionItemsID.MappingName = "TransactionItemsID";
            this.TransactionItemsID.NullText = "";
            this.TransactionItemsID.ReadOnly = true;
            this.TransactionItemsID.Width = 0;
            // 
            // ProductID
            // 
            this.ProductID.Format = "";
            this.ProductID.FormatInfo = null;
            this.ProductID.HeaderText = "ID";
            this.ProductID.MappingName = "ProductID";
            this.ProductID.NullText = "";
            this.ProductID.ReadOnly = true;
            this.ProductID.Width = 0;
            // 
            // ProductCode
            // 
            this.ProductCode.Format = "";
            this.ProductCode.FormatInfo = null;
            this.ProductCode.HeaderText = "Product Code";
            this.ProductCode.MappingName = "ProductCode";
            this.ProductCode.NullText = "";
            this.ProductCode.ReadOnly = true;
            this.ProductCode.Width = 180;
            // 
            // BarCode
            // 
            this.BarCode.Format = "";
            this.BarCode.FormatInfo = null;
            this.BarCode.HeaderText = "Bar Code";
            this.BarCode.MappingName = "BarCode";
            this.BarCode.NullText = "";
            this.BarCode.ReadOnly = true;
            this.BarCode.Width = 180;
            // 
            // ProductDesc
            // 
            this.ProductDesc.Format = "";
            this.ProductDesc.FormatInfo = null;
            this.ProductDesc.HeaderText = "Description";
            this.ProductDesc.MappingName = "ProductDesc";
            this.ProductDesc.NullText = "";
            this.ProductDesc.ReadOnly = true;
            this.ProductDesc.Width = 276;
            // 
            // ProductUnitID
            // 
            this.ProductUnitID.Format = "";
            this.ProductUnitID.FormatInfo = null;
            this.ProductUnitID.MappingName = "ProductUnitID";
            this.ProductUnitID.NullText = "0";
            this.ProductUnitID.ReadOnly = true;
            this.ProductUnitID.Width = 0;
            // 
            // ProductUnitCode
            // 
            this.ProductUnitCode.Format = "";
            this.ProductUnitCode.FormatInfo = null;
            this.ProductUnitCode.MappingName = "ProductUnitCode";
            this.ProductUnitCode.NullText = "0";
            this.ProductUnitCode.ReadOnly = true;
            this.ProductUnitCode.Width = 0;
            // 
            // Quantity
            // 
            this.Quantity.Format = "";
            this.Quantity.FormatInfo = null;
            this.Quantity.MappingName = "Quantity";
            this.Quantity.NullText = "0";
            this.Quantity.ReadOnly = true;
            this.Quantity.Width = 0;
            // 
            // Price
            // 
            this.Price.Format = "";
            this.Price.FormatInfo = null;
            this.Price.MappingName = "Price";
            this.Price.NullText = "0";
            this.Price.ReadOnly = true;
            this.Price.Width = 0;
            // 
            // Discount
            // 
            this.Discount.Format = "";
            this.Discount.FormatInfo = null;
            this.Discount.MappingName = "Discount";
            this.Discount.NullText = "0";
            this.Discount.ReadOnly = true;
            this.Discount.Width = 0;
            // 
            // ItemDiscount
            // 
            this.ItemDiscount.Format = "";
            this.ItemDiscount.FormatInfo = null;
            this.ItemDiscount.MappingName = "ItemDiscount";
            this.ItemDiscount.NullText = "0";
            this.ItemDiscount.ReadOnly = true;
            this.ItemDiscount.Width = 0;
            // 
            // ItemDiscountType
            // 
            this.ItemDiscountType.Format = "";
            this.ItemDiscountType.FormatInfo = null;
            this.ItemDiscountType.MappingName = "ItemDiscountType";
            this.ItemDiscountType.NullText = "0";
            this.ItemDiscountType.ReadOnly = true;
            this.ItemDiscountType.Width = 0;
            // 
            // Amount
            // 
            this.Amount.Format = "";
            this.Amount.FormatInfo = null;
            this.Amount.MappingName = "Amount";
            this.Amount.NullText = "0";
            this.Amount.ReadOnly = true;
            this.Amount.Width = 0;
            // 
            // VAT
            // 
            this.VAT.Format = "";
            this.VAT.FormatInfo = null;
            this.VAT.MappingName = "VAT";
            this.VAT.NullText = "0";
            this.VAT.ReadOnly = true;
            this.VAT.Width = 0;
            // 
            // EVAT
            // 
            this.EVAT.Format = "";
            this.EVAT.FormatInfo = null;
            this.EVAT.MappingName = "EVAT";
            this.EVAT.NullText = "0";
            this.EVAT.ReadOnly = true;
            this.EVAT.Width = 0;
            // 
            // LocalTax
            // 
            this.LocalTax.Format = "";
            this.LocalTax.FormatInfo = null;
            this.LocalTax.MappingName = "LocalTax";
            this.LocalTax.NullText = "0";
            this.LocalTax.ReadOnly = true;
            this.LocalTax.Width = 0;
            // 
            // VariationsMatrixID
            // 
            this.VariationsMatrixID.Format = "";
            this.VariationsMatrixID.FormatInfo = null;
            this.VariationsMatrixID.MappingName = "VariationsMatrixID";
            this.VariationsMatrixID.NullText = "0";
            this.VariationsMatrixID.ReadOnly = true;
            this.VariationsMatrixID.Width = 0;
            // 
            // MatrixDescription
            // 
            this.MatrixDescription.Format = "";
            this.MatrixDescription.FormatInfo = null;
            this.MatrixDescription.MappingName = "MatrixDescription";
            this.MatrixDescription.ReadOnly = true;
            this.MatrixDescription.Width = 0;
            // 
            // ProductGroup
            // 
            this.ProductGroup.Format = "";
            this.ProductGroup.FormatInfo = null;
            this.ProductGroup.MappingName = "ProductGroup";
            this.ProductGroup.NullText = "";
            this.ProductGroup.ReadOnly = true;
            this.ProductGroup.Width = 0;
            // 
            // ProductSubGroup
            // 
            this.ProductSubGroup.Format = "";
            this.ProductSubGroup.FormatInfo = null;
            this.ProductSubGroup.MappingName = "ProductSubGroup";
            this.ProductSubGroup.NullText = "0";
            this.ProductSubGroup.ReadOnly = true;
            this.ProductSubGroup.Width = 0;
            // 
            // TransactionItemStatus
            // 
            this.TransactionItemStatus.Format = "";
            this.TransactionItemStatus.FormatInfo = null;
            this.TransactionItemStatus.MappingName = "TransactionItemStatus";
            this.TransactionItemStatus.NullText = "0";
            this.TransactionItemStatus.ReadOnly = true;
            this.TransactionItemStatus.Width = 0;
            // 
            // DiscountCode
            // 
            this.DiscountCode.Format = "";
            this.DiscountCode.FormatInfo = null;
            this.DiscountCode.MappingName = "DiscountCode";
            this.DiscountCode.NullText = "0";
            this.DiscountCode.ReadOnly = true;
            this.DiscountCode.Width = 0;
            // 
            // DiscountRemarks
            // 
            this.DiscountRemarks.Format = "";
            this.DiscountRemarks.FormatInfo = null;
            this.DiscountRemarks.MappingName = "DiscountRemarks";
            this.DiscountRemarks.ReadOnly = true;
            this.DiscountRemarks.Width = 0;
            // 
            // ProductPackageID
            // 
            this.ProductPackageID.Format = "";
            this.ProductPackageID.FormatInfo = null;
            this.ProductPackageID.MappingName = "ProductPackageID";
            this.ProductPackageID.NullText = "0";
            this.ProductPackageID.ReadOnly = true;
            this.ProductPackageID.Width = 0;
            // 
            // MatrixPackageID
            // 
            this.MatrixPackageID.Format = "";
            this.MatrixPackageID.FormatInfo = null;
            this.MatrixPackageID.MappingName = "MatrixPackageID";
            this.MatrixPackageID.NullText = "0";
            this.MatrixPackageID.ReadOnly = true;
            this.MatrixPackageID.Width = 0;
            // 
            // PackageQuantity
            // 
            this.PackageQuantity.Format = "";
            this.PackageQuantity.FormatInfo = null;
            this.PackageQuantity.MappingName = "PackageQuantity";
            this.PackageQuantity.NullText = "0";
            this.PackageQuantity.ReadOnly = true;
            this.PackageQuantity.Width = 0;
            // 
            // PromoQuantity
            // 
            this.PromoQuantity.Format = "";
            this.PromoQuantity.FormatInfo = null;
            this.PromoQuantity.MappingName = "PromoQuantity";
            this.PromoQuantity.NullText = "0";
            this.PromoQuantity.ReadOnly = true;
            this.PromoQuantity.Width = 0;
            // 
            // PromoValue
            // 
            this.PromoValue.Format = "";
            this.PromoValue.FormatInfo = null;
            this.PromoValue.MappingName = "PromoValue";
            this.PromoValue.NullText = "0";
            this.PromoValue.ReadOnly = true;
            this.PromoValue.Width = 75;
            // 
            // PromoInPercent
            // 
            this.PromoInPercent.Format = "";
            this.PromoInPercent.FormatInfo = null;
            this.PromoInPercent.MappingName = "PromoInPercent";
            this.PromoInPercent.NullText = "0";
            this.PromoInPercent.ReadOnly = true;
            this.PromoInPercent.Width = 75;
            // 
            // PromoType
            // 
            this.PromoType.Format = "";
            this.PromoType.FormatInfo = null;
            this.PromoType.MappingName = "PromoType";
            this.PromoType.NullText = "0";
            this.PromoType.ReadOnly = true;
            this.PromoType.Width = 75;
            // 
            // PromoApplied
            // 
            this.PromoApplied.Format = "";
            this.PromoApplied.FormatInfo = null;
            this.PromoApplied.MappingName = "PromoApplied";
            this.PromoApplied.NullText = "0";
            this.PromoApplied.ReadOnly = true;
            this.PromoApplied.Width = 0;
            // 
            // PurchasePrice
            // 
            this.PurchasePrice.Format = "";
            this.PurchasePrice.FormatInfo = null;
            this.PurchasePrice.MappingName = "PurchasePrice";
            this.PurchasePrice.NullText = "0";
            this.PurchasePrice.ReadOnly = true;
            this.PurchasePrice.Width = 0;
            // 
            // PurchaseAmount
            // 
            this.PurchaseAmount.Format = "";
            this.PurchaseAmount.FormatInfo = null;
            this.PurchaseAmount.MappingName = "PurchaseAmount";
            this.PurchaseAmount.NullText = "0";
            this.PurchaseAmount.ReadOnly = true;
            this.PurchaseAmount.Width = 0;
            // 
            // 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.TabIndex = 50;
            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 = 51;
            this.keyboardSearchControl1.TabStop = false;
            this.keyboardSearchControl1.Tag = "";
            // 
            // TransactionReturnItemSelectWnd
            // 
            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.dgItems);
            this.Controls.Add(this.label1);
            this.Controls.Add(this.txtSearch);
            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.Name = "TransactionReturnItemSelectWnd";
            this.ShowInTaskbar = false;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Load += new System.EventHandler(this.TransactionReturnItemSelectWnd_Load);
            this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.TransactionReturnItemSelectWnd_KeyDown);
            this.Resize += new System.EventHandler(this.TransactionReturnItemSelectWnd_Resize);
            ((System.ComponentModel.ISupportInitialize)(this.dgItems)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.imgIcon)).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();

        }
示例#8
0
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
            this.lblHeader = new System.Windows.Forms.Label();
            this.imgIcon = new System.Windows.Forms.PictureBox();
            this.groupBox1 = new System.Windows.Forms.GroupBox();
            this.cboSex = new System.Windows.Forms.ComboBox();
            this.label4 = new System.Windows.Forms.Label();
            this.txtAttendingPhysician = new System.Windows.Forms.TextBox();
            this.cboSalutation = new System.Windows.Forms.ComboBox();
            this.label16 = new System.Windows.Forms.Label();
            this.txtRemarks = new System.Windows.Forms.TextBox();
            this.label15 = new System.Windows.Forms.Label();
            this.txtTelephoneNo = new System.Windows.Forms.TextBox();
            this.label14 = new System.Windows.Forms.Label();
            this.label13 = new System.Windows.Forms.Label();
            this.label12 = new System.Windows.Forms.Label();
            this.txtBirthDate = new System.Windows.Forms.TextBox();
            this.label11 = new System.Windows.Forms.Label();
            this.label10 = new System.Windows.Forms.Label();
            this.txtLastName = new System.Windows.Forms.TextBox();
            this.txtMiddleName = new System.Windows.Forms.TextBox();
            this.label3 = new System.Windows.Forms.Label();
            this.txtMobileNo = new System.Windows.Forms.TextBox();
            this.label2 = new System.Windows.Forms.Label();
            this.txtFirstName = new System.Windows.Forms.TextBox();
            this.label1 = new System.Windows.Forms.Label();
            this.txtAddress = new System.Windows.Forms.TextBox();
            this.lblCaption = new System.Windows.Forms.Label();
            this.txtContactCode = new System.Windows.Forms.TextBox();
            this.cmdCancel = new System.Windows.Forms.Button();
            this.cmdEnter = new System.Windows.Forms.Button();
            this.keyboardSearchControl1 = new AceSoft.KeyBoardHook.KeyboardSearchControl();
            this.grpCreditDetails = new System.Windows.Forms.GroupBox();
            this.label9 = new System.Windows.Forms.Label();
            this.chkIsCreditAllowed = new System.Windows.Forms.CheckBox();
            this.lblDiscountType = new System.Windows.Forms.Label();
            this.label6 = new System.Windows.Forms.Label();
            this.cboTerms = new System.Windows.Forms.ComboBox();
            this.label8 = new System.Windows.Forms.Label();
            this.txtTerms = new System.Windows.Forms.TextBox();
            this.label7 = new System.Windows.Forms.Label();
            this.txtAvailableCredit = new System.Windows.Forms.TextBox();
            this.label5 = new System.Windows.Forms.Label();
            this.txtCredit = new System.Windows.Forms.TextBox();
            this.label17 = new System.Windows.Forms.Label();
            this.txtCreditLimit = new System.Windows.Forms.TextBox();
            ((System.ComponentModel.ISupportInitialize)(this.imgIcon)).BeginInit();
            this.groupBox1.SuspendLayout();
            this.grpCreditDetails.SuspendLayout();
            this.SuspendLayout();
            // 
            // 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(166, 13);
            this.lblHeader.TabIndex = 4;
            this.lblHeader.Text = "Enter Customer Information";
            // 
            // 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 = 12;
            this.imgIcon.TabStop = false;
            // 
            // groupBox1
            // 
            this.groupBox1.BackColor = System.Drawing.Color.White;
            this.groupBox1.Controls.Add(this.cboSex);
            this.groupBox1.Controls.Add(this.label4);
            this.groupBox1.Controls.Add(this.txtAttendingPhysician);
            this.groupBox1.Controls.Add(this.cboSalutation);
            this.groupBox1.Controls.Add(this.label16);
            this.groupBox1.Controls.Add(this.txtRemarks);
            this.groupBox1.Controls.Add(this.label15);
            this.groupBox1.Controls.Add(this.txtTelephoneNo);
            this.groupBox1.Controls.Add(this.label14);
            this.groupBox1.Controls.Add(this.label13);
            this.groupBox1.Controls.Add(this.label12);
            this.groupBox1.Controls.Add(this.txtBirthDate);
            this.groupBox1.Controls.Add(this.label11);
            this.groupBox1.Controls.Add(this.label10);
            this.groupBox1.Controls.Add(this.txtLastName);
            this.groupBox1.Controls.Add(this.txtMiddleName);
            this.groupBox1.Controls.Add(this.label3);
            this.groupBox1.Controls.Add(this.txtMobileNo);
            this.groupBox1.Controls.Add(this.label2);
            this.groupBox1.Controls.Add(this.txtFirstName);
            this.groupBox1.Controls.Add(this.label1);
            this.groupBox1.Controls.Add(this.txtAddress);
            this.groupBox1.Controls.Add(this.lblCaption);
            this.groupBox1.Controls.Add(this.txtContactCode);
            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, 322);
            this.groupBox1.TabIndex = 0;
            this.groupBox1.TabStop = false;
            this.groupBox1.Text = "Contact Details";
            // 
            // cboSex
            // 
            this.cboSex.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.cboSex.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cboSex.Items.AddRange(new object[] {
            "Male",
            "Female"});
            this.cboSex.Location = new System.Drawing.Point(114, 161);
            this.cboSex.Name = "cboSex";
            this.cboSex.Size = new System.Drawing.Size(80, 31);
            this.cboSex.TabIndex = 4;
            // 
            // 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(71, 263);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(58, 13);
            this.label4.TabIndex = 24;
            this.label4.Text = "Remarks";
            // 
            // txtAttendingPhysician
            // 
            this.txtAttendingPhysician.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txtAttendingPhysician.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtAttendingPhysician.Location = new System.Drawing.Point(698, 224);
            this.txtAttendingPhysician.MaxLength = 25;
            this.txtAttendingPhysician.Multiline = true;
            this.txtAttendingPhysician.Name = "txtAttendingPhysician";
            this.txtAttendingPhysician.Size = new System.Drawing.Size(255, 30);
            this.txtAttendingPhysician.TabIndex = 9;
            // 
            // cboSalutation
            // 
            this.cboSalutation.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.cboSalutation.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cboSalutation.Location = new System.Drawing.Point(114, 102);
            this.cboSalutation.Name = "cboSalutation";
            this.cboSalutation.Size = new System.Drawing.Size(80, 31);
            this.cboSalutation.TabIndex = 0;
            // 
            // label16
            // 
            this.label16.AutoSize = true;
            this.label16.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label16.ForeColor = System.Drawing.Color.MediumBlue;
            this.label16.Location = new System.Drawing.Point(695, 206);
            this.label16.Name = "label16";
            this.label16.Size = new System.Drawing.Size(119, 13);
            this.label16.TabIndex = 22;
            this.label16.Text = "Attending Physician";
            // 
            // txtRemarks
            // 
            this.txtRemarks.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txtRemarks.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtRemarks.Location = new System.Drawing.Point(114, 281);
            this.txtRemarks.MaxLength = 150;
            this.txtRemarks.Multiline = true;
            this.txtRemarks.Name = "txtRemarks";
            this.txtRemarks.Size = new System.Drawing.Size(839, 30);
            this.txtRemarks.TabIndex = 10;
            // 
            // label15
            // 
            this.label15.AutoSize = true;
            this.label15.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label15.ForeColor = System.Drawing.Color.MediumBlue;
            this.label15.Location = new System.Drawing.Point(695, 144);
            this.label15.Name = "label15";
            this.label15.Size = new System.Drawing.Size(83, 13);
            this.label15.TabIndex = 20;
            this.label15.Text = "TelePhone No";
            // 
            // txtTelephoneNo
            // 
            this.txtTelephoneNo.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txtTelephoneNo.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtTelephoneNo.Location = new System.Drawing.Point(698, 162);
            this.txtTelephoneNo.MaxLength = 75;
            this.txtTelephoneNo.Name = "txtTelephoneNo";
            this.txtTelephoneNo.Size = new System.Drawing.Size(255, 30);
            this.txtTelephoneNo.TabIndex = 7;
            // 
            // label14
            // 
            this.label14.AutoSize = true;
            this.label14.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label14.ForeColor = System.Drawing.Color.MediumBlue;
            this.label14.Location = new System.Drawing.Point(71, 144);
            this.label14.Name = "label14";
            this.label14.Size = new System.Drawing.Size(28, 13);
            this.label14.TabIndex = 18;
            this.label14.Text = "Sex";
            // 
            // label13
            // 
            this.label13.AutoSize = true;
            this.label13.BackColor = System.Drawing.Color.Transparent;
            this.label13.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label13.ForeColor = System.Drawing.Color.Red;
            this.label13.Location = new System.Drawing.Point(263, 144);
            this.label13.Name = "label13";
            this.label13.Size = new System.Drawing.Size(81, 13);
            this.label13.TabIndex = 16;
            this.label13.Text = "YYYY-MM-DD";
            // 
            // label12
            // 
            this.label12.AutoSize = true;
            this.label12.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label12.ForeColor = System.Drawing.Color.MediumBlue;
            this.label12.Location = new System.Drawing.Point(192, 144);
            this.label12.Name = "label12";
            this.label12.Size = new System.Drawing.Size(160, 13);
            this.label12.TabIndex = 13;
            this.label12.Text = "Birth Date ( YYYY-MM-DD  )";
            // 
            // txtBirthDate
            // 
            this.txtBirthDate.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txtBirthDate.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtBirthDate.Location = new System.Drawing.Point(195, 162);
            this.txtBirthDate.MaxLength = 10;
            this.txtBirthDate.Name = "txtBirthDate";
            this.txtBirthDate.Size = new System.Drawing.Size(232, 30);
            this.txtBirthDate.TabIndex = 5;
            this.txtBirthDate.Text = "1900-01-01";
            // 
            // label11
            // 
            this.label11.AutoSize = true;
            this.label11.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label11.ForeColor = System.Drawing.Color.MediumBlue;
            this.label11.Location = new System.Drawing.Point(695, 84);
            this.label11.Name = "label11";
            this.label11.Size = new System.Drawing.Size(66, 13);
            this.label11.TabIndex = 11;
            this.label11.Text = "Last Name";
            // 
            // label10
            // 
            this.label10.AutoSize = true;
            this.label10.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label10.ForeColor = System.Drawing.Color.MediumBlue;
            this.label10.Location = new System.Drawing.Point(432, 84);
            this.label10.Name = "label10";
            this.label10.Size = new System.Drawing.Size(79, 13);
            this.label10.TabIndex = 10;
            this.label10.Text = "Middle Name";
            // 
            // txtLastName
            // 
            this.txtLastName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txtLastName.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtLastName.Location = new System.Drawing.Point(696, 103);
            this.txtLastName.MaxLength = 85;
            this.txtLastName.Name = "txtLastName";
            this.txtLastName.Size = new System.Drawing.Size(257, 30);
            this.txtLastName.TabIndex = 3;
            // 
            // txtMiddleName
            // 
            this.txtMiddleName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txtMiddleName.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtMiddleName.Location = new System.Drawing.Point(433, 103);
            this.txtMiddleName.MaxLength = 85;
            this.txtMiddleName.Name = "txtMiddleName";
            this.txtMiddleName.Size = new System.Drawing.Size(257, 30);
            this.txtMiddleName.TabIndex = 2;
            // 
            // label3
            // 
            this.label3.AutoSize = true;
            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(434, 144);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(61, 13);
            this.label3.TabIndex = 7;
            this.label3.Text = "Mobile No";
            // 
            // txtMobileNo
            // 
            this.txtMobileNo.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txtMobileNo.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtMobileNo.Location = new System.Drawing.Point(437, 162);
            this.txtMobileNo.MaxLength = 75;
            this.txtMobileNo.Name = "txtMobileNo";
            this.txtMobileNo.Size = new System.Drawing.Size(255, 30);
            this.txtMobileNo.TabIndex = 6;
            this.txtMobileNo.GotFocus += new System.EventHandler(this.txtTelNo_GotFocus);
            // 
            // 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(71, 84);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(137, 13);
            this.label2.TabIndex = 5;
            this.label2.Text = "Salutation / First Name";
            // 
            // txtFirstName
            // 
            this.txtFirstName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txtFirstName.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtFirstName.Location = new System.Drawing.Point(195, 102);
            this.txtFirstName.MaxLength = 85;
            this.txtFirstName.Name = "txtFirstName";
            this.txtFirstName.Size = new System.Drawing.Size(232, 30);
            this.txtFirstName.TabIndex = 1;
            this.txtFirstName.GotFocus += new System.EventHandler(this.txtBusinessName_GotFocus);
            // 
            // 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(71, 206);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(111, 13);
            this.label1.TabIndex = 6;
            this.label1.Text = "Customer Address";
            // 
            // txtAddress
            // 
            this.txtAddress.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txtAddress.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtAddress.Location = new System.Drawing.Point(114, 224);
            this.txtAddress.MaxLength = 150;
            this.txtAddress.Multiline = true;
            this.txtAddress.Name = "txtAddress";
            this.txtAddress.Size = new System.Drawing.Size(576, 30);
            this.txtAddress.TabIndex = 8;
            this.txtAddress.GotFocus += new System.EventHandler(this.txtAddress_GotFocus);
            // 
            // lblCaption
            // 
            this.lblCaption.AutoSize = true;
            this.lblCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblCaption.ForeColor = System.Drawing.Color.MediumBlue;
            this.lblCaption.Location = new System.Drawing.Point(71, 25);
            this.lblCaption.Name = "lblCaption";
            this.lblCaption.Size = new System.Drawing.Size(167, 13);
            this.lblCaption.TabIndex = 4;
            this.lblCaption.Text = "Please enter Customer Code";
            // 
            // txtContactCode
            // 
            this.txtContactCode.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txtContactCode.Enabled = false;
            this.txtContactCode.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtContactCode.Location = new System.Drawing.Point(114, 43);
            this.txtContactCode.MaxLength = 25;
            this.txtContactCode.Name = "txtContactCode";
            this.txtContactCode.Size = new System.Drawing.Size(280, 30);
            this.txtContactCode.TabIndex = 0;
            this.txtContactCode.TabStop = false;
            this.txtContactCode.GotFocus += new System.EventHandler(this.txtCustomerName_GotFocus);
            // 
            // 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 = 12;
            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 = 11;
            this.cmdEnter.Text = "ENTER";
            this.cmdEnter.UseVisualStyleBackColor = true;
            this.cmdEnter.Click += new System.EventHandler(this.cmdEnter_Click);
            // 
            // keyboardSearchControl1
            // 
            this.keyboardSearchControl1.BackColor = System.Drawing.Color.White;
            this.keyboardSearchControl1.Location = new System.Drawing.Point(24, 596);
            this.keyboardSearchControl1.Name = "keyboardSearchControl1";
            this.keyboardSearchControl1.Size = new System.Drawing.Size(799, 134);
            this.keyboardSearchControl1.TabIndex = 13;
            this.keyboardSearchControl1.TabStop = false;
            this.keyboardSearchControl1.Tag = "";
            this.keyboardSearchControl1.Visible = false;
            // 
            // grpCreditDetails
            // 
            this.grpCreditDetails.BackColor = System.Drawing.Color.White;
            this.grpCreditDetails.Controls.Add(this.label9);
            this.grpCreditDetails.Controls.Add(this.chkIsCreditAllowed);
            this.grpCreditDetails.Controls.Add(this.lblDiscountType);
            this.grpCreditDetails.Controls.Add(this.label6);
            this.grpCreditDetails.Controls.Add(this.cboTerms);
            this.grpCreditDetails.Controls.Add(this.label8);
            this.grpCreditDetails.Controls.Add(this.txtTerms);
            this.grpCreditDetails.Controls.Add(this.label7);
            this.grpCreditDetails.Controls.Add(this.txtAvailableCredit);
            this.grpCreditDetails.Controls.Add(this.label5);
            this.grpCreditDetails.Controls.Add(this.txtCredit);
            this.grpCreditDetails.Controls.Add(this.label17);
            this.grpCreditDetails.Controls.Add(this.txtCreditLimit);
            this.grpCreditDetails.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.grpCreditDetails.ForeColor = System.Drawing.Color.Blue;
            this.grpCreditDetails.Location = new System.Drawing.Point(9, 384);
            this.grpCreditDetails.Name = "grpCreditDetails";
            this.grpCreditDetails.Size = new System.Drawing.Size(1008, 206);
            this.grpCreditDetails.TabIndex = 14;
            this.grpCreditDetails.TabStop = false;
            this.grpCreditDetails.Text = "Credit Details";
            // 
            // label9
            // 
            this.label9.AutoSize = true;
            this.label9.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label9.ForeColor = System.Drawing.Color.MediumBlue;
            this.label9.Location = new System.Drawing.Point(677, 118);
            this.label9.Name = "label9";
            this.label9.Size = new System.Drawing.Size(126, 13);
            this.label9.TabIndex = 17;
            this.label9.Text = "Check to Allow Credit";
            // 
            // chkIsCreditAllowed
            // 
            this.chkIsCreditAllowed.AutoSize = true;
            this.chkIsCreditAllowed.Font = new System.Drawing.Font("Tahoma", 8.25F);
            this.chkIsCreditAllowed.ForeColor = System.Drawing.Color.MediumBlue;
            this.chkIsCreditAllowed.Location = new System.Drawing.Point(688, 136);
            this.chkIsCreditAllowed.Name = "chkIsCreditAllowed";
            this.chkIsCreditAllowed.Size = new System.Drawing.Size(240, 30);
            this.chkIsCreditAllowed.TabIndex = 13;
            this.chkIsCreditAllowed.Text = "( If uncheck credit will not be allowed \r\n  even if he/she has available credit b" +
    "alance)";
            this.chkIsCreditAllowed.UseVisualStyleBackColor = true;
            // 
            // lblDiscountType
            // 
            this.lblDiscountType.BackColor = System.Drawing.Color.Transparent;
            this.lblDiscountType.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblDiscountType.ForeColor = System.Drawing.Color.Red;
            this.lblDiscountType.Location = new System.Drawing.Point(96, 50);
            this.lblDiscountType.Name = "lblDiscountType";
            this.lblDiscountType.Size = new System.Drawing.Size(31, 13);
            this.lblDiscountType.TabIndex = 15;
            this.lblDiscountType.Text = "0.00";
            // 
            // label6
            // 
            this.label6.AutoSize = true;
            this.label6.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label6.ForeColor = System.Drawing.Color.MediumBlue;
            this.label6.Location = new System.Drawing.Point(402, 118);
            this.label6.Name = "label6";
            this.label6.Size = new System.Drawing.Size(126, 13);
            this.label6.TabIndex = 14;
            this.label6.Text = "Select Type of Terms";
            // 
            // cboTerms
            // 
            this.cboTerms.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.cboTerms.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cboTerms.Location = new System.Drawing.Point(443, 136);
            this.cboTerms.Name = "cboTerms";
            this.cboTerms.Size = new System.Drawing.Size(185, 31);
            this.cboTerms.TabIndex = 12;
            // 
            // label8
            // 
            this.label8.AutoSize = true;
            this.label8.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label8.ForeColor = System.Drawing.Color.MediumBlue;
            this.label8.Location = new System.Drawing.Point(75, 118);
            this.label8.Name = "label8";
            this.label8.Size = new System.Drawing.Size(242, 13);
            this.label8.TabIndex = 12;
            this.label8.Text = "Enter Term No of Days or Months or Years";
            // 
            // txtTerms
            // 
            this.txtTerms.BackColor = System.Drawing.SystemColors.Window;
            this.txtTerms.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txtTerms.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtTerms.Location = new System.Drawing.Point(116, 136);
            this.txtTerms.MaxLength = 75;
            this.txtTerms.Name = "txtTerms";
            this.txtTerms.Size = new System.Drawing.Size(257, 30);
            this.txtTerms.TabIndex = 11;
            this.txtTerms.Text = "0";
            this.txtTerms.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            // 
            // label7
            // 
            this.label7.AutoSize = true;
            this.label7.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label7.ForeColor = System.Drawing.Color.MediumBlue;
            this.label7.Location = new System.Drawing.Point(677, 50);
            this.label7.Name = "label7";
            this.label7.Size = new System.Drawing.Size(143, 13);
            this.label7.TabIndex = 9;
            this.label7.Text = "Available Credit Balance";
            // 
            // txtAvailableCredit
            // 
            this.txtAvailableCredit.BackColor = System.Drawing.SystemColors.InactiveCaption;
            this.txtAvailableCredit.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txtAvailableCredit.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtAvailableCredit.Location = new System.Drawing.Point(688, 68);
            this.txtAvailableCredit.MaxLength = 75;
            this.txtAvailableCredit.Name = "txtAvailableCredit";
            this.txtAvailableCredit.ReadOnly = true;
            this.txtAvailableCredit.Size = new System.Drawing.Size(185, 30);
            this.txtAvailableCredit.TabIndex = 8;
            this.txtAvailableCredit.TabStop = false;
            this.txtAvailableCredit.Text = "0.00";
            this.txtAvailableCredit.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            // 
            // label5
            // 
            this.label5.AutoSize = true;
            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(402, 50);
            this.label5.Name = "label5";
            this.label5.Size = new System.Drawing.Size(135, 13);
            this.label5.TabIndex = 7;
            this.label5.Text = "Current Credit Amount";
            // 
            // txtCredit
            // 
            this.txtCredit.BackColor = System.Drawing.SystemColors.InactiveCaption;
            this.txtCredit.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txtCredit.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtCredit.Location = new System.Drawing.Point(443, 68);
            this.txtCredit.MaxLength = 75;
            this.txtCredit.Name = "txtCredit";
            this.txtCredit.ReadOnly = true;
            this.txtCredit.Size = new System.Drawing.Size(185, 30);
            this.txtCredit.TabIndex = 2;
            this.txtCredit.TabStop = false;
            this.txtCredit.Text = "0.00";
            this.txtCredit.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            // 
            // label17
            // 
            this.label17.AutoSize = true;
            this.label17.BackColor = System.Drawing.SystemColors.Window;
            this.label17.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label17.ForeColor = System.Drawing.Color.MediumBlue;
            this.label17.Location = new System.Drawing.Point(71, 37);
            this.label17.Name = "label17";
            this.label17.Size = new System.Drawing.Size(298, 26);
            this.label17.TabIndex = 5;
            this.label17.Text = "Enter amount of credit limit\r\n      (0.00   means customer is not allowed for cre" +
    "dit)";
            // 
            // txtCreditLimit
            // 
            this.txtCreditLimit.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txtCreditLimit.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtCreditLimit.Location = new System.Drawing.Point(114, 68);
            this.txtCreditLimit.MaxLength = 75;
            this.txtCreditLimit.Name = "txtCreditLimit";
            this.txtCreditLimit.Size = new System.Drawing.Size(257, 30);
            this.txtCreditLimit.TabIndex = 10;
            this.txtCreditLimit.Text = "0.00";
            this.txtCreditLimit.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            // 
            // ContactAddHCareWnd
            // 
            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.grpCreditDetails);
            this.Controls.Add(this.keyboardSearchControl1);
            this.Controls.Add(this.groupBox1);
            this.Controls.Add(this.cmdCancel);
            this.Controls.Add(this.cmdEnter);
            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.Name = "ContactAddHCareWnd";
            this.ShowInTaskbar = false;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Load += new System.EventHandler(this.ContactAddHCareWnd_Load);
            this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.ContactAddHCareWnd_KeyDown);
            ((System.ComponentModel.ISupportInitialize)(this.imgIcon)).EndInit();
            this.groupBox1.ResumeLayout(false);
            this.groupBox1.PerformLayout();
            this.grpCreditDetails.ResumeLayout(false);
            this.grpCreditDetails.PerformLayout();
            this.ResumeLayout(false);
            this.PerformLayout();

		}
示例#9
0
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
            this.lblHeader = new System.Windows.Forms.Label();
            this.imgIcon = new System.Windows.Forms.PictureBox();
            this.groupBox1 = new System.Windows.Forms.GroupBox();
            this.cmdCopyCustomerName = new System.Windows.Forms.Button();
            this.cmdGenerateCustomerCode = new System.Windows.Forms.Button();
            this.label4 = new System.Windows.Forms.Label();
            this.txtContactName = new System.Windows.Forms.TextBox();
            this.cboSalutation = new System.Windows.Forms.ComboBox();
            this.label16 = new System.Windows.Forms.Label();
            this.txtRemarks = new System.Windows.Forms.TextBox();
            this.label15 = new System.Windows.Forms.Label();
            this.txtTelephoneNo = new System.Windows.Forms.TextBox();
            this.label14 = new System.Windows.Forms.Label();
            this.txtBusinessName = new System.Windows.Forms.TextBox();
            this.label13 = new System.Windows.Forms.Label();
            this.label12 = new System.Windows.Forms.Label();
            this.txtBirthDate = new System.Windows.Forms.TextBox();
            this.label11 = new System.Windows.Forms.Label();
            this.label10 = new System.Windows.Forms.Label();
            this.txtLastName = new System.Windows.Forms.TextBox();
            this.txtMiddleName = new System.Windows.Forms.TextBox();
            this.label3 = new System.Windows.Forms.Label();
            this.txtMobileNo = new System.Windows.Forms.TextBox();
            this.label2 = new System.Windows.Forms.Label();
            this.txtFirstName = new System.Windows.Forms.TextBox();
            this.label1 = new System.Windows.Forms.Label();
            this.txtAddress = new System.Windows.Forms.TextBox();
            this.lblCaption = new System.Windows.Forms.Label();
            this.txtContactCode = new System.Windows.Forms.TextBox();
            this.cmdCancel = new System.Windows.Forms.Button();
            this.cmdEnter = new System.Windows.Forms.Button();
            this.keyboardSearchControl1 = new AceSoft.KeyBoardHook.KeyboardSearchControl();
            ((System.ComponentModel.ISupportInitialize)(this.imgIcon)).BeginInit();
            this.groupBox1.SuspendLayout();
            this.SuspendLayout();
            // 
            // 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(166, 13);
            this.lblHeader.TabIndex = 4;
            this.lblHeader.Text = "Enter Customer Information";
            // 
            // 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 = 12;
            this.imgIcon.TabStop = false;
            // 
            // groupBox1
            // 
            this.groupBox1.BackColor = System.Drawing.Color.White;
            this.groupBox1.Controls.Add(this.cmdCopyCustomerName);
            this.groupBox1.Controls.Add(this.cmdGenerateCustomerCode);
            this.groupBox1.Controls.Add(this.label4);
            this.groupBox1.Controls.Add(this.txtContactName);
            this.groupBox1.Controls.Add(this.cboSalutation);
            this.groupBox1.Controls.Add(this.label16);
            this.groupBox1.Controls.Add(this.txtRemarks);
            this.groupBox1.Controls.Add(this.label15);
            this.groupBox1.Controls.Add(this.txtTelephoneNo);
            this.groupBox1.Controls.Add(this.label14);
            this.groupBox1.Controls.Add(this.txtBusinessName);
            this.groupBox1.Controls.Add(this.label13);
            this.groupBox1.Controls.Add(this.label12);
            this.groupBox1.Controls.Add(this.txtBirthDate);
            this.groupBox1.Controls.Add(this.label11);
            this.groupBox1.Controls.Add(this.label10);
            this.groupBox1.Controls.Add(this.txtLastName);
            this.groupBox1.Controls.Add(this.txtMiddleName);
            this.groupBox1.Controls.Add(this.label3);
            this.groupBox1.Controls.Add(this.txtMobileNo);
            this.groupBox1.Controls.Add(this.label2);
            this.groupBox1.Controls.Add(this.txtFirstName);
            this.groupBox1.Controls.Add(this.label1);
            this.groupBox1.Controls.Add(this.txtAddress);
            this.groupBox1.Controls.Add(this.lblCaption);
            this.groupBox1.Controls.Add(this.txtContactCode);
            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, 345);
            this.groupBox1.TabIndex = 0;
            this.groupBox1.TabStop = false;
            this.groupBox1.Text = "Contact Details";
            // 
            // cmdCopyCustomerName
            // 
            this.cmdCopyCustomerName.CausesValidation = false;
            this.cmdCopyCustomerName.Location = new System.Drawing.Point(959, 103);
            this.cmdCopyCustomerName.Name = "cmdCopyCustomerName";
            this.cmdCopyCustomerName.Size = new System.Drawing.Size(27, 30);
            this.cmdCopyCustomerName.TabIndex = 7;
            this.cmdCopyCustomerName.Text = "...";
            this.cmdCopyCustomerName.UseVisualStyleBackColor = true;
            this.cmdCopyCustomerName.Click += new System.EventHandler(this.cmdCopyCustomerName_Click);
            // 
            // cmdGenerateCustomerCode
            // 
            this.cmdGenerateCustomerCode.CausesValidation = false;
            this.cmdGenerateCustomerCode.Location = new System.Drawing.Point(400, 44);
            this.cmdGenerateCustomerCode.Name = "cmdGenerateCustomerCode";
            this.cmdGenerateCustomerCode.Size = new System.Drawing.Size(27, 30);
            this.cmdGenerateCustomerCode.TabIndex = 1;
            this.cmdGenerateCustomerCode.Text = "...";
            this.cmdGenerateCustomerCode.UseVisualStyleBackColor = true;
            this.cmdGenerateCustomerCode.Click += new System.EventHandler(this.cmdGenerateCustomerCode_Click);
            // 
            // 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(432, 25);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(171, 13);
            this.label4.TabIndex = 24;
            this.label4.Text = "Please enter Customer Name";
            // 
            // txtContactName
            // 
            this.txtContactName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txtContactName.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtContactName.Location = new System.Drawing.Point(435, 43);
            this.txtContactName.MaxLength = 25;
            this.txtContactName.Name = "txtContactName";
            this.txtContactName.Size = new System.Drawing.Size(518, 30);
            this.txtContactName.TabIndex = 2;
            // 
            // cboSalutation
            // 
            this.cboSalutation.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.cboSalutation.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cboSalutation.Location = new System.Drawing.Point(114, 102);
            this.cboSalutation.Name = "cboSalutation";
            this.cboSalutation.Size = new System.Drawing.Size(80, 31);
            this.cboSalutation.TabIndex = 3;
            // 
            // label16
            // 
            this.label16.AutoSize = true;
            this.label16.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label16.ForeColor = System.Drawing.Color.MediumBlue;
            this.label16.Location = new System.Drawing.Point(71, 263);
            this.label16.Name = "label16";
            this.label16.Size = new System.Drawing.Size(58, 13);
            this.label16.TabIndex = 22;
            this.label16.Text = "Remarks";
            // 
            // txtRemarks
            // 
            this.txtRemarks.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txtRemarks.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtRemarks.Location = new System.Drawing.Point(114, 281);
            this.txtRemarks.MaxLength = 150;
            this.txtRemarks.Multiline = true;
            this.txtRemarks.Name = "txtRemarks";
            this.txtRemarks.Size = new System.Drawing.Size(839, 51);
            this.txtRemarks.TabIndex = 13;
            // 
            // label15
            // 
            this.label15.AutoSize = true;
            this.label15.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label15.ForeColor = System.Drawing.Color.MediumBlue;
            this.label15.Location = new System.Drawing.Point(695, 206);
            this.label15.Name = "label15";
            this.label15.Size = new System.Drawing.Size(83, 13);
            this.label15.TabIndex = 20;
            this.label15.Text = "TelePhone No";
            // 
            // txtTelephoneNo
            // 
            this.txtTelephoneNo.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txtTelephoneNo.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtTelephoneNo.Location = new System.Drawing.Point(698, 224);
            this.txtTelephoneNo.MaxLength = 75;
            this.txtTelephoneNo.Name = "txtTelephoneNo";
            this.txtTelephoneNo.Size = new System.Drawing.Size(255, 30);
            this.txtTelephoneNo.TabIndex = 12;
            // 
            // label14
            // 
            this.label14.AutoSize = true;
            this.label14.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label14.ForeColor = System.Drawing.Color.MediumBlue;
            this.label14.Location = new System.Drawing.Point(71, 144);
            this.label14.Name = "label14";
            this.label14.Size = new System.Drawing.Size(88, 13);
            this.label14.TabIndex = 18;
            this.label14.Text = "BusinessName";
            // 
            // txtBusinessName
            // 
            this.txtBusinessName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txtBusinessName.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtBusinessName.Location = new System.Drawing.Point(114, 162);
            this.txtBusinessName.MaxLength = 75;
            this.txtBusinessName.Name = "txtBusinessName";
            this.txtBusinessName.Size = new System.Drawing.Size(313, 30);
            this.txtBusinessName.TabIndex = 8;
            // 
            // label13
            // 
            this.label13.AutoSize = true;
            this.label13.BackColor = System.Drawing.Color.Transparent;
            this.label13.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label13.ForeColor = System.Drawing.Color.Red;
            this.label13.Location = new System.Drawing.Point(500, 144);
            this.label13.Name = "label13";
            this.label13.Size = new System.Drawing.Size(81, 13);
            this.label13.TabIndex = 16;
            this.label13.Text = "YYYY-MM-DD";
            // 
            // label12
            // 
            this.label12.AutoSize = true;
            this.label12.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label12.ForeColor = System.Drawing.Color.MediumBlue;
            this.label12.Location = new System.Drawing.Point(432, 144);
            this.label12.Name = "label12";
            this.label12.Size = new System.Drawing.Size(157, 13);
            this.label12.TabIndex = 13;
            this.label12.Text = "Birth Date ( YYYY-MM-DD )";
            // 
            // txtBirthDate
            // 
            this.txtBirthDate.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txtBirthDate.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtBirthDate.Location = new System.Drawing.Point(435, 162);
            this.txtBirthDate.MaxLength = 10;
            this.txtBirthDate.Name = "txtBirthDate";
            this.txtBirthDate.Size = new System.Drawing.Size(257, 30);
            this.txtBirthDate.TabIndex = 9;
            this.txtBirthDate.Text = "1900-01-01";
            // 
            // label11
            // 
            this.label11.AutoSize = true;
            this.label11.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label11.ForeColor = System.Drawing.Color.MediumBlue;
            this.label11.Location = new System.Drawing.Point(695, 84);
            this.label11.Name = "label11";
            this.label11.Size = new System.Drawing.Size(66, 13);
            this.label11.TabIndex = 11;
            this.label11.Text = "Last Name";
            // 
            // label10
            // 
            this.label10.AutoSize = true;
            this.label10.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label10.ForeColor = System.Drawing.Color.MediumBlue;
            this.label10.Location = new System.Drawing.Point(432, 84);
            this.label10.Name = "label10";
            this.label10.Size = new System.Drawing.Size(79, 13);
            this.label10.TabIndex = 10;
            this.label10.Text = "Middle Name";
            // 
            // txtLastName
            // 
            this.txtLastName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txtLastName.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtLastName.Location = new System.Drawing.Point(696, 103);
            this.txtLastName.MaxLength = 85;
            this.txtLastName.Name = "txtLastName";
            this.txtLastName.Size = new System.Drawing.Size(257, 30);
            this.txtLastName.TabIndex = 6;
            this.txtLastName.TextChanged += new System.EventHandler(this.txtLastName_TextChanged);
            // 
            // txtMiddleName
            // 
            this.txtMiddleName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txtMiddleName.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtMiddleName.Location = new System.Drawing.Point(433, 103);
            this.txtMiddleName.MaxLength = 85;
            this.txtMiddleName.Name = "txtMiddleName";
            this.txtMiddleName.Size = new System.Drawing.Size(257, 30);
            this.txtMiddleName.TabIndex = 5;
            this.txtMiddleName.TextChanged += new System.EventHandler(this.txtMiddleName_TextChanged);
            // 
            // label3
            // 
            this.label3.AutoSize = true;
            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(695, 144);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(61, 13);
            this.label3.TabIndex = 7;
            this.label3.Text = "Mobile No";
            // 
            // txtMobileNo
            // 
            this.txtMobileNo.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txtMobileNo.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtMobileNo.Location = new System.Drawing.Point(698, 162);
            this.txtMobileNo.MaxLength = 75;
            this.txtMobileNo.Name = "txtMobileNo";
            this.txtMobileNo.Size = new System.Drawing.Size(255, 30);
            this.txtMobileNo.TabIndex = 10;
            this.txtMobileNo.GotFocus += new System.EventHandler(this.txtTelNo_GotFocus);
            // 
            // 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(71, 84);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(137, 13);
            this.label2.TabIndex = 5;
            this.label2.Text = "Salutation / First Name";
            // 
            // txtFirstName
            // 
            this.txtFirstName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txtFirstName.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtFirstName.Location = new System.Drawing.Point(195, 102);
            this.txtFirstName.MaxLength = 85;
            this.txtFirstName.Name = "txtFirstName";
            this.txtFirstName.Size = new System.Drawing.Size(232, 30);
            this.txtFirstName.TabIndex = 4;
            this.txtFirstName.TextChanged += new System.EventHandler(this.txtFirstName_TextChanged);
            this.txtFirstName.GotFocus += new System.EventHandler(this.txtBusinessName_GotFocus);
            // 
            // 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(71, 206);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(111, 13);
            this.label1.TabIndex = 6;
            this.label1.Text = "Customer Address";
            // 
            // txtAddress
            // 
            this.txtAddress.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txtAddress.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtAddress.Location = new System.Drawing.Point(114, 224);
            this.txtAddress.MaxLength = 150;
            this.txtAddress.Multiline = true;
            this.txtAddress.Name = "txtAddress";
            this.txtAddress.Size = new System.Drawing.Size(578, 30);
            this.txtAddress.TabIndex = 11;
            this.txtAddress.GotFocus += new System.EventHandler(this.txtAddress_GotFocus);
            // 
            // lblCaption
            // 
            this.lblCaption.AutoSize = true;
            this.lblCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblCaption.ForeColor = System.Drawing.Color.MediumBlue;
            this.lblCaption.Location = new System.Drawing.Point(71, 25);
            this.lblCaption.Name = "lblCaption";
            this.lblCaption.Size = new System.Drawing.Size(167, 13);
            this.lblCaption.TabIndex = 4;
            this.lblCaption.Text = "Please enter Customer Code";
            // 
            // txtContactCode
            // 
            this.txtContactCode.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txtContactCode.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtContactCode.Location = new System.Drawing.Point(114, 43);
            this.txtContactCode.MaxLength = 25;
            this.txtContactCode.Name = "txtContactCode";
            this.txtContactCode.Size = new System.Drawing.Size(280, 30);
            this.txtContactCode.TabIndex = 0;
            this.txtContactCode.GotFocus += new System.EventHandler(this.txtCustomerName_GotFocus);
            // 
            // 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 = 16;
            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 = 15;
            this.cmdEnter.Text = "ENTER";
            this.cmdEnter.UseVisualStyleBackColor = true;
            this.cmdEnter.Click += new System.EventHandler(this.cmdEnter_Click);
            // 
            // keyboardSearchControl1
            // 
            this.keyboardSearchControl1.BackColor = System.Drawing.Color.White;
            this.keyboardSearchControl1.Location = new System.Drawing.Point(112, 422);
            this.keyboardSearchControl1.Name = "keyboardSearchControl1";
            this.keyboardSearchControl1.Size = new System.Drawing.Size(799, 134);
            this.keyboardSearchControl1.TabIndex = 14;
            this.keyboardSearchControl1.TabStop = false;
            this.keyboardSearchControl1.Tag = "";
            this.keyboardSearchControl1.Visible = false;
            // 
            // ContactAddDetWnd
            // 
            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.cmdCancel);
            this.Controls.Add(this.cmdEnter);
            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.Name = "ContactAddDetWnd";
            this.ShowInTaskbar = false;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Load += new System.EventHandler(this.ContactAddDetWnd_Load);
            this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.ContactAddDetWnd_KeyDown);
            ((System.ComponentModel.ISupportInitialize)(this.imgIcon)).EndInit();
            this.groupBox1.ResumeLayout(false);
            this.groupBox1.PerformLayout();
            this.ResumeLayout(false);
            this.PerformLayout();

		}
示例#10
0
		private void DebitPaymentWnd_Load(object sender, System.EventArgs e)
		{
            if (TerminalDetails.WithRestaurantFeatures)
            {
                this.keyboardSearchControl1 = new AceSoft.KeyBoardHook.KeyboardSearchControl();
                this.keyboardNoControl1 = new AceSoft.KeyBoardHook.KeyboardNoControl();

                // 
                // keyboardSearchControl1
                // 
                this.keyboardSearchControl1.BackColor = System.Drawing.Color.White;
                this.keyboardSearchControl1.Location = new System.Drawing.Point(91, 310);
                this.keyboardSearchControl1.Name = "keyboardSearchControl1";
                this.keyboardSearchControl1.Size = new System.Drawing.Size(799, 134);
                this.keyboardSearchControl1.TabIndex = 87;
                this.keyboardSearchControl1.TabStop = false;
                this.keyboardSearchControl1.Tag = "";
                this.keyboardSearchControl1.UserKeyPressed += new AceSoft.KeyBoardHook.KeyboardDelegate(this.keyboardSearchControl1_UserKeyPressed);
                // 
                // 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(412, 310);
                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);

                this.Controls.Add(this.keyboardSearchControl1);
                this.Controls.Add(this.keyboardNoControl1);

                keyboardNoControl1.Visible = TerminalDetails.WithRestaurantFeatures;
                keyboardSearchControl1.Visible = false;
            }
            lblAllowedDebit.Text = mdecAllowedDebit.ToString("#,##0.#0");
            lblBalanceAmount.Text = mdecBalanceAmount.ToString("#,##0.#0");
            txtAmount.Text = mdecBalanceAmount.ToString("#,##0.#0");
            lblDebit.Text = "Debit Amount (" + CompanyDetails.Currency + ")";
            if (mboIsRefund)
                lblDebitOrDeposit.Text = "Current Balance to be deposited.";
            else
                lblDebitOrDeposit.Text = "Current Balance to be paid.";
        }
示例#11
0
        /// <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.label1 = new System.Windows.Forms.Label();
            this.label15 = new System.Windows.Forms.Label();
            this.groupBox1 = new System.Windows.Forms.GroupBox();
            this.label2 = new System.Windows.Forms.Label();
            this.cboType = new System.Windows.Forms.ComboBox();
            this.lblRemarks = 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.cmdCancel = new System.Windows.Forms.Button();
            this.cmdEnter = new System.Windows.Forms.Button();
            this.keyboardSearchControl1 = new AceSoft.KeyBoardHook.KeyboardSearchControl();
            ((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.TabIndex = 51;
            this.imgIcon.TabStop = false;
            // 
            // 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, 22);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(246, 13);
            this.label1.TabIndex = 3;
            this.label1.Text = "Withhold or Received-on-account amount.";
            // 
            // label15
            // 
            this.label15.AutoSize = true;
            this.label15.BackColor = System.Drawing.Color.Transparent;
            this.label15.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label15.ForeColor = System.Drawing.Color.Red;
            this.label15.Location = new System.Drawing.Point(35, 0);
            this.label15.Name = "label15";
            this.label15.Size = new System.Drawing.Size(33, 13);
            this.label15.TabIndex = 6;
            this.label15.Text = "Enter";
            // 
            // groupBox1
            // 
            this.groupBox1.BackColor = System.Drawing.Color.White;
            this.groupBox1.Controls.Add(this.label2);
            this.groupBox1.Controls.Add(this.cboType);
            this.groupBox1.Controls.Add(this.lblRemarks);
            this.groupBox1.Controls.Add(this.txtRemarks);
            this.groupBox1.Controls.Add(this.lblCash);
            this.groupBox1.Controls.Add(this.label15);
            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 = 0;
            this.groupBox1.TabStop = false;
            this.groupBox1.Text = "Press Enter to resume Transaction";
            // 
            // 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(380, 84);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(168, 13);
            this.label2.TabIndex = 4;
            this.label2.Text = "Select type of accountability";
            // 
            // cboType
            // 
            this.cboType.CausesValidation = false;
            this.cboType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.cboType.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cboType.Items.AddRange(new object[] {
            "CASH",
            "CHEQUES",
            "CREDIT CARDS"});
            this.cboType.Location = new System.Drawing.Point(261, 102);
            this.cboType.Name = "cboType";
            this.cboType.Size = new System.Drawing.Size(406, 31);
            this.cboType.TabIndex = 1;
            // 
            // 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(331, 144);
            this.lblRemarks.Name = "lblRemarks";
            this.lblRemarks.Size = new System.Drawing.Size(267, 13);
            this.lblRemarks.TabIndex = 5;
            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(196, 162);
            this.txtRemarks.MaxLength = 255;
            this.txtRemarks.Multiline = true;
            this.txtRemarks.Name = "txtRemarks";
            this.txtRemarks.Size = new System.Drawing.Size(536, 37);
            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(421, 16);
            this.lblCash.Name = "lblCash";
            this.lblCash.Size = new System.Drawing.Size(87, 13);
            this.lblCash.TabIndex = 3;
            this.lblCash.Text = "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(364, 38);
            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);
            // 
            // 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);
            // 
            // keyboardSearchControl1
            // 
            this.keyboardSearchControl1.BackColor = System.Drawing.Color.White;
            this.keyboardSearchControl1.Location = new System.Drawing.Point(112, 316);
            this.keyboardSearchControl1.Name = "keyboardSearchControl1";
            this.keyboardSearchControl1.Size = new System.Drawing.Size(799, 134);
            this.keyboardSearchControl1.TabIndex = 52;
            this.keyboardSearchControl1.TabStop = false;
            this.keyboardSearchControl1.Tag = "";
            // 
            // WithholdWnd
            // 
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            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.cmdCancel);
            this.Controls.Add(this.cmdEnter);
            this.Controls.Add(this.groupBox1);
            this.Controls.Add(this.label1);
            this.Controls.Add(this.imgIcon);
            this.Font = new System.Drawing.Font("Tahoma", 8F);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
            this.KeyPreview = true;
            this.Name = "WithholdWnd";
            this.ShowInTaskbar = false;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Load += new System.EventHandler(this.WithholdWnd_Load);
            this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.WithholdWnd_KeyDown);
            ((System.ComponentModel.ISupportInitialize)(this.imgIcon)).EndInit();
            this.groupBox1.ResumeLayout(false);
            this.groupBox1.PerformLayout();
            this.ResumeLayout(false);
            this.PerformLayout();

        }
示例#12
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.lblHeader = new System.Windows.Forms.Label();
            this.imgIcon = new System.Windows.Forms.PictureBox();
            this.groupBox1 = new System.Windows.Forms.GroupBox();
            this.txtRewardCardNo = new System.Windows.Forms.TextBox();
            this.label5 = new System.Windows.Forms.Label();
            this.txtRewardCardExpiryDate = new System.Windows.Forms.TextBox();
            this.label2 = new System.Windows.Forms.Label();
            this.txtDOB = new System.Windows.Forms.TextBox();
            this.label1 = new System.Windows.Forms.Label();
            this.cmdCancel = new System.Windows.Forms.Button();
            this.cmdEnter = new System.Windows.Forms.Button();
            this.keyboardSearchControl1 = new AceSoft.KeyBoardHook.KeyboardSearchControl();
            ((System.ComponentModel.ISupportInitialize)(this.imgIcon)).BeginInit();
            this.groupBox1.SuspendLayout();
            this.SuspendLayout();
            // 
            // 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(166, 13);
            this.lblHeader.TabIndex = 4;
            this.lblHeader.Text = "Enter Customer Information";
            // 
            // 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 = 12;
            this.imgIcon.TabStop = false;
            // 
            // groupBox1
            // 
            this.groupBox1.BackColor = System.Drawing.Color.White;
            this.groupBox1.Controls.Add(this.txtRewardCardNo);
            this.groupBox1.Controls.Add(this.label5);
            this.groupBox1.Controls.Add(this.txtRewardCardExpiryDate);
            this.groupBox1.Controls.Add(this.label2);
            this.groupBox1.Controls.Add(this.txtDOB);
            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(9, 67);
            this.groupBox1.Name = "groupBox1";
            this.groupBox1.Size = new System.Drawing.Size(1008, 237);
            this.groupBox1.TabIndex = 0;
            this.groupBox1.TabStop = false;
            this.groupBox1.Text = "Customer Details";
            // 
            // txtRewardCardNo
            // 
            this.txtRewardCardNo.BackColor = System.Drawing.Color.WhiteSmoke;
            this.txtRewardCardNo.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txtRewardCardNo.Enabled = false;
            this.txtRewardCardNo.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtRewardCardNo.Location = new System.Drawing.Point(114, 70);
            this.txtRewardCardNo.MaxLength = 15;
            this.txtRewardCardNo.Name = "txtRewardCardNo";
            this.txtRewardCardNo.Size = new System.Drawing.Size(560, 33);
            this.txtRewardCardNo.TabIndex = 0;
            this.txtRewardCardNo.Text = "2011-0000000000000001";
            this.txtRewardCardNo.GotFocus += new System.EventHandler(this.txtRewardCardNo_GotFocus);
            // 
            // label5
            // 
            this.label5.AutoSize = true;
            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(71, 125);
            this.label5.Name = "label5";
            this.label5.Size = new System.Drawing.Size(312, 13);
            this.label5.TabIndex = 4;
            this.label5.Text = "Please enter Rewards Card Expiry Date (yyyy-MM-dd)";
            // 
            // txtRewardCardExpiryDate
            // 
            this.txtRewardCardExpiryDate.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txtRewardCardExpiryDate.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtRewardCardExpiryDate.Location = new System.Drawing.Point(114, 143);
            this.txtRewardCardExpiryDate.MaxLength = 10;
            this.txtRewardCardExpiryDate.Name = "txtRewardCardExpiryDate";
            this.txtRewardCardExpiryDate.Size = new System.Drawing.Size(282, 33);
            this.txtRewardCardExpiryDate.TabIndex = 1;
            // 
            // 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(513, 125);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(230, 13);
            this.label2.TabIndex = 5;
            this.label2.Text = "Update the Date Of Birth (yyyy-MM-dd)";
            // 
            // txtDOB
            // 
            this.txtDOB.BackColor = System.Drawing.SystemColors.Window;
            this.txtDOB.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txtDOB.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold);
            this.txtDOB.Location = new System.Drawing.Point(554, 143);
            this.txtDOB.MaxLength = 10;
            this.txtDOB.Name = "txtDOB";
            this.txtDOB.Size = new System.Drawing.Size(200, 33);
            this.txtDOB.TabIndex = 2;
            // 
            // 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(71, 53);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(406, 13);
            this.label1.TabIndex = 3;
            this.label1.Text = "Reward Card Number (this is an autogenerated card no by the system)";
            // 
            // 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);
            // 
            // keyboardSearchControl1
            // 
            this.keyboardSearchControl1.BackColor = System.Drawing.Color.White;
            this.keyboardSearchControl1.Location = new System.Drawing.Point(112, 316);
            this.keyboardSearchControl1.Name = "keyboardSearchControl1";
            this.keyboardSearchControl1.Size = new System.Drawing.Size(799, 134);
            this.keyboardSearchControl1.TabIndex = 53;
            this.keyboardSearchControl1.TabStop = false;
            this.keyboardSearchControl1.Tag = "";
            // 
            // ContactRewardWnd
            // 
            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.cmdCancel);
            this.Controls.Add(this.cmdEnter);
            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.Name = "ContactRewardWnd";
            this.ShowInTaskbar = false;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Load += new System.EventHandler(this.ContactRewardAddWnd_Load);
            this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.ContactRewardAddWnd_KeyDown);
            ((System.ComponentModel.ISupportInitialize)(this.imgIcon)).EndInit();
            this.groupBox1.ResumeLayout(false);
            this.groupBox1.PerformLayout();
            this.ResumeLayout(false);
            this.PerformLayout();

        }
示例#13
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.lblHeader              = new System.Windows.Forms.Label();
     this.imgIcon                = new System.Windows.Forms.PictureBox();
     this.groupBox1              = new System.Windows.Forms.GroupBox();
     this.label3                 = new System.Windows.Forms.Label();
     this.txtTelNo               = new System.Windows.Forms.TextBox();
     this.label2                 = new System.Windows.Forms.Label();
     this.txtBusinessName        = new System.Windows.Forms.TextBox();
     this.label1                 = new System.Windows.Forms.Label();
     this.txtAddress             = new System.Windows.Forms.TextBox();
     this.lblCaption             = new System.Windows.Forms.Label();
     this.txtCustomerName        = new System.Windows.Forms.TextBox();
     this.cmdCancel              = new System.Windows.Forms.Button();
     this.cmdEnter               = new System.Windows.Forms.Button();
     this.keyboardSearchControl1 = new AceSoft.KeyBoardHook.KeyboardSearchControl();
     ((System.ComponentModel.ISupportInitialize)(this.imgIcon)).BeginInit();
     this.groupBox1.SuspendLayout();
     this.SuspendLayout();
     //
     // 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(166, 13);
     this.lblHeader.TabIndex  = 4;
     this.lblHeader.Text      = "Enter Customer Information";
     //
     // 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  = 12;
     this.imgIcon.TabStop   = false;
     //
     // groupBox1
     //
     this.groupBox1.BackColor = System.Drawing.Color.White;
     this.groupBox1.Controls.Add(this.label3);
     this.groupBox1.Controls.Add(this.txtTelNo);
     this.groupBox1.Controls.Add(this.label2);
     this.groupBox1.Controls.Add(this.txtBusinessName);
     this.groupBox1.Controls.Add(this.label1);
     this.groupBox1.Controls.Add(this.txtAddress);
     this.groupBox1.Controls.Add(this.lblCaption);
     this.groupBox1.Controls.Add(this.txtCustomerName);
     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  = 0;
     this.groupBox1.TabStop   = false;
     this.groupBox1.Text      = "Contact Details";
     //
     // label3
     //
     this.label3.AutoSize  = true;
     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(513, 84);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(165, 13);
     this.label3.TabIndex  = 7;
     this.label3.Text      = "Please enter contact tel. no.";
     //
     // txtTelNo
     //
     this.txtTelNo.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtTelNo.Font        = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtTelNo.Location    = new System.Drawing.Point(554, 102);
     this.txtTelNo.MaxLength   = 75;
     this.txtTelNo.Name        = "txtTelNo";
     this.txtTelNo.Size        = new System.Drawing.Size(257, 30);
     this.txtTelNo.TabIndex    = 2;
     this.txtTelNo.GotFocus   += new System.EventHandler(this.txtTelNo_GotFocus);
     //
     // 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(71, 84);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(223, 13);
     this.label2.TabIndex  = 5;
     this.label2.Text      = "Please enter customer contact person";
     //
     // txtBusinessName
     //
     this.txtBusinessName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtBusinessName.Font        = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtBusinessName.Location    = new System.Drawing.Point(114, 102);
     this.txtBusinessName.MaxLength   = 75;
     this.txtBusinessName.Name        = "txtBusinessName";
     this.txtBusinessName.Size        = new System.Drawing.Size(360, 30);
     this.txtBusinessName.TabIndex    = 1;
     this.txtBusinessName.GotFocus   += new System.EventHandler(this.txtBusinessName_GotFocus);
     //
     // 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(71, 143);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(183, 13);
     this.label1.TabIndex  = 6;
     this.label1.Text      = "Please enter customer address";
     //
     // txtAddress
     //
     this.txtAddress.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtAddress.Font        = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtAddress.Location    = new System.Drawing.Point(114, 161);
     this.txtAddress.MaxLength   = 150;
     this.txtAddress.Multiline   = true;
     this.txtAddress.Name        = "txtAddress";
     this.txtAddress.Size        = new System.Drawing.Size(697, 39);
     this.txtAddress.TabIndex    = 3;
     this.txtAddress.GotFocus   += new System.EventHandler(this.txtAddress_GotFocus);
     //
     // lblCaption
     //
     this.lblCaption.AutoSize  = true;
     this.lblCaption.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblCaption.ForeColor = System.Drawing.Color.MediumBlue;
     this.lblCaption.Location  = new System.Drawing.Point(71, 25);
     this.lblCaption.Name      = "lblCaption";
     this.lblCaption.Size      = new System.Drawing.Size(171, 13);
     this.lblCaption.TabIndex  = 4;
     this.lblCaption.Text      = "Please enter Customer Name";
     //
     // txtCustomerName
     //
     this.txtCustomerName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtCustomerName.Font        = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtCustomerName.Location    = new System.Drawing.Point(114, 43);
     this.txtCustomerName.MaxLength   = 25;
     this.txtCustomerName.Name        = "txtCustomerName";
     this.txtCustomerName.Size        = new System.Drawing.Size(360, 30);
     this.txtCustomerName.TabIndex    = 0;
     this.txtCustomerName.GotFocus   += new System.EventHandler(this.txtCustomerName_GotFocus);
     //
     // 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);
     //
     // keyboardSearchControl1
     //
     this.keyboardSearchControl1.BackColor = System.Drawing.Color.White;
     this.keyboardSearchControl1.Location  = new System.Drawing.Point(112, 316);
     this.keyboardSearchControl1.Name      = "keyboardSearchControl1";
     this.keyboardSearchControl1.Size      = new System.Drawing.Size(799, 134);
     this.keyboardSearchControl1.TabIndex  = 13;
     this.keyboardSearchControl1.TabStop   = false;
     this.keyboardSearchControl1.Tag       = "";
     //
     // ContactAddWnd
     //
     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.cmdCancel);
     this.Controls.Add(this.cmdEnter);
     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.Name            = "ContactAddWnd";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Load           += new System.EventHandler(this.ContactAddWnd_Load);
     this.KeyDown        += new System.Windows.Forms.KeyEventHandler(this.ContactAddWnd_KeyDown);
     ((System.ComponentModel.ISupportInitialize)(this.imgIcon)).EndInit();
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
示例#14
0
        private void CreditPaymentWnd_Load(object sender, System.EventArgs e)
        {
            
            if (TerminalDetails.WithRestaurantFeatures)
            {
                this.keyboardSearchControl1 = new AceSoft.KeyBoardHook.KeyboardSearchControl();
                this.keyboardNoControl1 = new AceSoft.KeyBoardHook.KeyboardNoControl();

                // 
                // keyboardSearchControl1
                // 
                this.keyboardSearchControl1.BackColor = System.Drawing.Color.White;
                this.keyboardSearchControl1.Location = new System.Drawing.Point(91, 310);
                this.keyboardSearchControl1.Name = "keyboardSearchControl1";
                this.keyboardSearchControl1.Size = new System.Drawing.Size(799, 134);
                this.keyboardSearchControl1.TabIndex = 89;
                this.keyboardSearchControl1.TabStop = false;
                this.keyboardSearchControl1.Tag = "";
                this.keyboardSearchControl1.UserKeyPressed += new AceSoft.KeyBoardHook.KeyboardDelegate(this.keyboardSearchControl1_UserKeyPressed);
                // 
                // 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(412, 310);
                this.keyboardNoControl1.Name = "keyboardNoControl1";
                this.keyboardNoControl1.Size = new System.Drawing.Size(208, 172);
                this.keyboardNoControl1.TabIndex = 90;
                this.keyboardNoControl1.TabStop = false;
                this.keyboardNoControl1.Visible = false;
                this.keyboardNoControl1.UserKeyPressed += new AceSoft.KeyBoardHook.KeyboardDelegate(this.keyboardNoControl1_UserKeyPressed);

                this.Controls.Add(this.keyboardSearchControl1);
                this.Controls.Add(this.keyboardNoControl1);

                keyboardNoControl1.Visible = TerminalDetails.WithRestaurantFeatures;
                keyboardSearchControl1.Visible = false;
            }

            lblAllowedCredit.Text = mdecAllowedCredit.ToString("#,##0.#0");
            lblBalanceAmount.Text = mdecBalanceAmount.ToString("#,##0.#0");
            txtAmount.Text = mdecBalanceAmount.ToString("#,##0.#0");
            lblCredit.Text = "Credit Amount (" + CompanyDetails.Currency + ")";
            
            if (mclsSalesTransactionDetails.isConsignment) {
                lblHeader.Text = "Tender Consignment Amount";
                lblAllowedCreditLabel.Text = "Allowed consignment amount.";
            }
            else {
                lblHeader.Text = "Tender Credit Amount";
                lblAllowedCreditLabel.Text = "Allowed credit amount.";
            }
            if (mboIsRefund)
            {
                lblHeader.Text = "Tender Credit Amount to refund";
                lblBalance.Text = "Current Balance to be refunded.";
                lblAllowedCreditLabel.Text = "Current credit amount.";

                //overwrite the allowable credit if it's refund
                // set the allowable credit to highest if refund
                mdecAllowedCredit = 10000000;
            }

        }
示例#15
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.label1                 = new System.Windows.Forms.Label();
     this.imgIcon                = new System.Windows.Forms.PictureBox();
     this.dgItems                = new System.Windows.Forms.DataGrid();
     this.dgStyle                = new System.Windows.Forms.DataGridTableStyle();
     this.TransactionID          = new System.Windows.Forms.DataGridTextBoxColumn();
     this.TransactionNo          = new System.Windows.Forms.DataGridTextBoxColumn();
     this.CustomerID             = new System.Windows.Forms.DataGridTextBoxColumn();
     this.CustomerName           = new System.Windows.Forms.DataGridTextBoxColumn();
     this.TransactionDate        = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DateSuspended          = new System.Windows.Forms.DataGridTextBoxColumn();
     this.TransactionStatus      = new System.Windows.Forms.DataGridTextBoxColumn();
     this.TransDiscount          = new System.Windows.Forms.DataGridTextBoxColumn();
     this.TransDiscountType      = new System.Windows.Forms.DataGridTextBoxColumn();
     this.WaiterID               = new System.Windows.Forms.DataGridTextBoxColumn();
     this.WaiterName             = new System.Windows.Forms.DataGridTextBoxColumn();
     this.ChargeAmount           = new System.Windows.Forms.DataGridTextBoxColumn();
     this.ChargeCode             = new System.Windows.Forms.DataGridTextBoxColumn();
     this.txtSearch              = new System.Windows.Forms.TextBox();
     this.keyboardSearchControl1 = new AceSoft.KeyBoardHook.KeyboardSearchControl();
     ((System.ComponentModel.ISupportInitialize)(this.imgIcon)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgItems)).BeginInit();
     this.SuspendLayout();
     //
     // 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  = 52;
     this.label1.Text      = "<- Press the icon to close the window or Enter search criteria.";
     //
     // 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.TabIndex  = 53;
     this.imgIcon.TabStop   = false;
     this.imgIcon.Click    += new System.EventHandler(this.imgIcon_Click);
     //
     // dgItems
     //
     this.dgItems.AlternatingBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
     this.dgItems.BackColor            = System.Drawing.Color.White;
     this.dgItems.BackgroundColor      = System.Drawing.Color.White;
     this.dgItems.BorderStyle          = System.Windows.Forms.BorderStyle.FixedSingle;
     this.dgItems.CaptionBackColor     = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
     this.dgItems.CaptionForeColor     = System.Drawing.Color.Blue;
     this.dgItems.CaptionVisible       = false;
     this.dgItems.DataMember           = "";
     this.dgItems.Dock               = System.Windows.Forms.DockStyle.Bottom;
     this.dgItems.FlatMode           = true;
     this.dgItems.Font               = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dgItems.HeaderBackColor    = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(81)))), ((int)(((byte)(153)))));
     this.dgItems.HeaderFont         = new System.Drawing.Font("Tahoma", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dgItems.HeaderForeColor    = System.Drawing.Color.White;
     this.dgItems.Location           = new System.Drawing.Point(0, 196);
     this.dgItems.Name               = "dgItems";
     this.dgItems.PreferredRowHeight = 50;
     this.dgItems.ReadOnly           = true;
     this.dgItems.RowHeadersVisible  = false;
     this.dgItems.RowHeaderWidth     = 5;
     this.dgItems.SelectionBackColor = System.Drawing.Color.RoyalBlue;
     this.dgItems.SelectionForeColor = System.Drawing.Color.White;
     this.dgItems.Size               = new System.Drawing.Size(1022, 570);
     this.dgItems.TabIndex           = 54;
     this.dgItems.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
         this.dgStyle
     });
     this.dgItems.TabStop    = false;
     this.dgItems.MouseDown += new System.Windows.Forms.MouseEventHandler(this.dgItems_MouseDown);
     //
     // dgStyle
     //
     this.dgStyle.AlternatingBackColor = System.Drawing.Color.White;
     this.dgStyle.DataGrid             = this.dgItems;
     this.dgStyle.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
         this.TransactionID,
         this.TransactionNo,
         this.CustomerID,
         this.CustomerName,
         this.TransactionDate,
         this.DateSuspended,
         this.TransactionStatus,
         this.TransDiscount,
         this.TransDiscountType,
         this.WaiterID,
         this.WaiterName,
         this.ChargeAmount,
         this.ChargeCode
     });
     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          = "tblSuspendedTransactions";
     this.dgStyle.PreferredColumnWidth = 180;
     this.dgStyle.PreferredRowHeight   = 40;
     this.dgStyle.ReadOnly             = true;
     this.dgStyle.RowHeadersVisible    = false;
     this.dgStyle.SelectionBackColor   = System.Drawing.Color.Green;
     this.dgStyle.SelectionForeColor   = System.Drawing.Color.White;
     //
     // TransactionID
     //
     this.TransactionID.Format      = "";
     this.TransactionID.FormatInfo  = null;
     this.TransactionID.MappingName = "TransactionID";
     this.TransactionID.NullText    = "";
     this.TransactionID.ReadOnly    = true;
     this.TransactionID.Width       = 0;
     //
     // TransactionNo
     //
     this.TransactionNo.Format      = "";
     this.TransactionNo.FormatInfo  = null;
     this.TransactionNo.HeaderText  = "Transaction No";
     this.TransactionNo.MappingName = "TransactionNo";
     this.TransactionNo.NullText    = "";
     this.TransactionNo.ReadOnly    = true;
     this.TransactionNo.Width       = 180;
     //
     // CustomerID
     //
     this.CustomerID.Format      = "";
     this.CustomerID.FormatInfo  = null;
     this.CustomerID.MappingName = "CustomerID";
     this.CustomerID.NullText    = "";
     this.CustomerID.ReadOnly    = true;
     this.CustomerID.Width       = 0;
     //
     // CustomerName
     //
     this.CustomerName.Format      = "";
     this.CustomerName.FormatInfo  = null;
     this.CustomerName.HeaderText  = "Customer Name";
     this.CustomerName.MappingName = "CustomerName";
     this.CustomerName.NullText    = "";
     this.CustomerName.ReadOnly    = true;
     this.CustomerName.Width       = 180;
     //
     // TransactionDate
     //
     this.TransactionDate.Format      = "";
     this.TransactionDate.FormatInfo  = null;
     this.TransactionDate.HeaderText  = "TransactionDate";
     this.TransactionDate.MappingName = "TransactionDate";
     this.TransactionDate.NullText    = "";
     this.TransactionDate.ReadOnly    = true;
     this.TransactionDate.Width       = 0;
     //
     // DateSuspended
     //
     this.DateSuspended.Format      = "";
     this.DateSuspended.FormatInfo  = null;
     this.DateSuspended.HeaderText  = "Date Suspended";
     this.DateSuspended.MappingName = "DateSuspended";
     this.DateSuspended.NullText    = "";
     this.DateSuspended.ReadOnly    = true;
     this.DateSuspended.Width       = 180;
     //
     // TransactionStatus
     //
     this.TransactionStatus.Format      = "";
     this.TransactionStatus.FormatInfo  = null;
     this.TransactionStatus.HeaderText  = "TransactionStatus";
     this.TransactionStatus.MappingName = "TransactionStatus";
     this.TransactionStatus.NullText    = "";
     this.TransactionStatus.ReadOnly    = true;
     this.TransactionStatus.Width       = 0;
     //
     // TransDiscount
     //
     this.TransDiscount.Format      = "";
     this.TransDiscount.FormatInfo  = null;
     this.TransDiscount.MappingName = "TransDiscount";
     this.TransDiscount.NullText    = "";
     this.TransDiscount.ReadOnly    = true;
     this.TransDiscount.Width       = 0;
     //
     // TransDiscountType
     //
     this.TransDiscountType.Format      = "";
     this.TransDiscountType.FormatInfo  = null;
     this.TransDiscountType.MappingName = "TransDiscountType";
     this.TransDiscountType.NullText    = "";
     this.TransDiscountType.ReadOnly    = true;
     this.TransDiscountType.Width       = 0;
     //
     // WaiterID
     //
     this.WaiterID.Format      = "";
     this.WaiterID.FormatInfo  = null;
     this.WaiterID.MappingName = "WaiterID";
     this.WaiterID.ReadOnly    = true;
     this.WaiterID.Width       = 0;
     //
     // WaiterName
     //
     this.WaiterName.Format      = "";
     this.WaiterName.FormatInfo  = null;
     this.WaiterName.MappingName = "WaiterName";
     this.WaiterName.ReadOnly    = true;
     this.WaiterName.Width       = 0;
     //
     // ChargeAmount
     //
     this.ChargeAmount.Format      = "";
     this.ChargeAmount.FormatInfo  = null;
     this.ChargeAmount.MappingName = "ChargeAmount";
     this.ChargeAmount.ReadOnly    = true;
     this.ChargeAmount.Width       = 0;
     //
     // ChargeCode
     //
     this.ChargeCode.Format      = "";
     this.ChargeCode.FormatInfo  = null;
     this.ChargeCode.MappingName = "ChargeCode";
     this.ChargeCode.ReadOnly    = true;
     this.ChargeCode.Width       = 0;
     //
     // txtSearch
     //
     this.txtSearch.BorderStyle  = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtSearch.Font         = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, 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);
     //
     // 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  = 99;
     this.keyboardSearchControl1.TabStop   = false;
     this.keyboardSearchControl1.Tag       = "";
     //
     // ResumeTransactionWnd
     //
     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.txtSearch);
     this.Controls.Add(this.dgItems);
     this.Controls.Add(this.label1);
     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.Name            = "ResumeTransactionWnd";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Load           += new System.EventHandler(this.ResumeTransactionWnd_Load);
     this.KeyDown        += new System.Windows.Forms.KeyEventHandler(this.ResumeTransactionWnd_KeyDown);
     this.Resize         += new System.EventHandler(this.ResumeTransactionWnd_Resize);
     ((System.ComponentModel.ISupportInitialize)(this.imgIcon)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgItems)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
示例#16
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.lblHeader               = new System.Windows.Forms.Label();
     this.imgIcon                 = new System.Windows.Forms.PictureBox();
     this.groupBox1               = new System.Windows.Forms.GroupBox();
     this.cmdCopyCustomerName     = new System.Windows.Forms.Button();
     this.cmdGenerateCustomerCode = new System.Windows.Forms.Button();
     this.label4                 = new System.Windows.Forms.Label();
     this.txtContactName         = new System.Windows.Forms.TextBox();
     this.cboSalutation          = new System.Windows.Forms.ComboBox();
     this.label16                = new System.Windows.Forms.Label();
     this.txtRemarks             = new System.Windows.Forms.TextBox();
     this.label15                = new System.Windows.Forms.Label();
     this.txtTelephoneNo         = new System.Windows.Forms.TextBox();
     this.label14                = new System.Windows.Forms.Label();
     this.txtBusinessName        = new System.Windows.Forms.TextBox();
     this.label13                = new System.Windows.Forms.Label();
     this.label12                = new System.Windows.Forms.Label();
     this.txtBirthDate           = new System.Windows.Forms.TextBox();
     this.label11                = new System.Windows.Forms.Label();
     this.label10                = new System.Windows.Forms.Label();
     this.txtLastName            = new System.Windows.Forms.TextBox();
     this.txtMiddleName          = new System.Windows.Forms.TextBox();
     this.label3                 = new System.Windows.Forms.Label();
     this.txtMobileNo            = new System.Windows.Forms.TextBox();
     this.label2                 = new System.Windows.Forms.Label();
     this.txtFirstName           = new System.Windows.Forms.TextBox();
     this.label1                 = new System.Windows.Forms.Label();
     this.txtAddress             = new System.Windows.Forms.TextBox();
     this.lblCaption             = new System.Windows.Forms.Label();
     this.txtContactCode         = new System.Windows.Forms.TextBox();
     this.cmdCancel              = new System.Windows.Forms.Button();
     this.cmdEnter               = new System.Windows.Forms.Button();
     this.keyboardSearchControl1 = new AceSoft.KeyBoardHook.KeyboardSearchControl();
     ((System.ComponentModel.ISupportInitialize)(this.imgIcon)).BeginInit();
     this.groupBox1.SuspendLayout();
     this.SuspendLayout();
     //
     // 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(166, 13);
     this.lblHeader.TabIndex  = 4;
     this.lblHeader.Text      = "Enter Customer Information";
     //
     // 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  = 12;
     this.imgIcon.TabStop   = false;
     //
     // groupBox1
     //
     this.groupBox1.BackColor = System.Drawing.Color.White;
     this.groupBox1.Controls.Add(this.cmdCopyCustomerName);
     this.groupBox1.Controls.Add(this.cmdGenerateCustomerCode);
     this.groupBox1.Controls.Add(this.label4);
     this.groupBox1.Controls.Add(this.txtContactName);
     this.groupBox1.Controls.Add(this.cboSalutation);
     this.groupBox1.Controls.Add(this.label16);
     this.groupBox1.Controls.Add(this.txtRemarks);
     this.groupBox1.Controls.Add(this.label15);
     this.groupBox1.Controls.Add(this.txtTelephoneNo);
     this.groupBox1.Controls.Add(this.label14);
     this.groupBox1.Controls.Add(this.txtBusinessName);
     this.groupBox1.Controls.Add(this.label13);
     this.groupBox1.Controls.Add(this.label12);
     this.groupBox1.Controls.Add(this.txtBirthDate);
     this.groupBox1.Controls.Add(this.label11);
     this.groupBox1.Controls.Add(this.label10);
     this.groupBox1.Controls.Add(this.txtLastName);
     this.groupBox1.Controls.Add(this.txtMiddleName);
     this.groupBox1.Controls.Add(this.label3);
     this.groupBox1.Controls.Add(this.txtMobileNo);
     this.groupBox1.Controls.Add(this.label2);
     this.groupBox1.Controls.Add(this.txtFirstName);
     this.groupBox1.Controls.Add(this.label1);
     this.groupBox1.Controls.Add(this.txtAddress);
     this.groupBox1.Controls.Add(this.lblCaption);
     this.groupBox1.Controls.Add(this.txtContactCode);
     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, 345);
     this.groupBox1.TabIndex  = 0;
     this.groupBox1.TabStop   = false;
     this.groupBox1.Text      = "Contact Details";
     //
     // cmdCopyCustomerName
     //
     this.cmdCopyCustomerName.CausesValidation        = false;
     this.cmdCopyCustomerName.Location                = new System.Drawing.Point(959, 103);
     this.cmdCopyCustomerName.Name                    = "cmdCopyCustomerName";
     this.cmdCopyCustomerName.Size                    = new System.Drawing.Size(27, 30);
     this.cmdCopyCustomerName.TabIndex                = 7;
     this.cmdCopyCustomerName.Text                    = "...";
     this.cmdCopyCustomerName.UseVisualStyleBackColor = true;
     this.cmdCopyCustomerName.Click                  += new System.EventHandler(this.cmdCopyCustomerName_Click);
     //
     // cmdGenerateCustomerCode
     //
     this.cmdGenerateCustomerCode.CausesValidation        = false;
     this.cmdGenerateCustomerCode.Location                = new System.Drawing.Point(400, 44);
     this.cmdGenerateCustomerCode.Name                    = "cmdGenerateCustomerCode";
     this.cmdGenerateCustomerCode.Size                    = new System.Drawing.Size(27, 30);
     this.cmdGenerateCustomerCode.TabIndex                = 1;
     this.cmdGenerateCustomerCode.Text                    = "...";
     this.cmdGenerateCustomerCode.UseVisualStyleBackColor = true;
     this.cmdGenerateCustomerCode.Click                  += new System.EventHandler(this.cmdGenerateCustomerCode_Click);
     //
     // 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(432, 25);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(171, 13);
     this.label4.TabIndex  = 24;
     this.label4.Text      = "Please enter Customer Name";
     //
     // txtContactName
     //
     this.txtContactName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtContactName.Font        = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtContactName.Location    = new System.Drawing.Point(435, 43);
     this.txtContactName.MaxLength   = 25;
     this.txtContactName.Name        = "txtContactName";
     this.txtContactName.Size        = new System.Drawing.Size(518, 30);
     this.txtContactName.TabIndex    = 2;
     //
     // cboSalutation
     //
     this.cboSalutation.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cboSalutation.Font          = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.cboSalutation.Location      = new System.Drawing.Point(114, 102);
     this.cboSalutation.Name          = "cboSalutation";
     this.cboSalutation.Size          = new System.Drawing.Size(80, 31);
     this.cboSalutation.TabIndex      = 3;
     //
     // label16
     //
     this.label16.AutoSize  = true;
     this.label16.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label16.ForeColor = System.Drawing.Color.MediumBlue;
     this.label16.Location  = new System.Drawing.Point(71, 263);
     this.label16.Name      = "label16";
     this.label16.Size      = new System.Drawing.Size(58, 13);
     this.label16.TabIndex  = 22;
     this.label16.Text      = "Remarks";
     //
     // txtRemarks
     //
     this.txtRemarks.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtRemarks.Font        = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtRemarks.Location    = new System.Drawing.Point(114, 281);
     this.txtRemarks.MaxLength   = 150;
     this.txtRemarks.Multiline   = true;
     this.txtRemarks.Name        = "txtRemarks";
     this.txtRemarks.Size        = new System.Drawing.Size(839, 51);
     this.txtRemarks.TabIndex    = 13;
     //
     // label15
     //
     this.label15.AutoSize  = true;
     this.label15.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label15.ForeColor = System.Drawing.Color.MediumBlue;
     this.label15.Location  = new System.Drawing.Point(695, 206);
     this.label15.Name      = "label15";
     this.label15.Size      = new System.Drawing.Size(83, 13);
     this.label15.TabIndex  = 20;
     this.label15.Text      = "TelePhone No";
     //
     // txtTelephoneNo
     //
     this.txtTelephoneNo.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtTelephoneNo.Font        = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtTelephoneNo.Location    = new System.Drawing.Point(698, 224);
     this.txtTelephoneNo.MaxLength   = 75;
     this.txtTelephoneNo.Name        = "txtTelephoneNo";
     this.txtTelephoneNo.Size        = new System.Drawing.Size(255, 30);
     this.txtTelephoneNo.TabIndex    = 12;
     //
     // label14
     //
     this.label14.AutoSize  = true;
     this.label14.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label14.ForeColor = System.Drawing.Color.MediumBlue;
     this.label14.Location  = new System.Drawing.Point(71, 144);
     this.label14.Name      = "label14";
     this.label14.Size      = new System.Drawing.Size(88, 13);
     this.label14.TabIndex  = 18;
     this.label14.Text      = "BusinessName";
     //
     // txtBusinessName
     //
     this.txtBusinessName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtBusinessName.Font        = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtBusinessName.Location    = new System.Drawing.Point(114, 162);
     this.txtBusinessName.MaxLength   = 75;
     this.txtBusinessName.Name        = "txtBusinessName";
     this.txtBusinessName.Size        = new System.Drawing.Size(313, 30);
     this.txtBusinessName.TabIndex    = 8;
     //
     // label13
     //
     this.label13.AutoSize  = true;
     this.label13.BackColor = System.Drawing.Color.Transparent;
     this.label13.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label13.ForeColor = System.Drawing.Color.Red;
     this.label13.Location  = new System.Drawing.Point(500, 144);
     this.label13.Name      = "label13";
     this.label13.Size      = new System.Drawing.Size(81, 13);
     this.label13.TabIndex  = 16;
     this.label13.Text      = "YYYY-MM-DD";
     //
     // label12
     //
     this.label12.AutoSize  = true;
     this.label12.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label12.ForeColor = System.Drawing.Color.MediumBlue;
     this.label12.Location  = new System.Drawing.Point(432, 144);
     this.label12.Name      = "label12";
     this.label12.Size      = new System.Drawing.Size(157, 13);
     this.label12.TabIndex  = 13;
     this.label12.Text      = "Birth Date ( YYYY-MM-DD )";
     //
     // txtBirthDate
     //
     this.txtBirthDate.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtBirthDate.Font        = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtBirthDate.Location    = new System.Drawing.Point(435, 162);
     this.txtBirthDate.MaxLength   = 10;
     this.txtBirthDate.Name        = "txtBirthDate";
     this.txtBirthDate.Size        = new System.Drawing.Size(257, 30);
     this.txtBirthDate.TabIndex    = 9;
     this.txtBirthDate.Text        = "1900-01-01";
     //
     // label11
     //
     this.label11.AutoSize  = true;
     this.label11.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label11.ForeColor = System.Drawing.Color.MediumBlue;
     this.label11.Location  = new System.Drawing.Point(695, 84);
     this.label11.Name      = "label11";
     this.label11.Size      = new System.Drawing.Size(66, 13);
     this.label11.TabIndex  = 11;
     this.label11.Text      = "Last Name";
     //
     // label10
     //
     this.label10.AutoSize  = true;
     this.label10.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label10.ForeColor = System.Drawing.Color.MediumBlue;
     this.label10.Location  = new System.Drawing.Point(432, 84);
     this.label10.Name      = "label10";
     this.label10.Size      = new System.Drawing.Size(79, 13);
     this.label10.TabIndex  = 10;
     this.label10.Text      = "Middle Name";
     //
     // txtLastName
     //
     this.txtLastName.BorderStyle  = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtLastName.Font         = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtLastName.Location     = new System.Drawing.Point(696, 103);
     this.txtLastName.MaxLength    = 85;
     this.txtLastName.Name         = "txtLastName";
     this.txtLastName.Size         = new System.Drawing.Size(257, 30);
     this.txtLastName.TabIndex     = 6;
     this.txtLastName.TextChanged += new System.EventHandler(this.txtLastName_TextChanged);
     //
     // txtMiddleName
     //
     this.txtMiddleName.BorderStyle  = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtMiddleName.Font         = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtMiddleName.Location     = new System.Drawing.Point(433, 103);
     this.txtMiddleName.MaxLength    = 85;
     this.txtMiddleName.Name         = "txtMiddleName";
     this.txtMiddleName.Size         = new System.Drawing.Size(257, 30);
     this.txtMiddleName.TabIndex     = 5;
     this.txtMiddleName.TextChanged += new System.EventHandler(this.txtMiddleName_TextChanged);
     //
     // label3
     //
     this.label3.AutoSize  = true;
     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(695, 144);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(61, 13);
     this.label3.TabIndex  = 7;
     this.label3.Text      = "Mobile No";
     //
     // txtMobileNo
     //
     this.txtMobileNo.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtMobileNo.Font        = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtMobileNo.Location    = new System.Drawing.Point(698, 162);
     this.txtMobileNo.MaxLength   = 75;
     this.txtMobileNo.Name        = "txtMobileNo";
     this.txtMobileNo.Size        = new System.Drawing.Size(255, 30);
     this.txtMobileNo.TabIndex    = 10;
     this.txtMobileNo.GotFocus   += new System.EventHandler(this.txtTelNo_GotFocus);
     //
     // 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(71, 84);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(137, 13);
     this.label2.TabIndex  = 5;
     this.label2.Text      = "Salutation / First Name";
     //
     // txtFirstName
     //
     this.txtFirstName.BorderStyle  = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtFirstName.Font         = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtFirstName.Location     = new System.Drawing.Point(195, 102);
     this.txtFirstName.MaxLength    = 85;
     this.txtFirstName.Name         = "txtFirstName";
     this.txtFirstName.Size         = new System.Drawing.Size(232, 30);
     this.txtFirstName.TabIndex     = 4;
     this.txtFirstName.TextChanged += new System.EventHandler(this.txtFirstName_TextChanged);
     this.txtFirstName.GotFocus    += new System.EventHandler(this.txtBusinessName_GotFocus);
     //
     // 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(71, 206);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(111, 13);
     this.label1.TabIndex  = 6;
     this.label1.Text      = "Customer Address";
     //
     // txtAddress
     //
     this.txtAddress.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtAddress.Font        = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtAddress.Location    = new System.Drawing.Point(114, 224);
     this.txtAddress.MaxLength   = 150;
     this.txtAddress.Multiline   = true;
     this.txtAddress.Name        = "txtAddress";
     this.txtAddress.Size        = new System.Drawing.Size(578, 30);
     this.txtAddress.TabIndex    = 11;
     this.txtAddress.GotFocus   += new System.EventHandler(this.txtAddress_GotFocus);
     //
     // lblCaption
     //
     this.lblCaption.AutoSize  = true;
     this.lblCaption.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblCaption.ForeColor = System.Drawing.Color.MediumBlue;
     this.lblCaption.Location  = new System.Drawing.Point(71, 25);
     this.lblCaption.Name      = "lblCaption";
     this.lblCaption.Size      = new System.Drawing.Size(167, 13);
     this.lblCaption.TabIndex  = 4;
     this.lblCaption.Text      = "Please enter Customer Code";
     //
     // txtContactCode
     //
     this.txtContactCode.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtContactCode.Font        = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtContactCode.Location    = new System.Drawing.Point(114, 43);
     this.txtContactCode.MaxLength   = 25;
     this.txtContactCode.Name        = "txtContactCode";
     this.txtContactCode.Size        = new System.Drawing.Size(280, 30);
     this.txtContactCode.TabIndex    = 0;
     this.txtContactCode.GotFocus   += new System.EventHandler(this.txtCustomerName_GotFocus);
     //
     // 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  = 16;
     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  = 15;
     this.cmdEnter.Text      = "ENTER";
     this.cmdEnter.UseVisualStyleBackColor = true;
     this.cmdEnter.Click += new System.EventHandler(this.cmdEnter_Click);
     //
     // keyboardSearchControl1
     //
     this.keyboardSearchControl1.BackColor = System.Drawing.Color.White;
     this.keyboardSearchControl1.Location  = new System.Drawing.Point(112, 422);
     this.keyboardSearchControl1.Name      = "keyboardSearchControl1";
     this.keyboardSearchControl1.Size      = new System.Drawing.Size(799, 134);
     this.keyboardSearchControl1.TabIndex  = 14;
     this.keyboardSearchControl1.TabStop   = false;
     this.keyboardSearchControl1.Tag       = "";
     this.keyboardSearchControl1.Visible   = false;
     //
     // ContactAddDetWnd
     //
     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.cmdCancel);
     this.Controls.Add(this.cmdEnter);
     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.Name            = "ContactAddDetWnd";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Load           += new System.EventHandler(this.ContactAddDetWnd_Load);
     this.KeyDown        += new System.Windows.Forms.KeyEventHandler(this.ContactAddDetWnd_KeyDown);
     ((System.ComponentModel.ISupportInitialize)(this.imgIcon)).EndInit();
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
示例#17
0
        private void ChequesPaymentWnd_Load(object sender, System.EventArgs e)
        {
            if (TerminalDetails.WithRestaurantFeatures)
            {
                this.keyboardSearchControl1 = new AceSoft.KeyBoardHook.KeyboardSearchControl();
                this.keyboardNoControl1 = new AceSoft.KeyBoardHook.KeyboardNoControl();

                // 
                // keyboardSearchControl1
                // 
                this.keyboardSearchControl1.BackColor = System.Drawing.Color.White;
                this.keyboardSearchControl1.Location = new System.Drawing.Point(91, 310);
                this.keyboardSearchControl1.Name = "keyboardSearchControl1";
                this.keyboardSearchControl1.Size = new System.Drawing.Size(799, 134);
                this.keyboardSearchControl1.TabIndex = 91;
                this.keyboardSearchControl1.TabStop = false;
                this.keyboardSearchControl1.Tag = "";
                this.keyboardSearchControl1.UserKeyPressed += new AceSoft.KeyBoardHook.KeyboardDelegate(this.keyboardSearchControl1_UserKeyPressed);
                // 
                // keyboardNoControl1
                // 
                this.keyboardNoControl1.BackColor = System.Drawing.Color.White;
                this.keyboardNoControl1.commandBlank1 = AceSoft.KeyBoardHook.CommandBlank1.Clear;
                this.keyboardNoControl1.commandBlank2 = AceSoft.KeyBoardHook.CommandBlank2.SelectAll;
                this.keyboardNoControl1.Location = new System.Drawing.Point(412, 310);
                this.keyboardNoControl1.Name = "keyboardNoControl1";
                this.keyboardNoControl1.Size = new System.Drawing.Size(208, 172);
                this.keyboardNoControl1.TabIndex = 92;
                this.keyboardNoControl1.TabStop = false;
                this.keyboardNoControl1.Visible = false;
                this.keyboardNoControl1.UserKeyPressed += new AceSoft.KeyBoardHook.KeyboardDelegate(this.keyboardNoControl1_UserKeyPressed);

                this.Controls.Add(this.keyboardSearchControl1);
                this.Controls.Add(this.keyboardNoControl1);

                keyboardNoControl1.Visible = false;
                keyboardSearchControl1.Visible = TerminalDetails.WithRestaurantFeatures;
            }

            lblChequeAmount.Text = "Cheque Amount (" + CompanyDetails.Currency + "):";
            lblBalanceAmount.Text = mdecBalanceAmount.ToString("#,##0.#0");
            txtAmount.Text = mdecBalanceAmount.ToString("#,##0.#0");

            
        }
示例#18
0
        private void ChangeItemRemarksWnd_Load(object sender, System.EventArgs e)
		{
            if (TerminalDetails.WithRestaurantFeatures)
            {
                this.keyboardSearchControl1 = new AceSoft.KeyBoardHook.KeyboardSearchControl();

                // 
                // keyboardSearchControl1
                // 
                this.keyboardSearchControl1.BackColor = System.Drawing.Color.White;
                this.keyboardSearchControl1.Location = new System.Drawing.Point(91, 310);
                this.keyboardSearchControl1.Name = "keyboardSearchControl1";
                this.keyboardSearchControl1.Size = new System.Drawing.Size(799, 134);
                this.keyboardSearchControl1.TabIndex = 91;
                this.keyboardSearchControl1.TabStop = false;
                this.keyboardSearchControl1.Tag = "";
                this.keyboardSearchControl1.UserKeyPressed += new AceSoft.KeyBoardHook.KeyboardDelegate(this.keyboardSearchControl1_UserKeyPressed);

                this.Controls.Add(this.keyboardSearchControl1);
            
                keyboardSearchControl1.Visible = false;
                keyboardSearchControl1.Visible = TerminalDetails.WithRestaurantFeatures;
            }

            lblProductCode.Text = mDetails.ProductCode; 
			lblBarCode.Text = mDetails.BarCode; 
			txtRemarks.Text = mDetails.ItemRemarks; 
			lblUnit.Text = mDetails.ProductUnitCode;
            lblQuantity.Text = mDetails.Quantity.ToString("###,##0.#0"); 
			lblPrice.Text = mDetails.Price.ToString("###,##0.#0"); 
			lblTotalAmount.Text = mDetails.Amount.ToString("###,##0.#0");
            txtRemarks.Focus();
            txtRemarks.SelectionStart = txtRemarks.Text.Length;
		}
示例#19
0
 /// <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.label1                 = new System.Windows.Forms.Label();
     this.label15                = new System.Windows.Forms.Label();
     this.groupBox1              = new System.Windows.Forms.GroupBox();
     this.label2                 = new System.Windows.Forms.Label();
     this.cboType                = new System.Windows.Forms.ComboBox();
     this.lblRemarks             = 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.cmdCancel              = new System.Windows.Forms.Button();
     this.cmdEnter               = new System.Windows.Forms.Button();
     this.keyboardSearchControl1 = new AceSoft.KeyBoardHook.KeyboardSearchControl();
     ((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.TabIndex  = 51;
     this.imgIcon.TabStop   = false;
     //
     // 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, 22);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(57, 13);
     this.label1.TabIndex  = 67;
     this.label1.Text      = "Paid Out.";
     //
     // label15
     //
     this.label15.AutoSize  = true;
     this.label15.BackColor = System.Drawing.Color.Transparent;
     this.label15.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label15.ForeColor = System.Drawing.Color.Red;
     this.label15.Location  = new System.Drawing.Point(35, 0);
     this.label15.Name      = "label15";
     this.label15.Size      = new System.Drawing.Size(33, 13);
     this.label15.TabIndex  = 78;
     this.label15.Text      = "Enter";
     //
     // groupBox1
     //
     this.groupBox1.BackColor = System.Drawing.Color.White;
     this.groupBox1.Controls.Add(this.label2);
     this.groupBox1.Controls.Add(this.cboType);
     this.groupBox1.Controls.Add(this.lblRemarks);
     this.groupBox1.Controls.Add(this.txtRemarks);
     this.groupBox1.Controls.Add(this.lblCash);
     this.groupBox1.Controls.Add(this.label15);
     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  = 80;
     this.groupBox1.TabStop   = false;
     this.groupBox1.Text      = "Press Enter to resume Transaction";
     //
     // 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(380, 84);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(168, 13);
     this.label2.TabIndex  = 19;
     this.label2.Text      = "Select type of accountability";
     //
     // cboType
     //
     this.cboType.CausesValidation = false;
     this.cboType.DropDownStyle    = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cboType.Font             = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.cboType.Items.AddRange(new object[] {
         "CASH",
         "CHEQUES",
         "CREDIT CARDS"
     });
     this.cboType.Location = new System.Drawing.Point(252, 102);
     this.cboType.Name     = "cboType";
     this.cboType.Size     = new System.Drawing.Size(425, 31);
     this.cboType.TabIndex = 1;
     //
     // 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(331, 144);
     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(196, 162);
     this.txtRemarks.MaxLength   = 255;
     this.txtRemarks.Multiline   = true;
     this.txtRemarks.Name        = "txtRemarks";
     this.txtRemarks.Size        = new System.Drawing.Size(536, 37);
     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(421, 16);
     this.lblCash.Name      = "lblCash";
     this.lblCash.Size      = new System.Drawing.Size(87, 13);
     this.lblCash.TabIndex  = 15;
     this.lblCash.Text      = "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(364, 38);
     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);
     //
     // 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  = 4;
     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  = 3;
     this.cmdEnter.Text      = "ENTER";
     this.cmdEnter.UseVisualStyleBackColor = true;
     this.cmdEnter.Click += new System.EventHandler(this.cmdEnter_Click);
     //
     // keyboardSearchControl1
     //
     this.keyboardSearchControl1.BackColor = System.Drawing.Color.White;
     this.keyboardSearchControl1.Location  = new System.Drawing.Point(112, 316);
     this.keyboardSearchControl1.Name      = "keyboardSearchControl1";
     this.keyboardSearchControl1.Size      = new System.Drawing.Size(799, 134);
     this.keyboardSearchControl1.TabIndex  = 81;
     this.keyboardSearchControl1.TabStop   = false;
     this.keyboardSearchControl1.Tag       = "";
     //
     // PaidOutWnd
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     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.cmdCancel);
     this.Controls.Add(this.cmdEnter);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.imgIcon);
     this.Font            = new System.Drawing.Font("Tahoma", 8F);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.KeyPreview      = true;
     this.Name            = "PaidOutWnd";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Load           += new System.EventHandler(this.PaidOutWnd_Load);
     this.KeyDown        += new System.Windows.Forms.KeyEventHandler(this.PaidOutWnd_KeyDown);
     ((System.ComponentModel.ISupportInitialize)(this.imgIcon)).EndInit();
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
示例#20
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.lblHeader = new System.Windows.Forms.Label();
            this.imgIcon = new System.Windows.Forms.PictureBox();
            this.groupBox1 = new System.Windows.Forms.GroupBox();
            this.label3 = new System.Windows.Forms.Label();
            this.txtTelNo = new System.Windows.Forms.TextBox();
            this.label2 = new System.Windows.Forms.Label();
            this.txtBusinessName = new System.Windows.Forms.TextBox();
            this.label1 = new System.Windows.Forms.Label();
            this.txtAddress = new System.Windows.Forms.TextBox();
            this.lblCaption = new System.Windows.Forms.Label();
            this.txtCustomerName = new System.Windows.Forms.TextBox();
            this.cmdCancel = new System.Windows.Forms.Button();
            this.cmdEnter = new System.Windows.Forms.Button();
            this.keyboardSearchControl1 = new AceSoft.KeyBoardHook.KeyboardSearchControl();
            ((System.ComponentModel.ISupportInitialize)(this.imgIcon)).BeginInit();
            this.groupBox1.SuspendLayout();
            this.SuspendLayout();
            // 
            // 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(166, 13);
            this.lblHeader.TabIndex = 4;
            this.lblHeader.Text = "Enter Customer Information";
            // 
            // 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 = 12;
            this.imgIcon.TabStop = false;
            // 
            // groupBox1
            // 
            this.groupBox1.BackColor = System.Drawing.Color.White;
            this.groupBox1.Controls.Add(this.label3);
            this.groupBox1.Controls.Add(this.txtTelNo);
            this.groupBox1.Controls.Add(this.label2);
            this.groupBox1.Controls.Add(this.txtBusinessName);
            this.groupBox1.Controls.Add(this.label1);
            this.groupBox1.Controls.Add(this.txtAddress);
            this.groupBox1.Controls.Add(this.lblCaption);
            this.groupBox1.Controls.Add(this.txtCustomerName);
            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 = 0;
            this.groupBox1.TabStop = false;
            this.groupBox1.Text = "Contact Details";
            // 
            // label3
            // 
            this.label3.AutoSize = true;
            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(513, 84);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(165, 13);
            this.label3.TabIndex = 7;
            this.label3.Text = "Please enter contact tel. no.";
            // 
            // txtTelNo
            // 
            this.txtTelNo.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txtTelNo.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtTelNo.Location = new System.Drawing.Point(554, 102);
            this.txtTelNo.MaxLength = 75;
            this.txtTelNo.Name = "txtTelNo";
            this.txtTelNo.Size = new System.Drawing.Size(257, 30);
            this.txtTelNo.TabIndex = 2;
            this.txtTelNo.GotFocus += new System.EventHandler(this.txtTelNo_GotFocus);
            // 
            // 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(71, 84);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(223, 13);
            this.label2.TabIndex = 5;
            this.label2.Text = "Please enter customer contact person";
            // 
            // txtBusinessName
            // 
            this.txtBusinessName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txtBusinessName.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtBusinessName.Location = new System.Drawing.Point(114, 102);
            this.txtBusinessName.MaxLength = 75;
            this.txtBusinessName.Name = "txtBusinessName";
            this.txtBusinessName.Size = new System.Drawing.Size(360, 30);
            this.txtBusinessName.TabIndex = 1;
            this.txtBusinessName.GotFocus += new System.EventHandler(this.txtBusinessName_GotFocus);
            // 
            // 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(71, 143);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(183, 13);
            this.label1.TabIndex = 6;
            this.label1.Text = "Please enter customer address";
            // 
            // txtAddress
            // 
            this.txtAddress.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txtAddress.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtAddress.Location = new System.Drawing.Point(114, 161);
            this.txtAddress.MaxLength = 150;
            this.txtAddress.Multiline = true;
            this.txtAddress.Name = "txtAddress";
            this.txtAddress.Size = new System.Drawing.Size(697, 39);
            this.txtAddress.TabIndex = 3;
            this.txtAddress.GotFocus += new System.EventHandler(this.txtAddress_GotFocus);
            // 
            // lblCaption
            // 
            this.lblCaption.AutoSize = true;
            this.lblCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblCaption.ForeColor = System.Drawing.Color.MediumBlue;
            this.lblCaption.Location = new System.Drawing.Point(71, 25);
            this.lblCaption.Name = "lblCaption";
            this.lblCaption.Size = new System.Drawing.Size(171, 13);
            this.lblCaption.TabIndex = 4;
            this.lblCaption.Text = "Please enter Customer Name";
            // 
            // txtCustomerName
            // 
            this.txtCustomerName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txtCustomerName.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtCustomerName.Location = new System.Drawing.Point(114, 43);
            this.txtCustomerName.MaxLength = 25;
            this.txtCustomerName.Name = "txtCustomerName";
            this.txtCustomerName.Size = new System.Drawing.Size(360, 30);
            this.txtCustomerName.TabIndex = 0;
            this.txtCustomerName.GotFocus += new System.EventHandler(this.txtCustomerName_GotFocus);
            // 
            // 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);
            // 
            // keyboardSearchControl1
            // 
            this.keyboardSearchControl1.BackColor = System.Drawing.Color.White;
            this.keyboardSearchControl1.Location = new System.Drawing.Point(112, 316);
            this.keyboardSearchControl1.Name = "keyboardSearchControl1";
            this.keyboardSearchControl1.Size = new System.Drawing.Size(799, 134);
            this.keyboardSearchControl1.TabIndex = 13;
            this.keyboardSearchControl1.TabStop = false;
            this.keyboardSearchControl1.Tag = "";
            // 
            // ContactAddWnd
            // 
            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.cmdCancel);
            this.Controls.Add(this.cmdEnter);
            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.Name = "ContactAddWnd";
            this.ShowInTaskbar = false;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Load += new System.EventHandler(this.ContactAddWnd_Load);
            this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.ContactAddWnd_KeyDown);
            ((System.ComponentModel.ISupportInitialize)(this.imgIcon)).EndInit();
            this.groupBox1.ResumeLayout(false);
            this.groupBox1.PerformLayout();
            this.ResumeLayout(false);
            this.PerformLayout();

        }
示例#21
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.txtSearch          = new System.Windows.Forms.TextBox();
     this.label1             = new System.Windows.Forms.Label();
     this.dgItems            = new System.Windows.Forms.DataGrid();
     this.dgStyle            = new System.Windows.Forms.DataGridTableStyle();
     this.TransactionItemsID = new System.Windows.Forms.DataGridTextBoxColumn();
     this.ProductID          = new System.Windows.Forms.DataGridTextBoxColumn();
     this.ProductCode        = new System.Windows.Forms.DataGridTextBoxColumn();
     this.BarCode            = new System.Windows.Forms.DataGridTextBoxColumn();
     this.ProductDesc        = new System.Windows.Forms.DataGridTextBoxColumn();
     this.ProductUnitID      = new System.Windows.Forms.DataGridTextBoxColumn();
     this.ProductUnitCode    = new System.Windows.Forms.DataGridTextBoxColumn();
     this.Quantity           = new System.Windows.Forms.DataGridTextBoxColumn();
     this.Price            = new System.Windows.Forms.DataGridTextBoxColumn();
     this.Discount         = new System.Windows.Forms.DataGridTextBoxColumn();
     this.ItemDiscount     = new System.Windows.Forms.DataGridTextBoxColumn();
     this.ItemDiscountType = new System.Windows.Forms.DataGridTextBoxColumn();
     this.Amount           = new System.Windows.Forms.DataGridTextBoxColumn();
     this.VAT                    = new System.Windows.Forms.DataGridTextBoxColumn();
     this.EVAT                   = new System.Windows.Forms.DataGridTextBoxColumn();
     this.LocalTax               = new System.Windows.Forms.DataGridTextBoxColumn();
     this.VariationsMatrixID     = new System.Windows.Forms.DataGridTextBoxColumn();
     this.MatrixDescription      = new System.Windows.Forms.DataGridTextBoxColumn();
     this.ProductGroup           = new System.Windows.Forms.DataGridTextBoxColumn();
     this.ProductSubGroup        = new System.Windows.Forms.DataGridTextBoxColumn();
     this.TransactionItemStatus  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DiscountCode           = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DiscountRemarks        = new System.Windows.Forms.DataGridTextBoxColumn();
     this.ProductPackageID       = new System.Windows.Forms.DataGridTextBoxColumn();
     this.MatrixPackageID        = new System.Windows.Forms.DataGridTextBoxColumn();
     this.PackageQuantity        = new System.Windows.Forms.DataGridTextBoxColumn();
     this.PromoQuantity          = new System.Windows.Forms.DataGridTextBoxColumn();
     this.PromoValue             = new System.Windows.Forms.DataGridTextBoxColumn();
     this.PromoInPercent         = new System.Windows.Forms.DataGridTextBoxColumn();
     this.PromoType              = new System.Windows.Forms.DataGridTextBoxColumn();
     this.PromoApplied           = new System.Windows.Forms.DataGridTextBoxColumn();
     this.PurchasePrice          = new System.Windows.Forms.DataGridTextBoxColumn();
     this.PurchaseAmount         = new System.Windows.Forms.DataGridTextBoxColumn();
     this.imgIcon                = new System.Windows.Forms.PictureBox();
     this.keyboardSearchControl1 = new AceSoft.KeyBoardHook.KeyboardSearchControl();
     ((System.ComponentModel.ISupportInitialize)(this.dgItems)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.imgIcon)).BeginInit();
     this.SuspendLayout();
     //
     // 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);
     //
     // 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(125, 13);
     this.label1.TabIndex  = 4;
     this.label1.Text      = "Enter search criteria.";
     //
     // dgItems
     //
     this.dgItems.AlternatingBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
     this.dgItems.BackColor            = System.Drawing.Color.White;
     this.dgItems.BackgroundColor      = System.Drawing.Color.White;
     this.dgItems.BorderStyle          = System.Windows.Forms.BorderStyle.FixedSingle;
     this.dgItems.CaptionBackColor     = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
     this.dgItems.CaptionForeColor     = System.Drawing.Color.Blue;
     this.dgItems.CaptionVisible       = false;
     this.dgItems.DataMember           = "";
     this.dgItems.Dock               = System.Windows.Forms.DockStyle.Bottom;
     this.dgItems.FlatMode           = true;
     this.dgItems.Font               = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dgItems.HeaderBackColor    = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(81)))), ((int)(((byte)(153)))));
     this.dgItems.HeaderFont         = new System.Drawing.Font("Tahoma", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dgItems.HeaderForeColor    = System.Drawing.Color.White;
     this.dgItems.Location           = new System.Drawing.Point(0, 196);
     this.dgItems.Name               = "dgItems";
     this.dgItems.PreferredRowHeight = 50;
     this.dgItems.ReadOnly           = true;
     this.dgItems.RowHeadersVisible  = false;
     this.dgItems.RowHeaderWidth     = 7;
     this.dgItems.SelectionBackColor = System.Drawing.Color.RoyalBlue;
     this.dgItems.SelectionForeColor = System.Drawing.Color.White;
     this.dgItems.Size               = new System.Drawing.Size(1022, 570);
     this.dgItems.TabIndex           = 5;
     this.dgItems.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
         this.dgStyle
     });
     this.dgItems.TabStop    = false;
     this.dgItems.MouseDown += new System.Windows.Forms.MouseEventHandler(this.dgItems_MouseDown);
     //
     // dgStyle
     //
     this.dgStyle.AlternatingBackColor = System.Drawing.Color.White;
     this.dgStyle.BackColor            = System.Drawing.Color.White;
     this.dgStyle.DataGrid             = this.dgItems;
     this.dgStyle.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
         this.TransactionItemsID,
         this.ProductID,
         this.ProductCode,
         this.BarCode,
         this.ProductDesc,
         this.ProductUnitID,
         this.ProductUnitCode,
         this.Quantity,
         this.Price,
         this.Discount,
         this.ItemDiscount,
         this.ItemDiscountType,
         this.Amount,
         this.VAT,
         this.EVAT,
         this.LocalTax,
         this.VariationsMatrixID,
         this.MatrixDescription,
         this.ProductGroup,
         this.ProductSubGroup,
         this.TransactionItemStatus,
         this.DiscountCode,
         this.DiscountRemarks,
         this.ProductPackageID,
         this.MatrixPackageID,
         this.PackageQuantity,
         this.PromoQuantity,
         this.PromoValue,
         this.PromoInPercent,
         this.PromoType,
         this.PromoApplied,
         this.PurchasePrice,
         this.PurchaseAmount
     });
     this.dgStyle.HeaderBackColor      = System.Drawing.Color.DarkOrange;
     this.dgStyle.HeaderFont           = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dgStyle.HeaderForeColor      = System.Drawing.Color.White;
     this.dgStyle.MappingName          = "tblproducts";
     this.dgStyle.PreferredColumnWidth = 180;
     this.dgStyle.PreferredRowHeight   = 40;
     this.dgStyle.ReadOnly             = true;
     this.dgStyle.RowHeadersVisible    = false;
     this.dgStyle.RowHeaderWidth       = 7;
     this.dgStyle.SelectionBackColor   = System.Drawing.Color.Green;
     this.dgStyle.SelectionForeColor   = System.Drawing.Color.White;
     //
     // TransactionItemsID
     //
     this.TransactionItemsID.Format      = "";
     this.TransactionItemsID.FormatInfo  = null;
     this.TransactionItemsID.MappingName = "TransactionItemsID";
     this.TransactionItemsID.NullText    = "";
     this.TransactionItemsID.ReadOnly    = true;
     this.TransactionItemsID.Width       = 0;
     //
     // ProductID
     //
     this.ProductID.Format      = "";
     this.ProductID.FormatInfo  = null;
     this.ProductID.HeaderText  = "ID";
     this.ProductID.MappingName = "ProductID";
     this.ProductID.NullText    = "";
     this.ProductID.ReadOnly    = true;
     this.ProductID.Width       = 0;
     //
     // ProductCode
     //
     this.ProductCode.Format      = "";
     this.ProductCode.FormatInfo  = null;
     this.ProductCode.HeaderText  = "Product Code";
     this.ProductCode.MappingName = "ProductCode";
     this.ProductCode.NullText    = "";
     this.ProductCode.ReadOnly    = true;
     this.ProductCode.Width       = 180;
     //
     // BarCode
     //
     this.BarCode.Format      = "";
     this.BarCode.FormatInfo  = null;
     this.BarCode.HeaderText  = "Bar Code";
     this.BarCode.MappingName = "BarCode";
     this.BarCode.NullText    = "";
     this.BarCode.ReadOnly    = true;
     this.BarCode.Width       = 180;
     //
     // ProductDesc
     //
     this.ProductDesc.Format      = "";
     this.ProductDesc.FormatInfo  = null;
     this.ProductDesc.HeaderText  = "Description";
     this.ProductDesc.MappingName = "ProductDesc";
     this.ProductDesc.NullText    = "";
     this.ProductDesc.ReadOnly    = true;
     this.ProductDesc.Width       = 276;
     //
     // ProductUnitID
     //
     this.ProductUnitID.Format      = "";
     this.ProductUnitID.FormatInfo  = null;
     this.ProductUnitID.MappingName = "ProductUnitID";
     this.ProductUnitID.NullText    = "0";
     this.ProductUnitID.ReadOnly    = true;
     this.ProductUnitID.Width       = 0;
     //
     // ProductUnitCode
     //
     this.ProductUnitCode.Format      = "";
     this.ProductUnitCode.FormatInfo  = null;
     this.ProductUnitCode.MappingName = "ProductUnitCode";
     this.ProductUnitCode.NullText    = "0";
     this.ProductUnitCode.ReadOnly    = true;
     this.ProductUnitCode.Width       = 0;
     //
     // Quantity
     //
     this.Quantity.Format      = "";
     this.Quantity.FormatInfo  = null;
     this.Quantity.MappingName = "Quantity";
     this.Quantity.NullText    = "0";
     this.Quantity.ReadOnly    = true;
     this.Quantity.Width       = 0;
     //
     // Price
     //
     this.Price.Format      = "";
     this.Price.FormatInfo  = null;
     this.Price.MappingName = "Price";
     this.Price.NullText    = "0";
     this.Price.ReadOnly    = true;
     this.Price.Width       = 0;
     //
     // Discount
     //
     this.Discount.Format      = "";
     this.Discount.FormatInfo  = null;
     this.Discount.MappingName = "Discount";
     this.Discount.NullText    = "0";
     this.Discount.ReadOnly    = true;
     this.Discount.Width       = 0;
     //
     // ItemDiscount
     //
     this.ItemDiscount.Format      = "";
     this.ItemDiscount.FormatInfo  = null;
     this.ItemDiscount.MappingName = "ItemDiscount";
     this.ItemDiscount.NullText    = "0";
     this.ItemDiscount.ReadOnly    = true;
     this.ItemDiscount.Width       = 0;
     //
     // ItemDiscountType
     //
     this.ItemDiscountType.Format      = "";
     this.ItemDiscountType.FormatInfo  = null;
     this.ItemDiscountType.MappingName = "ItemDiscountType";
     this.ItemDiscountType.NullText    = "0";
     this.ItemDiscountType.ReadOnly    = true;
     this.ItemDiscountType.Width       = 0;
     //
     // Amount
     //
     this.Amount.Format      = "";
     this.Amount.FormatInfo  = null;
     this.Amount.MappingName = "Amount";
     this.Amount.NullText    = "0";
     this.Amount.ReadOnly    = true;
     this.Amount.Width       = 0;
     //
     // VAT
     //
     this.VAT.Format      = "";
     this.VAT.FormatInfo  = null;
     this.VAT.MappingName = "VAT";
     this.VAT.NullText    = "0";
     this.VAT.ReadOnly    = true;
     this.VAT.Width       = 0;
     //
     // EVAT
     //
     this.EVAT.Format      = "";
     this.EVAT.FormatInfo  = null;
     this.EVAT.MappingName = "EVAT";
     this.EVAT.NullText    = "0";
     this.EVAT.ReadOnly    = true;
     this.EVAT.Width       = 0;
     //
     // LocalTax
     //
     this.LocalTax.Format      = "";
     this.LocalTax.FormatInfo  = null;
     this.LocalTax.MappingName = "LocalTax";
     this.LocalTax.NullText    = "0";
     this.LocalTax.ReadOnly    = true;
     this.LocalTax.Width       = 0;
     //
     // VariationsMatrixID
     //
     this.VariationsMatrixID.Format      = "";
     this.VariationsMatrixID.FormatInfo  = null;
     this.VariationsMatrixID.MappingName = "VariationsMatrixID";
     this.VariationsMatrixID.NullText    = "0";
     this.VariationsMatrixID.ReadOnly    = true;
     this.VariationsMatrixID.Width       = 0;
     //
     // MatrixDescription
     //
     this.MatrixDescription.Format      = "";
     this.MatrixDescription.FormatInfo  = null;
     this.MatrixDescription.MappingName = "MatrixDescription";
     this.MatrixDescription.ReadOnly    = true;
     this.MatrixDescription.Width       = 0;
     //
     // ProductGroup
     //
     this.ProductGroup.Format      = "";
     this.ProductGroup.FormatInfo  = null;
     this.ProductGroup.MappingName = "ProductGroup";
     this.ProductGroup.NullText    = "";
     this.ProductGroup.ReadOnly    = true;
     this.ProductGroup.Width       = 0;
     //
     // ProductSubGroup
     //
     this.ProductSubGroup.Format      = "";
     this.ProductSubGroup.FormatInfo  = null;
     this.ProductSubGroup.MappingName = "ProductSubGroup";
     this.ProductSubGroup.NullText    = "0";
     this.ProductSubGroup.ReadOnly    = true;
     this.ProductSubGroup.Width       = 0;
     //
     // TransactionItemStatus
     //
     this.TransactionItemStatus.Format      = "";
     this.TransactionItemStatus.FormatInfo  = null;
     this.TransactionItemStatus.MappingName = "TransactionItemStatus";
     this.TransactionItemStatus.NullText    = "0";
     this.TransactionItemStatus.ReadOnly    = true;
     this.TransactionItemStatus.Width       = 0;
     //
     // DiscountCode
     //
     this.DiscountCode.Format      = "";
     this.DiscountCode.FormatInfo  = null;
     this.DiscountCode.MappingName = "DiscountCode";
     this.DiscountCode.NullText    = "0";
     this.DiscountCode.ReadOnly    = true;
     this.DiscountCode.Width       = 0;
     //
     // DiscountRemarks
     //
     this.DiscountRemarks.Format      = "";
     this.DiscountRemarks.FormatInfo  = null;
     this.DiscountRemarks.MappingName = "DiscountRemarks";
     this.DiscountRemarks.ReadOnly    = true;
     this.DiscountRemarks.Width       = 0;
     //
     // ProductPackageID
     //
     this.ProductPackageID.Format      = "";
     this.ProductPackageID.FormatInfo  = null;
     this.ProductPackageID.MappingName = "ProductPackageID";
     this.ProductPackageID.NullText    = "0";
     this.ProductPackageID.ReadOnly    = true;
     this.ProductPackageID.Width       = 0;
     //
     // MatrixPackageID
     //
     this.MatrixPackageID.Format      = "";
     this.MatrixPackageID.FormatInfo  = null;
     this.MatrixPackageID.MappingName = "MatrixPackageID";
     this.MatrixPackageID.NullText    = "0";
     this.MatrixPackageID.ReadOnly    = true;
     this.MatrixPackageID.Width       = 0;
     //
     // PackageQuantity
     //
     this.PackageQuantity.Format      = "";
     this.PackageQuantity.FormatInfo  = null;
     this.PackageQuantity.MappingName = "PackageQuantity";
     this.PackageQuantity.NullText    = "0";
     this.PackageQuantity.ReadOnly    = true;
     this.PackageQuantity.Width       = 0;
     //
     // PromoQuantity
     //
     this.PromoQuantity.Format      = "";
     this.PromoQuantity.FormatInfo  = null;
     this.PromoQuantity.MappingName = "PromoQuantity";
     this.PromoQuantity.NullText    = "0";
     this.PromoQuantity.ReadOnly    = true;
     this.PromoQuantity.Width       = 0;
     //
     // PromoValue
     //
     this.PromoValue.Format      = "";
     this.PromoValue.FormatInfo  = null;
     this.PromoValue.MappingName = "PromoValue";
     this.PromoValue.NullText    = "0";
     this.PromoValue.ReadOnly    = true;
     this.PromoValue.Width       = 75;
     //
     // PromoInPercent
     //
     this.PromoInPercent.Format      = "";
     this.PromoInPercent.FormatInfo  = null;
     this.PromoInPercent.MappingName = "PromoInPercent";
     this.PromoInPercent.NullText    = "0";
     this.PromoInPercent.ReadOnly    = true;
     this.PromoInPercent.Width       = 75;
     //
     // PromoType
     //
     this.PromoType.Format      = "";
     this.PromoType.FormatInfo  = null;
     this.PromoType.MappingName = "PromoType";
     this.PromoType.NullText    = "0";
     this.PromoType.ReadOnly    = true;
     this.PromoType.Width       = 75;
     //
     // PromoApplied
     //
     this.PromoApplied.Format      = "";
     this.PromoApplied.FormatInfo  = null;
     this.PromoApplied.MappingName = "PromoApplied";
     this.PromoApplied.NullText    = "0";
     this.PromoApplied.ReadOnly    = true;
     this.PromoApplied.Width       = 0;
     //
     // PurchasePrice
     //
     this.PurchasePrice.Format      = "";
     this.PurchasePrice.FormatInfo  = null;
     this.PurchasePrice.MappingName = "PurchasePrice";
     this.PurchasePrice.NullText    = "0";
     this.PurchasePrice.ReadOnly    = true;
     this.PurchasePrice.Width       = 0;
     //
     // PurchaseAmount
     //
     this.PurchaseAmount.Format      = "";
     this.PurchaseAmount.FormatInfo  = null;
     this.PurchaseAmount.MappingName = "PurchaseAmount";
     this.PurchaseAmount.NullText    = "0";
     this.PurchaseAmount.ReadOnly    = true;
     this.PurchaseAmount.Width       = 0;
     //
     // 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.TabIndex  = 50;
     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  = 51;
     this.keyboardSearchControl1.TabStop   = false;
     this.keyboardSearchControl1.Tag       = "";
     //
     // TransactionReturnItemSelectWnd
     //
     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.dgItems);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.txtSearch);
     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.Name            = "TransactionReturnItemSelectWnd";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Load           += new System.EventHandler(this.TransactionReturnItemSelectWnd_Load);
     this.KeyDown        += new System.Windows.Forms.KeyEventHandler(this.TransactionReturnItemSelectWnd_KeyDown);
     this.Resize         += new System.EventHandler(this.TransactionReturnItemSelectWnd_Resize);
     ((System.ComponentModel.ISupportInitialize)(this.dgItems)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.imgIcon)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
示例#22
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.groupBox1              = new System.Windows.Forms.GroupBox();
     this.label7                 = new System.Windows.Forms.Label();
     this.cmdF6                  = new System.Windows.Forms.Button();
     this.label3                 = new System.Windows.Forms.Label();
     this.txtContact             = new System.Windows.Forms.TextBox();
     this.label2                 = new System.Windows.Forms.Label();
     this.cboType                = new System.Windows.Forms.ComboBox();
     this.lblRemarks             = new System.Windows.Forms.Label();
     this.txtRemarks             = new System.Windows.Forms.TextBox();
     this.lblCurrency            = new System.Windows.Forms.Label();
     this.txtAmount              = new System.Windows.Forms.TextBox();
     this.label5                 = new System.Windows.Forms.Label();
     this.label1                 = new System.Windows.Forms.Label();
     this.imgIcon                = new System.Windows.Forms.PictureBox();
     this.label15                = new System.Windows.Forms.Label();
     this.label8                 = new System.Windows.Forms.Label();
     this.cmdCancel              = new System.Windows.Forms.Button();
     this.cmdEnter               = new System.Windows.Forms.Button();
     this.label6                 = new System.Windows.Forms.Label();
     this.keyboardSearchControl1 = new AceSoft.KeyBoardHook.KeyboardSearchControl();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.imgIcon)).BeginInit();
     this.SuspendLayout();
     //
     // groupBox1
     //
     this.groupBox1.BackColor = System.Drawing.Color.White;
     this.groupBox1.Controls.Add(this.label7);
     this.groupBox1.Controls.Add(this.cmdF6);
     this.groupBox1.Controls.Add(this.label3);
     this.groupBox1.Controls.Add(this.txtContact);
     this.groupBox1.Controls.Add(this.label2);
     this.groupBox1.Controls.Add(this.cboType);
     this.groupBox1.Controls.Add(this.lblRemarks);
     this.groupBox1.Controls.Add(this.txtRemarks);
     this.groupBox1.Controls.Add(this.lblCurrency);
     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(1013, 205);
     this.groupBox1.TabIndex  = 0;
     this.groupBox1.TabStop   = false;
     //
     // label7
     //
     this.label7.AutoSize  = true;
     this.label7.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label7.ForeColor = System.Drawing.Color.MediumBlue;
     this.label7.Location  = new System.Drawing.Point(736, 41);
     this.label7.Name      = "label7";
     this.label7.Size      = new System.Drawing.Size(106, 13);
     this.label7.TabIndex  = 6;
     this.label7.Text      = "Select Customer. ";
     //
     // cmdF6
     //
     this.cmdF6.AutoSize = true;
     this.cmdF6.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.cmdF6.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.cmdF6.Font      = new System.Drawing.Font("Times New Roman", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.cmdF6.ForeColor = System.Drawing.Color.White;
     this.cmdF6.Location  = new System.Drawing.Point(658, 15);
     this.cmdF6.Name      = "cmdF6";
     this.cmdF6.Size      = new System.Drawing.Size(78, 62);
     this.cmdF6.TabIndex  = 0;
     this.cmdF6.Text      = "F6";
     this.cmdF6.UseVisualStyleBackColor = true;
     this.cmdF6.Click += new System.EventHandler(this.cmdF6_Click);
     //
     // label3
     //
     this.label3.AutoSize  = true;
     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(117, 13);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(97, 13);
     this.label3.TabIndex  = 4;
     this.label3.Text      = "Customer Name";
     //
     // txtContact
     //
     this.txtContact.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtContact.Font        = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtContact.Location    = new System.Drawing.Point(120, 31);
     this.txtContact.MaxLength   = 255;
     this.txtContact.Multiline   = true;
     this.txtContact.Name        = "txtContact";
     this.txtContact.ReadOnly    = true;
     this.txtContact.Size        = new System.Drawing.Size(536, 37);
     this.txtContact.TabIndex    = 5;
     //
     // 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(457, 82);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(168, 13);
     this.label2.TabIndex  = 8;
     this.label2.Text      = "Select type of accountability";
     //
     // cboType
     //
     this.cboType.CausesValidation = false;
     this.cboType.DropDownStyle    = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cboType.Font             = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.cboType.Items.AddRange(new object[] {
         "CASH",
         "CHEQUES",
         "CREDIT CARDS"
     });
     this.cboType.Location = new System.Drawing.Point(460, 100);
     this.cboType.Name     = "cboType";
     this.cboType.Size     = new System.Drawing.Size(200, 31);
     this.cboType.TabIndex = 2;
     //
     // 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(117, 142);
     this.lblRemarks.Name      = "lblRemarks";
     this.lblRemarks.Size      = new System.Drawing.Size(267, 13);
     this.lblRemarks.TabIndex  = 9;
     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(120, 160);
     this.txtRemarks.MaxLength   = 255;
     this.txtRemarks.Multiline   = true;
     this.txtRemarks.Name        = "txtRemarks";
     this.txtRemarks.Size        = new System.Drawing.Size(536, 37);
     this.txtRemarks.TabIndex    = 3;
     this.txtRemarks.GotFocus   += new System.EventHandler(this.txtRemarks_GotFocus);
     //
     // lblCurrency
     //
     this.lblCurrency.AutoSize  = true;
     this.lblCurrency.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblCurrency.ForeColor = System.Drawing.Color.MediumBlue;
     this.lblCurrency.Location  = new System.Drawing.Point(117, 82);
     this.lblCurrency.Name      = "lblCurrency";
     this.lblCurrency.Size      = new System.Drawing.Size(87, 13);
     this.lblCurrency.TabIndex  = 7;
     this.lblCurrency.Text      = "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(120, 100);
     this.txtAmount.MaxLength   = 16;
     this.txtAmount.Name        = "txtAmount";
     this.txtAmount.Size        = new System.Drawing.Size(200, 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);
     //
     // label5
     //
     this.label5.AutoSize  = true;
     this.label5.BackColor = System.Drawing.Color.Transparent;
     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.Red;
     this.label5.Location  = new System.Drawing.Point(764, 41);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(20, 13);
     this.label5.TabIndex  = 6;
     this.label5.Text      = "F2";
     //
     // 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, 22);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(187, 13);
     this.label1.TabIndex  = 3;
     this.label1.Text      = "Deposit amount from customer.";
     //
     // 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.TabIndex  = 81;
     this.imgIcon.TabStop   = false;
     //
     // label15
     //
     this.label15.AutoSize  = true;
     this.label15.BackColor = System.Drawing.Color.Transparent;
     this.label15.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label15.ForeColor = System.Drawing.Color.Red;
     this.label15.Location  = new System.Drawing.Point(757, 15);
     this.label15.Name      = "label15";
     this.label15.Size      = new System.Drawing.Size(33, 13);
     this.label15.TabIndex  = 4;
     this.label15.Text      = "Enter";
     //
     // label8
     //
     this.label8.AutoSize  = true;
     this.label8.BackColor = System.Drawing.Color.Transparent;
     this.label8.ForeColor = System.Drawing.Color.LightSlateGray;
     this.label8.Location  = new System.Drawing.Point(789, 15);
     this.label8.Name      = "label8";
     this.label8.Size      = new System.Drawing.Size(172, 13);
     this.label8.TabIndex  = 5;
     this.label8.Text      = "Press Enter to resume Transaction";
     //
     // 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);
     //
     // label6
     //
     this.label6.AutoSize  = true;
     this.label6.BackColor = System.Drawing.Color.Transparent;
     this.label6.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label6.ForeColor = System.Drawing.Color.MediumBlue;
     this.label6.Location  = new System.Drawing.Point(789, 41);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(115, 13);
     this.label6.TabIndex  = 7;
     this.label6.Text      = "Add new customer.";
     //
     // keyboardSearchControl1
     //
     this.keyboardSearchControl1.BackColor = System.Drawing.Color.White;
     this.keyboardSearchControl1.Location  = new System.Drawing.Point(112, 316);
     this.keyboardSearchControl1.Name      = "keyboardSearchControl1";
     this.keyboardSearchControl1.Size      = new System.Drawing.Size(799, 134);
     this.keyboardSearchControl1.TabIndex  = 82;
     this.keyboardSearchControl1.TabStop   = false;
     this.keyboardSearchControl1.Tag       = "";
     //
     // DepositWnd
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     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.cmdCancel);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.cmdEnter);
     this.Controls.Add(this.label6);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.imgIcon);
     this.Controls.Add(this.label15);
     this.Controls.Add(this.label8);
     this.Font            = new System.Drawing.Font("Tahoma", 8F);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.KeyPreview      = true;
     this.Name            = "DepositWnd";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Load           += new System.EventHandler(this.DepositWnd_Load);
     this.KeyDown        += new System.Windows.Forms.KeyEventHandler(this.DepositWnd_KeyDown);
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.imgIcon)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
示例#23
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.groupBox1 = new System.Windows.Forms.GroupBox();
            this.label7 = new System.Windows.Forms.Label();
            this.cmdF6 = new System.Windows.Forms.Button();
            this.label3 = new System.Windows.Forms.Label();
            this.txtContact = new System.Windows.Forms.TextBox();
            this.label2 = new System.Windows.Forms.Label();
            this.cboType = new System.Windows.Forms.ComboBox();
            this.lblRemarks = new System.Windows.Forms.Label();
            this.txtRemarks = new System.Windows.Forms.TextBox();
            this.lblCurrency = new System.Windows.Forms.Label();
            this.txtAmount = new System.Windows.Forms.TextBox();
            this.label5 = new System.Windows.Forms.Label();
            this.label1 = new System.Windows.Forms.Label();
            this.imgIcon = new System.Windows.Forms.PictureBox();
            this.label15 = new System.Windows.Forms.Label();
            this.label8 = new System.Windows.Forms.Label();
            this.cmdCancel = new System.Windows.Forms.Button();
            this.cmdEnter = new System.Windows.Forms.Button();
            this.label6 = new System.Windows.Forms.Label();
            this.keyboardSearchControl1 = new AceSoft.KeyBoardHook.KeyboardSearchControl();
            this.groupBox1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.imgIcon)).BeginInit();
            this.SuspendLayout();
            // 
            // groupBox1
            // 
            this.groupBox1.BackColor = System.Drawing.Color.White;
            this.groupBox1.Controls.Add(this.label7);
            this.groupBox1.Controls.Add(this.cmdF6);
            this.groupBox1.Controls.Add(this.label3);
            this.groupBox1.Controls.Add(this.txtContact);
            this.groupBox1.Controls.Add(this.label2);
            this.groupBox1.Controls.Add(this.cboType);
            this.groupBox1.Controls.Add(this.lblRemarks);
            this.groupBox1.Controls.Add(this.txtRemarks);
            this.groupBox1.Controls.Add(this.lblCurrency);
            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(1013, 205);
            this.groupBox1.TabIndex = 0;
            this.groupBox1.TabStop = false;
            // 
            // label7
            // 
            this.label7.AutoSize = true;
            this.label7.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label7.ForeColor = System.Drawing.Color.MediumBlue;
            this.label7.Location = new System.Drawing.Point(736, 41);
            this.label7.Name = "label7";
            this.label7.Size = new System.Drawing.Size(106, 13);
            this.label7.TabIndex = 6;
            this.label7.Text = "Select Customer. ";
            // 
            // cmdF6
            // 
            this.cmdF6.AutoSize = true;
            this.cmdF6.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
            this.cmdF6.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.cmdF6.Font = new System.Drawing.Font("Times New Roman", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cmdF6.ForeColor = System.Drawing.Color.White;
            this.cmdF6.Location = new System.Drawing.Point(658, 15);
            this.cmdF6.Name = "cmdF6";
            this.cmdF6.Size = new System.Drawing.Size(78, 62);
            this.cmdF6.TabIndex = 0;
            this.cmdF6.Text = "F6";
            this.cmdF6.UseVisualStyleBackColor = true;
            this.cmdF6.Click += new System.EventHandler(this.cmdF6_Click);
            // 
            // label3
            // 
            this.label3.AutoSize = true;
            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(117, 13);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(97, 13);
            this.label3.TabIndex = 4;
            this.label3.Text = "Customer Name";
            // 
            // txtContact
            // 
            this.txtContact.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txtContact.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtContact.Location = new System.Drawing.Point(120, 31);
            this.txtContact.MaxLength = 255;
            this.txtContact.Multiline = true;
            this.txtContact.Name = "txtContact";
            this.txtContact.ReadOnly = true;
            this.txtContact.Size = new System.Drawing.Size(536, 37);
            this.txtContact.TabIndex = 5;
            // 
            // 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(457, 82);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(168, 13);
            this.label2.TabIndex = 8;
            this.label2.Text = "Select type of accountability";
            // 
            // cboType
            // 
            this.cboType.CausesValidation = false;
            this.cboType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.cboType.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cboType.Items.AddRange(new object[] {
            "CASH",
            "CHEQUES",
            "CREDIT CARDS"});
            this.cboType.Location = new System.Drawing.Point(460, 100);
            this.cboType.Name = "cboType";
            this.cboType.Size = new System.Drawing.Size(200, 31);
            this.cboType.TabIndex = 2;
            // 
            // 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(117, 142);
            this.lblRemarks.Name = "lblRemarks";
            this.lblRemarks.Size = new System.Drawing.Size(267, 13);
            this.lblRemarks.TabIndex = 9;
            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(120, 160);
            this.txtRemarks.MaxLength = 255;
            this.txtRemarks.Multiline = true;
            this.txtRemarks.Name = "txtRemarks";
            this.txtRemarks.Size = new System.Drawing.Size(536, 37);
            this.txtRemarks.TabIndex = 3;
            this.txtRemarks.GotFocus += new System.EventHandler(this.txtRemarks_GotFocus);
            // 
            // lblCurrency
            // 
            this.lblCurrency.AutoSize = true;
            this.lblCurrency.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblCurrency.ForeColor = System.Drawing.Color.MediumBlue;
            this.lblCurrency.Location = new System.Drawing.Point(117, 82);
            this.lblCurrency.Name = "lblCurrency";
            this.lblCurrency.Size = new System.Drawing.Size(87, 13);
            this.lblCurrency.TabIndex = 7;
            this.lblCurrency.Text = "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(120, 100);
            this.txtAmount.MaxLength = 16;
            this.txtAmount.Name = "txtAmount";
            this.txtAmount.Size = new System.Drawing.Size(200, 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);
            // 
            // label5
            // 
            this.label5.AutoSize = true;
            this.label5.BackColor = System.Drawing.Color.Transparent;
            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.Red;
            this.label5.Location = new System.Drawing.Point(764, 41);
            this.label5.Name = "label5";
            this.label5.Size = new System.Drawing.Size(20, 13);
            this.label5.TabIndex = 6;
            this.label5.Text = "F2";
            // 
            // 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, 22);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(187, 13);
            this.label1.TabIndex = 3;
            this.label1.Text = "Deposit amount from customer.";
            // 
            // 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.TabIndex = 81;
            this.imgIcon.TabStop = false;
            // 
            // label15
            // 
            this.label15.AutoSize = true;
            this.label15.BackColor = System.Drawing.Color.Transparent;
            this.label15.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label15.ForeColor = System.Drawing.Color.Red;
            this.label15.Location = new System.Drawing.Point(757, 15);
            this.label15.Name = "label15";
            this.label15.Size = new System.Drawing.Size(33, 13);
            this.label15.TabIndex = 4;
            this.label15.Text = "Enter";
            // 
            // label8
            // 
            this.label8.AutoSize = true;
            this.label8.BackColor = System.Drawing.Color.Transparent;
            this.label8.ForeColor = System.Drawing.Color.LightSlateGray;
            this.label8.Location = new System.Drawing.Point(789, 15);
            this.label8.Name = "label8";
            this.label8.Size = new System.Drawing.Size(172, 13);
            this.label8.TabIndex = 5;
            this.label8.Text = "Press Enter to resume Transaction";
            // 
            // 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);
            // 
            // label6
            // 
            this.label6.AutoSize = true;
            this.label6.BackColor = System.Drawing.Color.Transparent;
            this.label6.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label6.ForeColor = System.Drawing.Color.MediumBlue;
            this.label6.Location = new System.Drawing.Point(789, 41);
            this.label6.Name = "label6";
            this.label6.Size = new System.Drawing.Size(115, 13);
            this.label6.TabIndex = 7;
            this.label6.Text = "Add new customer.";
            // 
            // keyboardSearchControl1
            // 
            this.keyboardSearchControl1.BackColor = System.Drawing.Color.White;
            this.keyboardSearchControl1.Location = new System.Drawing.Point(112, 316);
            this.keyboardSearchControl1.Name = "keyboardSearchControl1";
            this.keyboardSearchControl1.Size = new System.Drawing.Size(799, 134);
            this.keyboardSearchControl1.TabIndex = 82;
            this.keyboardSearchControl1.TabStop = false;
            this.keyboardSearchControl1.Tag = "";
            // 
            // DepositWnd
            // 
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            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.cmdCancel);
            this.Controls.Add(this.label5);
            this.Controls.Add(this.cmdEnter);
            this.Controls.Add(this.label6);
            this.Controls.Add(this.groupBox1);
            this.Controls.Add(this.label1);
            this.Controls.Add(this.imgIcon);
            this.Controls.Add(this.label15);
            this.Controls.Add(this.label8);
            this.Font = new System.Drawing.Font("Tahoma", 8F);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
            this.KeyPreview = true;
            this.Name = "DepositWnd";
            this.ShowInTaskbar = false;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Load += new System.EventHandler(this.DepositWnd_Load);
            this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.DepositWnd_KeyDown);
            this.groupBox1.ResumeLayout(false);
            this.groupBox1.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.imgIcon)).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();

        }
示例#24
0
        private void CreditPaymentWnd_Load(object sender, System.EventArgs e)
        {
            if (TerminalDetails.WithRestaurantFeatures)
            {
                this.keyboardSearchControl1 = new AceSoft.KeyBoardHook.KeyboardSearchControl();
                this.keyboardNoControl1     = new AceSoft.KeyBoardHook.KeyboardNoControl();

                //
                // keyboardSearchControl1
                //
                this.keyboardSearchControl1.BackColor       = System.Drawing.Color.White;
                this.keyboardSearchControl1.Location        = new System.Drawing.Point(91, 310);
                this.keyboardSearchControl1.Name            = "keyboardSearchControl1";
                this.keyboardSearchControl1.Size            = new System.Drawing.Size(799, 134);
                this.keyboardSearchControl1.TabIndex        = 89;
                this.keyboardSearchControl1.TabStop         = false;
                this.keyboardSearchControl1.Tag             = "";
                this.keyboardSearchControl1.UserKeyPressed += new AceSoft.KeyBoardHook.KeyboardDelegate(this.keyboardSearchControl1_UserKeyPressed);
                //
                // 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(412, 310);
                this.keyboardNoControl1.Name            = "keyboardNoControl1";
                this.keyboardNoControl1.Size            = new System.Drawing.Size(208, 172);
                this.keyboardNoControl1.TabIndex        = 90;
                this.keyboardNoControl1.TabStop         = false;
                this.keyboardNoControl1.Visible         = false;
                this.keyboardNoControl1.UserKeyPressed += new AceSoft.KeyBoardHook.KeyboardDelegate(this.keyboardNoControl1_UserKeyPressed);

                this.Controls.Add(this.keyboardSearchControl1);
                this.Controls.Add(this.keyboardNoControl1);

                keyboardNoControl1.Visible     = TerminalDetails.WithRestaurantFeatures;
                keyboardSearchControl1.Visible = false;
            }

            lblAllowedCredit.Text = mdecAllowedCredit.ToString("#,##0.#0");
            lblBalanceAmount.Text = mdecBalanceAmount.ToString("#,##0.#0");
            txtAmount.Text        = mdecBalanceAmount.ToString("#,##0.#0");
            lblCredit.Text        = "Credit Amount (" + CompanyDetails.Currency + ")";

            if (mclsSalesTransactionDetails.isConsignment)
            {
                lblHeader.Text             = "Tender Consignment Amount";
                lblAllowedCreditLabel.Text = "Allowed consignment amount.";
            }
            else
            {
                lblHeader.Text             = "Tender Credit Amount";
                lblAllowedCreditLabel.Text = "Allowed credit amount.";
            }
            if (mboIsRefund)
            {
                lblHeader.Text             = "Tender Credit Amount to refund";
                lblBalance.Text            = "Current Balance to be refunded.";
                lblAllowedCreditLabel.Text = "Current credit amount.";

                //overwrite the allowable credit if it's refund
                // set the allowable credit to highest if refund
                mdecAllowedCredit = 10000000;
            }
        }