Esempio n. 1
0
		private void InitializeComponent()
		{
            this.components = new System.ComponentModel.Container();
            this.panLocked = new System.Windows.Forms.Panel();
            this.cmdExit = new AceSoft.RetailPlus.Client.MenuButton();
            this.lblPress = new System.Windows.Forms.Label();
            this.lblThisStation = new System.Windows.Forms.Label();
            this.imgIcon = new System.Windows.Forms.PictureBox();
            this.grpTop = new System.Windows.Forms.GroupBox();
            this.lblServedBy = new System.Windows.Forms.Label();
            this.lblCustomer = new System.Windows.Forms.Label();
            this.lblTransNo = new System.Windows.Forms.Label();
            this.lblTransactionNoName = new System.Windows.Forms.Label();
            this.grpBottom = new System.Windows.Forms.GroupBox();
            this.lblTerminalNo = new System.Windows.Forms.Label();
            this.lblTransDate = new System.Windows.Forms.Label();
            this.lblCashier = new System.Windows.Forms.Label();
            this.lblAgent = new System.Windows.Forms.Label();
            this.lblTerminalNoName = new System.Windows.Forms.Label();
            this.lblCashierName = new System.Windows.Forms.Label();
            this.lblCompanyName = new System.Windows.Forms.Label();
            this.grptxtBarcode = new System.Windows.Forms.GroupBox();
            this.label16 = new System.Windows.Forms.Label();
            this.label17 = new System.Windows.Forms.Label();
            this.label18 = new System.Windows.Forms.Label();
            this.label19 = new System.Windows.Forms.Label();
            this.label20 = new System.Windows.Forms.Label();
            this.txtBarCode = new System.Windows.Forms.TextBox();
            this.grpMarquee = new System.Windows.Forms.GroupBox();
            this.lblMessage = new System.Windows.Forms.Label();
            this.tmrRLC = new System.Windows.Forms.Timer(this.components);
            this.grpRLC = new System.Windows.Forms.GroupBox();
            this.cmdRLCClose = new System.Windows.Forms.Button();
            this.lblMallForwarderStatus = new System.Windows.Forms.Label();
            this.lblSubTotal = new System.Windows.Forms.Label();
            this.lblTransDiscount = new System.Windows.Forms.Label();
            this.lblCurrency = new System.Windows.Forms.Label();
            this.lblTransCharge = new System.Windows.Forms.Label();
            this.lblOrderType = new System.Windows.Forms.Label();
            this.lblSubtotalName = new System.Windows.Forms.Label();
            this.lblOrders = new System.Windows.Forms.Label();
            this.dgStyle = new System.Windows.Forms.DataGridTableStyle();
            this.dgItems = new System.Windows.Forms.DataGrid();
            this.Commision = new System.Windows.Forms.DataGridTextBoxColumn();
            this.RewardPoints = new System.Windows.Forms.DataGridTextBoxColumn();
            this.ItemRemarks = new System.Windows.Forms.DataGridTextBoxColumn();
            this.ReturnTransactionItemsID = new System.Windows.Forms.DataGridTextBoxColumn();
            this.SupplierID = new System.Windows.Forms.DataGridTextBoxColumn();
            this.SupplierCode = new System.Windows.Forms.DataGridTextBoxColumn();
            this.SupplierName = new System.Windows.Forms.DataGridTextBoxColumn();
            this.PercentageCommision = new System.Windows.Forms.DataGridTextBoxColumn();
            this.OrderSlipPrinted = new System.Windows.Forms.DataGridTextBoxColumn();
            this.OrderSlipPrinter1 = new System.Windows.Forms.DataGridTextBoxColumn();
            this.OrderSlipPrinter2 = new System.Windows.Forms.DataGridTextBoxColumn();
            this.OrderSlipPrinter3 = new System.Windows.Forms.DataGridTextBoxColumn();
            this.OrderSlipPrinter4 = new System.Windows.Forms.DataGridTextBoxColumn();
            this.OrderSlipPrinter5 = new System.Windows.Forms.DataGridTextBoxColumn();
            this.IncludeInSubtotalDiscount = new System.Windows.Forms.DataGridTextBoxColumn();
            this.IsCreditChargeExcluded = new System.Windows.Forms.DataGridTextBoxColumn();
            this.PurchaseAmount = new System.Windows.Forms.DataGridTextBoxColumn();
            this.PurchasePrice = new System.Windows.Forms.DataGridTextBoxColumn();
            this.PromoApplied = new System.Windows.Forms.DataGridTextBoxColumn();
            this.PromoType = new System.Windows.Forms.DataGridTextBoxColumn();
            this.PromoInPercent = new System.Windows.Forms.DataGridTextBoxColumn();
            this.PromoValue = new System.Windows.Forms.DataGridTextBoxColumn();
            this.PromoQuantity = new System.Windows.Forms.DataGridTextBoxColumn();
            this.PackageQuantity = new System.Windows.Forms.DataGridTextBoxColumn();
            this.MatrixPackageID = new System.Windows.Forms.DataGridTextBoxColumn();
            this.ProductPackageID = new System.Windows.Forms.DataGridTextBoxColumn();
            this.DiscountRemarks = new System.Windows.Forms.DataGridTextBoxColumn();
            this.DiscountCode = new System.Windows.Forms.DataGridTextBoxColumn();
            this.TransactionItemStat = new System.Windows.Forms.DataGridTextBoxColumn();
            this.ProductSubGroup = new System.Windows.Forms.DataGridTextBoxColumn();
            this.ProductGroup = new System.Windows.Forms.DataGridTextBoxColumn();
            this.MatrixDescription = new System.Windows.Forms.DataGridTextBoxColumn();
            this.VariationsMatrixID = new System.Windows.Forms.DataGridTextBoxColumn();
            this.LocalTax = new System.Windows.Forms.DataGridTextBoxColumn();
            this.EVAT = new System.Windows.Forms.DataGridTextBoxColumn();
            this.VAT = new System.Windows.Forms.DataGridTextBoxColumn();
            this.Amount = new System.Windows.Forms.DataGridTextBoxColumn();
            this.ItemDiscountType = new System.Windows.Forms.DataGridTextBoxColumn();
            this.ItemDiscount = new System.Windows.Forms.DataGridTextBoxColumn();
            this.Discount = new System.Windows.Forms.DataGridTextBoxColumn();
            this.Price = new System.Windows.Forms.DataGridTextBoxColumn();
            this.Quantity = new System.Windows.Forms.DataGridTextBoxColumn();
            this.ProductUnitCode = new System.Windows.Forms.DataGridTextBoxColumn();
            this.ProductUnitID = new System.Windows.Forms.DataGridTextBoxColumn();
            this.Description = new System.Windows.Forms.DataGridTextBoxColumn();
            this.BarCode = new System.Windows.Forms.DataGridTextBoxColumn();
            this.ProductCode = new System.Windows.Forms.DataGridTextBoxColumn();
            this.ProductID = new System.Windows.Forms.DataGridTextBoxColumn();
            this.ItemNo = new System.Windows.Forms.DataGridTextBoxColumn();
            this.PaxNo = new System.Windows.Forms.DataGridTextBoxColumn();
            this.TransactionItemsID = new System.Windows.Forms.DataGridTextBoxColumn();
            this.lblAgentPositionDepartment = new System.Windows.Forms.Label();
            this.grpSubGroup = new System.Windows.Forms.GroupBox();
            this.tblLayoutGroup = new System.Windows.Forms.TableLayoutPanel();
            this.cmdSubGroupRight = new AceSoft.RetailPlus.Client.SubGroupButton();
            this.cmdSubGroupLeft = new AceSoft.RetailPlus.Client.SubGroupButton();
            this.cmdPaxAdd = new System.Windows.Forms.Button();
            this.cmdPaxDeduct = new System.Windows.Forms.Button();
            this.panSubTotal = new System.Windows.Forms.GroupBox();
            this.grpItems = new System.Windows.Forms.GroupBox();
            this.cmdProductRight = new System.Windows.Forms.Button();
            this.cmdProductLeft = new System.Windows.Forms.Button();
            this.lblItems = new System.Windows.Forms.Label();
            this.tblLayoutProducts = new System.Windows.Forms.TableLayoutPanel();
            this.groupBox1 = new System.Windows.Forms.GroupBox();
            this.lblMenu = new System.Windows.Forms.Label();
            this.groupBox2 = new System.Windows.Forms.GroupBox();
            this.cmd11 = new AceSoft.RetailPlus.Client.MenuButton();
            this.cmd10 = new AceSoft.RetailPlus.Client.MenuButton();
            this.cmd7 = new AceSoft.RetailPlus.Client.MenuButton();
            this.cmd9 = new AceSoft.RetailPlus.Client.MenuButton();
            this.cmd8 = new AceSoft.RetailPlus.Client.MenuButton();
            this.cmd6 = new AceSoft.RetailPlus.Client.MenuButton();
            this.cmd1 = new AceSoft.RetailPlus.Client.MenuButton();
            this.cmd2 = new AceSoft.RetailPlus.Client.MenuButton();
            this.cmd3 = new AceSoft.RetailPlus.Client.MenuButton();
            this.cmd4 = new AceSoft.RetailPlus.Client.MenuButton();
            this.cmd5 = new AceSoft.RetailPlus.Client.MenuButton();
            this.cmd12 = new AceSoft.RetailPlus.Client.MenuButton();
            this.panLocked.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.imgIcon)).BeginInit();
            this.grpTop.SuspendLayout();
            this.grpBottom.SuspendLayout();
            this.grptxtBarcode.SuspendLayout();
            this.grpMarquee.SuspendLayout();
            this.grpRLC.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.dgItems)).BeginInit();
            this.grpSubGroup.SuspendLayout();
            this.panSubTotal.SuspendLayout();
            this.grpItems.SuspendLayout();
            this.groupBox1.SuspendLayout();
            this.groupBox2.SuspendLayout();
            this.SuspendLayout();
            // 
            // panLocked
            // 
            this.panLocked.BackColor = System.Drawing.Color.White;
            this.panLocked.Controls.Add(this.cmdExit);
            this.panLocked.Controls.Add(this.lblPress);
            this.panLocked.Controls.Add(this.lblThisStation);
            this.panLocked.Controls.Add(this.imgIcon);
            this.panLocked.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.panLocked.Location = new System.Drawing.Point(0, 225);
            this.panLocked.Name = "panLocked";
            this.panLocked.Size = new System.Drawing.Size(923, 283);
            this.panLocked.TabIndex = 65;
            this.panLocked.Click += new System.EventHandler(this.panLocked_Click);
            // 
            // cmdExit
            // 
            this.cmdExit.BackColor = System.Drawing.Color.Red;
            this.cmdExit.FlatAppearance.BorderColor = System.Drawing.Color.Lime;
            this.cmdExit.Font = new System.Drawing.Font("Tahoma", 8.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cmdExit.ForeColor = System.Drawing.Color.WhiteSmoke;
            this.cmdExit.GradientBottom = System.Drawing.Color.Maroon;
            this.cmdExit.GradientTop = System.Drawing.Color.Red;
            this.cmdExit.ImageAlign = System.Drawing.ContentAlignment.TopCenter;
            this.cmdExit.Location = new System.Drawing.Point(950, 669);
            this.cmdExit.Name = "cmdExit";
            this.cmdExit.Size = new System.Drawing.Size(65, 40);
            this.cmdExit.TabIndex = 119;
            this.cmdExit.Text = "exit";
            this.cmdExit.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.cmdExit.UseVisualStyleBackColor = false;
            this.cmdExit.Click += new System.EventHandler(this.cmdExit_Click);
            // 
            // lblPress
            // 
            this.lblPress.AutoSize = true;
            this.lblPress.BackColor = System.Drawing.Color.Transparent;
            this.lblPress.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblPress.ForeColor = System.Drawing.Color.DarkRed;
            this.lblPress.Location = new System.Drawing.Point(462, 304);
            this.lblPress.Name = "lblPress";
            this.lblPress.Size = new System.Drawing.Size(325, 11);
            this.lblPress.TabIndex = 16;
            this.lblPress.Text = "Press the RestoPlus logo or tap anywhere to login in the system.";
            // 
            // lblThisStation
            // 
            this.lblThisStation.AutoSize = true;
            this.lblThisStation.BackColor = System.Drawing.Color.Transparent;
            this.lblThisStation.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblThisStation.ForeColor = System.Drawing.Color.DarkRed;
            this.lblThisStation.Location = new System.Drawing.Point(477, 279);
            this.lblThisStation.Name = "lblThisStation";
            this.lblThisStation.Size = new System.Drawing.Size(241, 23);
            this.lblThisStation.TabIndex = 15;
            this.lblThisStation.Text = "NEXT COUNTER PLEASE";
            this.lblThisStation.Click += new System.EventHandler(this.lblThisStation_Click);
            // 
            // imgIcon
            // 
            this.imgIcon.BackColor = System.Drawing.Color.White;
            this.imgIcon.Location = new System.Drawing.Point(236, 176);
            this.imgIcon.Name = "imgIcon";
            this.imgIcon.Size = new System.Drawing.Size(220, 225);
            this.imgIcon.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
            this.imgIcon.TabIndex = 13;
            this.imgIcon.TabStop = false;
            this.imgIcon.Click += new System.EventHandler(this.imgIcon_Click);
            // 
            // grpTop
            // 
            this.grpTop.Controls.Add(this.lblServedBy);
            this.grpTop.Controls.Add(this.lblCustomer);
            this.grpTop.Controls.Add(this.lblTransNo);
            this.grpTop.Controls.Add(this.lblTransactionNoName);
            this.grpTop.Location = new System.Drawing.Point(0, -7);
            this.grpTop.Name = "grpTop";
            this.grpTop.Size = new System.Drawing.Size(1018, 37);
            this.grpTop.TabIndex = 75;
            this.grpTop.TabStop = false;
            // 
            // lblServedBy
            // 
            this.lblServedBy.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.lblServedBy.Font = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblServedBy.ForeColor = System.Drawing.SystemColors.ControlText;
            this.lblServedBy.Location = new System.Drawing.Point(439, 9);
            this.lblServedBy.Name = "lblServedBy";
            this.lblServedBy.Size = new System.Drawing.Size(279, 26);
            this.lblServedBy.TabIndex = 58;
            this.lblServedBy.Text = "RestoPlus ™";
            this.lblServedBy.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.lblServedBy.Click += new System.EventHandler(this.lblServedBy_Click);
            // 
            // lblCustomer
            // 
            this.lblCustomer.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.lblCustomer.Font = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblCustomer.ForeColor = System.Drawing.SystemColors.ControlText;
            this.lblCustomer.Location = new System.Drawing.Point(719, 9);
            this.lblCustomer.Name = "lblCustomer";
            this.lblCustomer.Size = new System.Drawing.Size(295, 26);
            this.lblCustomer.TabIndex = 56;
            this.lblCustomer.Text = "RetailPlus Customer ™";
            this.lblCustomer.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.lblCustomer.Click += new System.EventHandler(this.lblCustomer_Click);
            // 
            // lblTransNo
            // 
            this.lblTransNo.BackColor = System.Drawing.Color.Transparent;
            this.lblTransNo.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.lblTransNo.Font = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblTransNo.ForeColor = System.Drawing.SystemColors.ControlText;
            this.lblTransNo.Location = new System.Drawing.Point(132, 9);
            this.lblTransNo.Name = "lblTransNo";
            this.lblTransNo.Size = new System.Drawing.Size(306, 26);
            this.lblTransNo.TabIndex = 55;
            this.lblTransNo.Text = "READY...";
            this.lblTransNo.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.lblTransNo.Click += new System.EventHandler(this.lblTransNo_Click);
            // 
            // lblTransactionNoName
            // 
            this.lblTransactionNoName.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.lblTransactionNoName.Font = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblTransactionNoName.ForeColor = System.Drawing.SystemColors.ControlText;
            this.lblTransactionNoName.Location = new System.Drawing.Point(2, 9);
            this.lblTransactionNoName.Name = "lblTransactionNoName";
            this.lblTransactionNoName.Size = new System.Drawing.Size(129, 26);
            this.lblTransactionNoName.TabIndex = 54;
            this.lblTransactionNoName.Text = "  Transaction No :";
            this.lblTransactionNoName.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // grpBottom
            // 
            this.grpBottom.Controls.Add(this.lblTerminalNo);
            this.grpBottom.Controls.Add(this.lblTransDate);
            this.grpBottom.Controls.Add(this.lblCashier);
            this.grpBottom.Controls.Add(this.lblAgent);
            this.grpBottom.Controls.Add(this.lblTerminalNoName);
            this.grpBottom.Controls.Add(this.lblCashierName);
            this.grpBottom.Controls.Add(this.lblCompanyName);
            this.grpBottom.Location = new System.Drawing.Point(1, 699);
            this.grpBottom.Name = "grpBottom";
            this.grpBottom.Size = new System.Drawing.Size(1017, 34);
            this.grpBottom.TabIndex = 76;
            this.grpBottom.TabStop = false;
            // 
            // lblTerminalNo
            // 
            this.lblTerminalNo.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.lblTerminalNo.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblTerminalNo.Location = new System.Drawing.Point(810, 9);
            this.lblTerminalNo.Name = "lblTerminalNo";
            this.lblTerminalNo.Size = new System.Drawing.Size(49, 22);
            this.lblTerminalNo.TabIndex = 71;
            this.lblTerminalNo.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // lblTransDate
            // 
            this.lblTransDate.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.lblTransDate.Location = new System.Drawing.Point(859, 9);
            this.lblTransDate.Name = "lblTransDate";
            this.lblTransDate.Size = new System.Drawing.Size(152, 22);
            this.lblTransDate.TabIndex = 70;
            this.lblTransDate.Text = "Jan. 01, 0001 12:00:00 AM";
            this.lblTransDate.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // lblCashier
            // 
            this.lblCashier.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.lblCashier.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblCashier.Location = new System.Drawing.Point(320, 9);
            this.lblCashier.Name = "lblCashier";
            this.lblCashier.Size = new System.Drawing.Size(211, 22);
            this.lblCashier.TabIndex = 69;
            this.lblCashier.Text = "Administrator";
            this.lblCashier.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // lblAgent
            // 
            this.lblAgent.BackColor = System.Drawing.Color.DimGray;
            this.lblAgent.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.lblAgent.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblAgent.ForeColor = System.Drawing.Color.White;
            this.lblAgent.Location = new System.Drawing.Point(637, 9);
            this.lblAgent.Name = "lblAgent";
            this.lblAgent.Size = new System.Drawing.Size(173, 22);
            this.lblAgent.TabIndex = 68;
            this.lblAgent.Text = "  Agent";
            this.lblAgent.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // lblTerminalNoName
            // 
            this.lblTerminalNoName.BackColor = System.Drawing.Color.DimGray;
            this.lblTerminalNoName.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.lblTerminalNoName.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblTerminalNoName.ForeColor = System.Drawing.Color.White;
            this.lblTerminalNoName.Location = new System.Drawing.Point(531, 9);
            this.lblTerminalNoName.Name = "lblTerminalNoName";
            this.lblTerminalNoName.Size = new System.Drawing.Size(105, 22);
            this.lblTerminalNoName.TabIndex = 66;
            this.lblTerminalNoName.Text = "  Terminal No.:";
            this.lblTerminalNoName.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // lblCashierName
            // 
            this.lblCashierName.BackColor = System.Drawing.Color.DimGray;
            this.lblCashierName.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.lblCashierName.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblCashierName.ForeColor = System.Drawing.Color.White;
            this.lblCashierName.Location = new System.Drawing.Point(237, 9);
            this.lblCashierName.Name = "lblCashierName";
            this.lblCashierName.Size = new System.Drawing.Size(82, 22);
            this.lblCashierName.TabIndex = 63;
            this.lblCashierName.Text = "  Cashier : ";
            this.lblCashierName.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // lblCompanyName
            // 
            this.lblCompanyName.BackColor = System.Drawing.Color.SlateGray;
            this.lblCompanyName.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.lblCompanyName.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblCompanyName.ForeColor = System.Drawing.Color.White;
            this.lblCompanyName.Location = new System.Drawing.Point(3, 9);
            this.lblCompanyName.Name = "lblCompanyName";
            this.lblCompanyName.Size = new System.Drawing.Size(233, 22);
            this.lblCompanyName.TabIndex = 62;
            this.lblCompanyName.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.lblCompanyName.Click += new System.EventHandler(this.lblCompanyName_Click);
            // 
            // grptxtBarcode
            // 
            this.grptxtBarcode.BackColor = System.Drawing.Color.White;
            this.grptxtBarcode.Controls.Add(this.label16);
            this.grptxtBarcode.Controls.Add(this.label17);
            this.grptxtBarcode.Controls.Add(this.label18);
            this.grptxtBarcode.Controls.Add(this.label19);
            this.grptxtBarcode.Controls.Add(this.label20);
            this.grptxtBarcode.Controls.Add(this.txtBarCode);
            this.grptxtBarcode.Location = new System.Drawing.Point(8, 640);
            this.grptxtBarcode.Name = "grptxtBarcode";
            this.grptxtBarcode.Size = new System.Drawing.Size(395, 33);
            this.grptxtBarcode.TabIndex = 77;
            this.grptxtBarcode.TabStop = false;
            this.grptxtBarcode.Visible = false;
            // 
            // label16
            // 
            this.label16.BackColor = System.Drawing.SystemColors.Control;
            this.label16.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.label16.Font = new System.Drawing.Font("Arial Narrow", 12.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label16.Location = new System.Drawing.Point(577, 59);
            this.label16.Name = "label16";
            this.label16.Size = new System.Drawing.Size(218, 81);
            this.label16.TabIndex = 62;
            this.label16.Text = "SUBTOTAL: REFUND";
            this.label16.Click += new System.EventHandler(this.lblSubtotalName_Click);
            // 
            // label17
            // 
            this.label17.BackColor = System.Drawing.SystemColors.Control;
            this.label17.Font = new System.Drawing.Font("Tahoma", 7.9F);
            this.label17.ForeColor = System.Drawing.Color.Crimson;
            this.label17.Location = new System.Drawing.Point(686, 121);
            this.label17.Name = "label17";
            this.label17.Size = new System.Drawing.Size(100, 17);
            this.label17.TabIndex = 72;
            this.label17.Text = "Less 10% / 10.00";
            this.label17.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label18
            // 
            this.label18.BackColor = System.Drawing.SystemColors.Control;
            this.label18.Font = new System.Drawing.Font("Arial Narrow", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label18.Location = new System.Drawing.Point(579, 97);
            this.label18.Name = "label18";
            this.label18.Size = new System.Drawing.Size(213, 28);
            this.label18.TabIndex = 64;
            this.label18.Text = "PHP";
            this.label18.Click += new System.EventHandler(this.lblCurrency_Click);
            // 
            // label19
            // 
            this.label19.BackColor = System.Drawing.SystemColors.Control;
            this.label19.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label19.ForeColor = System.Drawing.Color.Red;
            this.label19.Location = new System.Drawing.Point(632, 97);
            this.label19.Name = "label19";
            this.label19.Size = new System.Drawing.Size(159, 28);
            this.label19.TabIndex = 63;
            this.label19.Text = "0.0000000000";
            this.label19.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.label19.Click += new System.EventHandler(this.lblSubTotal_Click);
            // 
            // label20
            // 
            this.label20.BackColor = System.Drawing.SystemColors.Control;
            this.label20.Font = new System.Drawing.Font("Tahoma", 7.9F);
            this.label20.ForeColor = System.Drawing.Color.Crimson;
            this.label20.Location = new System.Drawing.Point(580, 121);
            this.label20.Name = "label20";
            this.label20.Size = new System.Drawing.Size(100, 17);
            this.label20.TabIndex = 78;
            this.label20.Text = "Plus 10% / 10.00";
            this.label20.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // txtBarCode
            // 
            this.txtBarCode.BackColor = System.Drawing.Color.White;
            this.txtBarCode.Enabled = false;
            this.txtBarCode.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtBarCode.ForeColor = System.Drawing.Color.Black;
            this.txtBarCode.Location = new System.Drawing.Point(47, 3);
            this.txtBarCode.Name = "txtBarCode";
            this.txtBarCode.Size = new System.Drawing.Size(348, 30);
            this.txtBarCode.TabIndex = 81;
            // 
            // grpMarquee
            // 
            this.grpMarquee.Controls.Add(this.lblMessage);
            this.grpMarquee.Location = new System.Drawing.Point(1, 669);
            this.grpMarquee.Name = "grpMarquee";
            this.grpMarquee.Size = new System.Drawing.Size(923, 36);
            this.grpMarquee.TabIndex = 82;
            this.grpMarquee.TabStop = false;
            // 
            // lblMessage
            // 
            this.lblMessage.Font = new System.Drawing.Font("Tahoma", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblMessage.ForeColor = System.Drawing.Color.Red;
            this.lblMessage.Location = new System.Drawing.Point(1, 10);
            this.lblMessage.Name = "lblMessage";
            this.lblMessage.Size = new System.Drawing.Size(915, 24);
            this.lblMessage.TabIndex = 80;
            this.lblMessage.Text = " Your suggestive selling message and/or description.  Your suggestive selling mes" +
    "sage and/or    .dasdasdas";
            this.lblMessage.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // tmrRLC
            // 
            this.tmrRLC.Interval = 1;
            this.tmrRLC.Tick += new System.EventHandler(this.tmrRLC_Tick);
            // 
            // grpRLC
            // 
            this.grpRLC.BackColor = System.Drawing.Color.White;
            this.grpRLC.Controls.Add(this.cmdRLCClose);
            this.grpRLC.Controls.Add(this.lblMallForwarderStatus);
            this.grpRLC.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.grpRLC.ForeColor = System.Drawing.Color.Blue;
            this.grpRLC.Location = new System.Drawing.Point(439, 642);
            this.grpRLC.Name = "grpRLC";
            this.grpRLC.Size = new System.Drawing.Size(485, 33);
            this.grpRLC.TabIndex = 97;
            this.grpRLC.TabStop = false;
            // 
            // cmdRLCClose
            // 
            this.cmdRLCClose.AutoSize = true;
            this.cmdRLCClose.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
            this.cmdRLCClose.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.cmdRLCClose.Font = new System.Drawing.Font("Times New Roman", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cmdRLCClose.ForeColor = System.Drawing.Color.White;
            this.cmdRLCClose.Location = new System.Drawing.Point(470, 11);
            this.cmdRLCClose.Name = "cmdRLCClose";
            this.cmdRLCClose.Size = new System.Drawing.Size(39, 18);
            this.cmdRLCClose.TabIndex = 92;
            this.cmdRLCClose.UseVisualStyleBackColor = true;
            this.cmdRLCClose.Click += new System.EventHandler(this.cmdRLCClose_Click);
            // 
            // lblMallForwarderStatus
            // 
            this.lblMallForwarderStatus.AutoSize = true;
            this.lblMallForwarderStatus.BackColor = System.Drawing.Color.Transparent;
            this.lblMallForwarderStatus.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblMallForwarderStatus.ForeColor = System.Drawing.Color.Green;
            this.lblMallForwarderStatus.Location = new System.Drawing.Point(4, 12);
            this.lblMallForwarderStatus.Name = "lblMallForwarderStatus";
            this.lblMallForwarderStatus.Size = new System.Drawing.Size(302, 16);
            this.lblMallForwarderStatus.TabIndex = 91;
            this.lblMallForwarderStatus.Text = "RLC Notification: Trying to send unsent files...";
            // 
            // lblSubTotal
            // 
            this.lblSubTotal.BackColor = System.Drawing.Color.Transparent;
            this.lblSubTotal.Font = new System.Drawing.Font("Arial", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblSubTotal.ForeColor = System.Drawing.Color.Red;
            this.lblSubTotal.Location = new System.Drawing.Point(151, 42);
            this.lblSubTotal.Name = "lblSubTotal";
            this.lblSubTotal.Size = new System.Drawing.Size(280, 28);
            this.lblSubTotal.TabIndex = 63;
            this.lblSubTotal.Text = "0.0000000000";
            this.lblSubTotal.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // lblTransDiscount
            // 
            this.lblTransDiscount.BackColor = System.Drawing.Color.Transparent;
            this.lblTransDiscount.Font = new System.Drawing.Font("Tahoma", 7.9F);
            this.lblTransDiscount.ForeColor = System.Drawing.SystemColors.MenuHighlight;
            this.lblTransDiscount.Location = new System.Drawing.Point(221, 71);
            this.lblTransDiscount.Name = "lblTransDiscount";
            this.lblTransDiscount.Size = new System.Drawing.Size(210, 15);
            this.lblTransDiscount.TabIndex = 72;
            this.lblTransDiscount.Text = "Less 10% / 10.00";
            this.lblTransDiscount.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // lblCurrency
            // 
            this.lblCurrency.BackColor = System.Drawing.Color.Transparent;
            this.lblCurrency.Font = new System.Drawing.Font("Arial Narrow", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblCurrency.ForeColor = System.Drawing.Color.White;
            this.lblCurrency.Location = new System.Drawing.Point(7, 43);
            this.lblCurrency.Name = "lblCurrency";
            this.lblCurrency.Size = new System.Drawing.Size(117, 28);
            this.lblCurrency.TabIndex = 64;
            this.lblCurrency.Text = "PHP";
            // 
            // lblTransCharge
            // 
            this.lblTransCharge.BackColor = System.Drawing.Color.Transparent;
            this.lblTransCharge.Font = new System.Drawing.Font("Tahoma", 7.9F);
            this.lblTransCharge.ForeColor = System.Drawing.SystemColors.MenuHighlight;
            this.lblTransCharge.Location = new System.Drawing.Point(7, 71);
            this.lblTransCharge.Name = "lblTransCharge";
            this.lblTransCharge.Size = new System.Drawing.Size(229, 15);
            this.lblTransCharge.TabIndex = 3;
            this.lblTransCharge.Text = "Plus 10% / 10.00";
            this.lblTransCharge.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // lblOrderType
            // 
            this.lblOrderType.Font = new System.Drawing.Font("Courier New", 15.75F, System.Drawing.FontStyle.Bold);
            this.lblOrderType.ForeColor = System.Drawing.SystemColors.MenuHighlight;
            this.lblOrderType.Location = new System.Drawing.Point(217, 10);
            this.lblOrderType.Name = "lblOrderType";
            this.lblOrderType.Size = new System.Drawing.Size(214, 19);
            this.lblOrderType.TabIndex = 4;
            this.lblOrderType.Text = "DELIVERY";
            this.lblOrderType.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // lblSubtotalName
            // 
            this.lblSubtotalName.AutoSize = true;
            this.lblSubtotalName.BackColor = System.Drawing.Color.Transparent;
            this.lblSubtotalName.Font = new System.Drawing.Font("Courier New", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblSubtotalName.ForeColor = System.Drawing.Color.White;
            this.lblSubtotalName.Location = new System.Drawing.Point(7, 10);
            this.lblSubtotalName.Name = "lblSubtotalName";
            this.lblSubtotalName.Size = new System.Drawing.Size(218, 23);
            this.lblSubtotalName.TabIndex = 1;
            this.lblSubtotalName.Text = "SUBTOTAL: REFUND";
            // 
            // lblOrders
            // 
            this.lblOrders.Anchor = System.Windows.Forms.AnchorStyles.None;
            this.lblOrders.BackColor = System.Drawing.Color.Gold;
            this.lblOrders.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblOrders.ForeColor = System.Drawing.Color.Black;
            this.lblOrders.Location = new System.Drawing.Point(2, 9);
            this.lblOrders.Name = "lblOrders";
            this.lblOrders.Size = new System.Drawing.Size(433, 32);
            this.lblOrders.TabIndex = 111;
            this.lblOrders.Text = "CUSTOMER\'s ORDER";
            this.lblOrders.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.lblOrders.Click += new System.EventHandler(this.lblOrders_Click);
            // 
            // dgStyle
            // 
            this.dgStyle.AllowSorting = false;
            this.dgStyle.AlternatingBackColor = System.Drawing.Color.White;
            this.dgStyle.BackColor = System.Drawing.Color.White;
            this.dgStyle.DataGrid = this.dgItems;
            this.dgStyle.GridLineColor = System.Drawing.Color.Blue;
            this.dgStyle.GridLineStyle = System.Windows.Forms.DataGridLineStyle.None;
            this.dgStyle.HeaderBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(81)))), ((int)(((byte)(153)))));
            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 = 0;
            this.dgStyle.PreferredRowHeight = 50;
            this.dgStyle.ReadOnly = true;
            this.dgStyle.RowHeadersVisible = false;
            this.dgStyle.SelectionBackColor = System.Drawing.Color.RoyalBlue;
            this.dgStyle.SelectionForeColor = System.Drawing.Color.White;
            // 
            // dgItems
            // 
            this.dgItems.AlternatingBackColor = System.Drawing.Color.White;
            this.dgItems.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
            | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.dgItems.BackColor = System.Drawing.Color.White;
            this.dgItems.BackgroundColor = System.Drawing.Color.White;
            this.dgItems.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.dgItems.CaptionBackColor = System.Drawing.Color.White;
            this.dgItems.CaptionForeColor = System.Drawing.Color.Blue;
            this.dgItems.CaptionVisible = false;
            this.dgItems.CausesValidation = false;
            this.dgItems.DataMember = "";
            this.dgItems.FlatMode = true;
            this.dgItems.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.dgItems.GridLineColor = System.Drawing.Color.Blue;
            this.dgItems.HeaderBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(81)))), ((int)(((byte)(153)))));
            this.dgItems.HeaderFont = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.dgItems.HeaderForeColor = System.Drawing.Color.White;
            this.dgItems.Location = new System.Drawing.Point(2, 40);
            this.dgItems.Name = "dgItems";
            this.dgItems.ParentRowsBackColor = System.Drawing.Color.Blue;
            this.dgItems.PreferredRowHeight = 100;
            this.dgItems.ReadOnly = true;
            this.dgItems.RowHeadersVisible = false;
            this.dgItems.RowHeaderWidth = 40;
            this.dgItems.SelectionBackColor = System.Drawing.Color.RoyalBlue;
            this.dgItems.SelectionForeColor = System.Drawing.Color.White;
            this.dgItems.Size = new System.Drawing.Size(433, 388);
            this.dgItems.TabIndex = 49;
            this.dgItems.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
            this.dgStyle});
            this.dgItems.TabStop = false;
            this.dgItems.CurrentCellChanged += new System.EventHandler(this.dgItems_CurrentCellChanged);
            this.dgItems.Click += new System.EventHandler(this.dgItems_Click);
            this.dgItems.GotFocus += new System.EventHandler(this.dgItems_GotFocus);
            this.dgItems.KeyUp += new System.Windows.Forms.KeyEventHandler(this.dgItems_KeyUp);
            this.dgItems.LostFocus += new System.EventHandler(this.dgItems_LostFocus);
            this.dgItems.MouseLeave += new System.EventHandler(this.dgItems_MouseLeave);
            this.dgItems.MouseMove += new System.Windows.Forms.MouseEventHandler(this.dgItems_MouseMove);
            // 
            // Commision
            // 
            this.Commision.Format = "";
            this.Commision.FormatInfo = null;
            this.Commision.MappingName = "Commision";
            this.Commision.NullText = "";
            this.Commision.ReadOnly = true;
            this.Commision.Width = 0;
            // 
            // RewardPoints
            // 
            this.RewardPoints.Format = "";
            this.RewardPoints.FormatInfo = null;
            this.RewardPoints.MappingName = "RewardPoints";
            this.RewardPoints.NullText = "";
            this.RewardPoints.ReadOnly = true;
            this.RewardPoints.Width = 0;
            // 
            // ItemRemarks
            // 
            this.ItemRemarks.Format = "";
            this.ItemRemarks.FormatInfo = null;
            this.ItemRemarks.MappingName = "ItemRemarks";
            this.ItemRemarks.NullText = "";
            this.ItemRemarks.ReadOnly = true;
            this.ItemRemarks.Width = 0;
            // 
            // PercentageCommision
            // 
            this.PercentageCommision.Format = "";
            this.PercentageCommision.FormatInfo = null;
            this.PercentageCommision.MappingName = "PercentageCommision";
            this.PercentageCommision.NullText = "";
            this.PercentageCommision.ReadOnly = true;
            this.PercentageCommision.Width = 0;
            // 
            // OrderSlipPrinted
            // 
            this.OrderSlipPrinted.Format = "";
            this.OrderSlipPrinted.FormatInfo = null;
            this.OrderSlipPrinted.MappingName = "OrderSlipPrinted";
            this.OrderSlipPrinted.NullText = "";
            this.OrderSlipPrinted.ReadOnly = true;
            this.OrderSlipPrinted.Width = 0;
            // 
            // OrderSlipPrinter1
            // 
            this.OrderSlipPrinter1.Format = "";
            this.OrderSlipPrinter1.FormatInfo = null;
            this.OrderSlipPrinter1.MappingName = "OrderSlipPrinter1";
            this.OrderSlipPrinter1.NullText = "";
            this.OrderSlipPrinter1.ReadOnly = true;
            this.OrderSlipPrinter1.Width = 0;
            // 
            // OrderSlipPrinter2
            // 
            this.OrderSlipPrinter2.Format = "";
            this.OrderSlipPrinter2.FormatInfo = null;
            this.OrderSlipPrinter2.MappingName = "OrderSlipPrinter2";
            this.OrderSlipPrinter2.NullText = "";
            this.OrderSlipPrinter2.ReadOnly = true;
            this.OrderSlipPrinter2.Width = 0;
            // 
            // OrderSlipPrinter3
            // 
            this.OrderSlipPrinter3.Format = "";
            this.OrderSlipPrinter3.FormatInfo = null;
            this.OrderSlipPrinter3.MappingName = "OrderSlipPrinter3";
            this.OrderSlipPrinter3.NullText = "";
            this.OrderSlipPrinter3.ReadOnly = true;
            this.OrderSlipPrinter3.Width = 0;
            // 
            // OrderSlipPrinter4
            // 
            this.OrderSlipPrinter4.Format = "";
            this.OrderSlipPrinter4.FormatInfo = null;
            this.OrderSlipPrinter4.MappingName = "OrderSlipPrinter4";
            this.OrderSlipPrinter4.NullText = "";
            this.OrderSlipPrinter4.ReadOnly = true;
            this.OrderSlipPrinter4.Width = 0;
            // 
            // OrderSlipPrinter5
            // 
            this.OrderSlipPrinter5.Format = "";
            this.OrderSlipPrinter5.FormatInfo = null;
            this.OrderSlipPrinter5.MappingName = "OrderSlipPrinter5";
            this.OrderSlipPrinter5.NullText = "";
            this.OrderSlipPrinter5.ReadOnly = true;
            this.OrderSlipPrinter5.Width = 0;
            // 
            // IncludeInSubtotalDiscount
            // 
            this.IncludeInSubtotalDiscount.Format = "";
            this.IncludeInSubtotalDiscount.FormatInfo = null;
            this.IncludeInSubtotalDiscount.MappingName = "IncludeInSubtotalDiscount";
            this.IncludeInSubtotalDiscount.NullText = "";
            this.IncludeInSubtotalDiscount.ReadOnly = true;
            this.IncludeInSubtotalDiscount.Width = 0;
            // 
            // IsCreditChargeExcluded
            // 
            this.IsCreditChargeExcluded.Format = "";
            this.IsCreditChargeExcluded.FormatInfo = null;
            this.IsCreditChargeExcluded.MappingName = "IsCreditChargeExcluded";
            this.IsCreditChargeExcluded.NullText = "";
            this.IsCreditChargeExcluded.ReadOnly = true;
            this.IsCreditChargeExcluded.Width = 0;
            // 
            // PurchaseAmount
            // 
            this.PurchaseAmount.Format = "";
            this.PurchaseAmount.FormatInfo = null;
            this.PurchaseAmount.MappingName = "PurchaseAmount";
            this.PurchaseAmount.NullText = "";
            this.PurchaseAmount.ReadOnly = true;
            this.PurchaseAmount.Width = 0;
            // 
            // PurchasePrice
            // 
            this.PurchasePrice.Format = "";
            this.PurchasePrice.FormatInfo = null;
            this.PurchasePrice.MappingName = "PurchasePrice";
            this.PurchasePrice.NullText = "";
            this.PurchasePrice.ReadOnly = true;
            this.PurchasePrice.Width = 0;
            // 
            // PromoApplied
            // 
            this.PromoApplied.Format = "";
            this.PromoApplied.FormatInfo = null;
            this.PromoApplied.MappingName = "PromoApplied";
            this.PromoApplied.NullText = "";
            this.PromoApplied.ReadOnly = true;
            this.PromoApplied.Width = 0;
            // 
            // PromoType
            // 
            this.PromoType.Format = "";
            this.PromoType.FormatInfo = null;
            this.PromoType.MappingName = "PromoType";
            this.PromoType.NullText = "";
            this.PromoType.ReadOnly = true;
            this.PromoType.Width = 0;
            // 
            // PromoInPercent
            // 
            this.PromoInPercent.Format = "";
            this.PromoInPercent.FormatInfo = null;
            this.PromoInPercent.MappingName = "PromoInPercent";
            this.PromoInPercent.NullText = "0";
            this.PromoInPercent.ReadOnly = true;
            this.PromoInPercent.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 = 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;
            // 
            // PackageQuantity
            // 
            this.PackageQuantity.Format = "";
            this.PackageQuantity.FormatInfo = null;
            this.PackageQuantity.MappingName = "PackageQuantity";
            this.PackageQuantity.NullText = "";
            this.PackageQuantity.ReadOnly = true;
            this.PackageQuantity.Width = 0;
            // 
            // MatrixPackageID
            // 
            this.MatrixPackageID.Format = "";
            this.MatrixPackageID.FormatInfo = null;
            this.MatrixPackageID.MappingName = "MatrixPackageID";
            this.MatrixPackageID.NullText = "";
            this.MatrixPackageID.ReadOnly = true;
            this.MatrixPackageID.Width = 0;
            // 
            // ProductPackageID
            // 
            this.ProductPackageID.Format = "";
            this.ProductPackageID.FormatInfo = null;
            this.ProductPackageID.MappingName = "ProductPackageID";
            this.ProductPackageID.NullText = "";
            this.ProductPackageID.ReadOnly = true;
            this.ProductPackageID.Width = 0;
            // 
            // DiscountRemarks
            // 
            this.DiscountRemarks.Format = "";
            this.DiscountRemarks.FormatInfo = null;
            this.DiscountRemarks.MappingName = "DiscountRemarks";
            this.DiscountRemarks.NullText = "";
            this.DiscountRemarks.ReadOnly = true;
            this.DiscountRemarks.Width = 0;
            // 
            // DiscountCode
            // 
            this.DiscountCode.Format = "";
            this.DiscountCode.FormatInfo = null;
            this.DiscountCode.MappingName = "DiscountCode";
            this.DiscountCode.NullText = "";
            this.DiscountCode.ReadOnly = true;
            this.DiscountCode.Width = 0;
            // 
            // TransactionItemStat
            // 
            this.TransactionItemStat.Format = "";
            this.TransactionItemStat.FormatInfo = null;
            this.TransactionItemStat.MappingName = "TransactionItemStat";
            this.TransactionItemStat.NullText = "";
            this.TransactionItemStat.ReadOnly = true;
            this.TransactionItemStat.Width = 0;
            // 
            // ProductSubGroup
            // 
            this.ProductSubGroup.Format = "";
            this.ProductSubGroup.FormatInfo = null;
            this.ProductSubGroup.MappingName = "ProductSubGroup";
            this.ProductSubGroup.NullText = "";
            this.ProductSubGroup.ReadOnly = true;
            this.ProductSubGroup.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;
            // 
            // MatrixDescription
            // 
            this.MatrixDescription.Format = "";
            this.MatrixDescription.FormatInfo = null;
            this.MatrixDescription.MappingName = "MatrixDescription";
            this.MatrixDescription.NullText = "";
            this.MatrixDescription.ReadOnly = true;
            this.MatrixDescription.Width = 0;
            // 
            // VariationsMatrixID
            // 
            this.VariationsMatrixID.Format = "";
            this.VariationsMatrixID.FormatInfo = null;
            this.VariationsMatrixID.MappingName = "VariationsMatrixID";
            this.VariationsMatrixID.NullText = "";
            this.VariationsMatrixID.ReadOnly = true;
            this.VariationsMatrixID.Width = 0;
            // 
            // LocalTax
            // 
            this.LocalTax.Format = "";
            this.LocalTax.FormatInfo = null;
            this.LocalTax.MappingName = "LocalTax";
            this.LocalTax.NullText = "";
            this.LocalTax.ReadOnly = true;
            this.LocalTax.Width = 0;
            // 
            // EVAT
            // 
            this.EVAT.Format = "";
            this.EVAT.FormatInfo = null;
            this.EVAT.MappingName = "EVAT";
            this.EVAT.NullText = "";
            this.EVAT.ReadOnly = true;
            this.EVAT.Width = 0;
            // 
            // VAT
            // 
            this.VAT.Format = "";
            this.VAT.FormatInfo = null;
            this.VAT.MappingName = "VAT";
            this.VAT.NullText = "";
            this.VAT.ReadOnly = true;
            this.VAT.Width = 0;
            // 
            // Amount
            // 
            this.Amount.Alignment = System.Windows.Forms.HorizontalAlignment.Right;
            this.Amount.Format = "#,##0.#0";
            this.Amount.FormatInfo = null;
            this.Amount.HeaderText = "Amount";
            this.Amount.MappingName = "Amount";
            this.Amount.NullText = "";
            this.Amount.ReadOnly = true;
            this.Amount.Width = 0;
            // 
            // ItemDiscountType
            // 
            this.ItemDiscountType.Alignment = System.Windows.Forms.HorizontalAlignment.Right;
            this.ItemDiscountType.Format = "";
            this.ItemDiscountType.FormatInfo = null;
            this.ItemDiscountType.MappingName = "ItemDiscountType";
            this.ItemDiscountType.NullText = "";
            this.ItemDiscountType.ReadOnly = true;
            this.ItemDiscountType.Width = 0;
            // 
            // ItemDiscount
            // 
            this.ItemDiscount.Alignment = System.Windows.Forms.HorizontalAlignment.Right;
            this.ItemDiscount.Format = "###,##0";
            this.ItemDiscount.FormatInfo = null;
            this.ItemDiscount.MappingName = "ItemDiscount";
            this.ItemDiscount.NullText = "";
            this.ItemDiscount.ReadOnly = true;
            this.ItemDiscount.Width = 0;
            // 
            // Discount
            // 
            this.Discount.Alignment = System.Windows.Forms.HorizontalAlignment.Right;
            this.Discount.Format = "###,##0";
            this.Discount.FormatInfo = null;
            this.Discount.MappingName = "Discount";
            this.Discount.NullText = "";
            this.Discount.ReadOnly = true;
            this.Discount.Width = 0;
            // 
            // Price
            // 
            this.Price.Alignment = System.Windows.Forms.HorizontalAlignment.Right;
            this.Price.Format = "###,##0.#0";
            this.Price.FormatInfo = null;
            this.Price.HeaderText = "Price";
            this.Price.MappingName = "Price";
            this.Price.NullText = "";
            this.Price.ReadOnly = true;
            this.Price.Width = 0;
            // 
            // Quantity
            // 
            this.Quantity.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
            this.Quantity.Format = "###,##0.#0";
            this.Quantity.FormatInfo = null;
            this.Quantity.HeaderText = "Qty";
            this.Quantity.MappingName = "Quantity";
            this.Quantity.NullText = "";
            this.Quantity.ReadOnly = true;
            this.Quantity.Width = 0;
            // 
            // ProductUnitCode
            // 
            this.ProductUnitCode.Format = "";
            this.ProductUnitCode.FormatInfo = null;
            this.ProductUnitCode.MappingName = "ProductUnitCode";
            this.ProductUnitCode.NullText = "";
            this.ProductUnitCode.ReadOnly = true;
            this.ProductUnitCode.Width = 0;
            // 
            // ProductUnitID
            // 
            this.ProductUnitID.Format = "";
            this.ProductUnitID.FormatInfo = null;
            this.ProductUnitID.MappingName = "ProductUnitID";
            this.ProductUnitID.NullText = "";
            this.ProductUnitID.ReadOnly = true;
            this.ProductUnitID.Width = 0;
            // 
            // Description
            // 
            this.Description.Format = "";
            this.Description.FormatInfo = null;
            this.Description.HeaderText = "Description";
            this.Description.MappingName = "Description";
            this.Description.NullText = "";
            this.Description.ReadOnly = true;
            this.Description.Width = 0;
            // 
            // BarCode
            // 
            this.BarCode.Format = "";
            this.BarCode.FormatInfo = null;
            this.BarCode.MappingName = "BarCode";
            this.BarCode.NullText = "";
            this.BarCode.ReadOnly = true;
            this.BarCode.Width = 0;
            // 
            // ProductCode
            // 
            this.ProductCode.Format = "";
            this.ProductCode.FormatInfo = null;
            this.ProductCode.MappingName = "ProductCode";
            this.ProductCode.NullText = "";
            this.ProductCode.ReadOnly = true;
            this.ProductCode.Width = 0;
            // 
            // ProductID
            // 
            this.ProductID.Format = "";
            this.ProductID.FormatInfo = null;
            this.ProductID.MappingName = "ProductID";
            this.ProductID.NullText = "";
            this.ProductID.ReadOnly = true;
            this.ProductID.Width = 0;
            // 
            // ItemNo
            // 
            this.ItemNo.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
            this.ItemNo.Format = "";
            this.ItemNo.FormatInfo = null;
            this.ItemNo.HeaderText = "ItemNo";
            this.ItemNo.MappingName = "ItemNo";
            this.ItemNo.NullText = "";
            this.ItemNo.ReadOnly = true;
            this.ItemNo.Width = 0;
            // 
            // PaxNo
            // 
            this.PaxNo.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
            this.PaxNo.Format = "";
            this.PaxNo.FormatInfo = null;
            this.PaxNo.HeaderText = "PaxNo";
            this.PaxNo.MappingName = "PaxNo";
            this.PaxNo.NullText = "";
            this.PaxNo.ReadOnly = true;
            this.PaxNo.Width = 0;
            // 
            // ReturnTransactionItemsID
            // 
            this.ReturnTransactionItemsID.Format = "";
            this.ReturnTransactionItemsID.FormatInfo = null;
            this.ReturnTransactionItemsID.MappingName = "ReturnTransactionItemsID";
            this.ReturnTransactionItemsID.NullText = "";
            this.ReturnTransactionItemsID.ReadOnly = true;
            this.ReturnTransactionItemsID.Width = 0;
            // 
            // SupplierID
            // 
            this.SupplierID.Format = "";
            this.SupplierID.FormatInfo = null;
            this.SupplierID.MappingName = "SupplierID";
            this.SupplierID.NullText = "";
            this.SupplierID.ReadOnly = true;
            this.SupplierID.Width = 0;
            // 
            // SupplierCode
            // 
            this.SupplierCode.Format = "";
            this.SupplierCode.FormatInfo = null;
            this.SupplierCode.MappingName = "SupplierCode";
            this.SupplierCode.NullText = "";
            this.SupplierCode.ReadOnly = true;
            this.SupplierCode.Width = 0;
            // 
            // SupplierName
            // 
            this.SupplierName.Format = "";
            this.SupplierName.FormatInfo = null;
            this.SupplierName.MappingName = "SupplierName";
            this.SupplierName.NullText = "";
            this.SupplierName.ReadOnly = true;
            this.SupplierName.Width = 0;   
            // 
            // TransactionItemsID
            // 
            this.TransactionItemsID.Format = "";
            this.TransactionItemsID.FormatInfo = null;
            this.TransactionItemsID.MappingName = "TransactionItemsID";
            this.TransactionItemsID.NullText = "";
            this.TransactionItemsID.ReadOnly = true;
            this.TransactionItemsID.Width = 0;
            // 
            // lblAgentPositionDepartment
            // 
            this.lblAgentPositionDepartment.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.lblAgentPositionDepartment.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblAgentPositionDepartment.ForeColor = System.Drawing.Color.White;
            this.lblAgentPositionDepartment.Location = new System.Drawing.Point(86, 559);
            this.lblAgentPositionDepartment.Name = "lblAgentPositionDepartment";
            this.lblAgentPositionDepartment.Size = new System.Drawing.Size(210, 22);
            this.lblAgentPositionDepartment.TabIndex = 123;
            this.lblAgentPositionDepartment.Text = "Administrator";
            this.lblAgentPositionDepartment.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.lblAgentPositionDepartment.Visible = false;
            // 
            // grpSubGroup
            // 
            this.grpSubGroup.BackColor = System.Drawing.Color.Transparent;
            this.grpSubGroup.Controls.Add(this.tblLayoutGroup);
            this.grpSubGroup.Controls.Add(this.cmdSubGroupRight);
            this.grpSubGroup.Controls.Add(this.cmdSubGroupLeft);
            this.grpSubGroup.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.grpSubGroup.ForeColor = System.Drawing.SystemColors.ControlText;
            this.grpSubGroup.Location = new System.Drawing.Point(1, 64);
            this.grpSubGroup.Name = "grpSubGroup";
            this.grpSubGroup.Size = new System.Drawing.Size(923, 95);
            this.grpSubGroup.TabIndex = 53;
            this.grpSubGroup.TabStop = false;
            // 
            // tblLayoutGroup
            // 
            this.tblLayoutGroup.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
            this.tblLayoutGroup.BackColor = System.Drawing.Color.Transparent;
            this.tblLayoutGroup.CausesValidation = false;
            this.tblLayoutGroup.ColumnCount = 7;
            this.tblLayoutGroup.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
            this.tblLayoutGroup.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
            this.tblLayoutGroup.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
            this.tblLayoutGroup.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
            this.tblLayoutGroup.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
            this.tblLayoutGroup.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
            this.tblLayoutGroup.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
            this.tblLayoutGroup.ForeColor = System.Drawing.SystemColors.ControlText;
            this.tblLayoutGroup.Location = new System.Drawing.Point(62, 7);
            this.tblLayoutGroup.Name = "tblLayoutGroup";
            this.tblLayoutGroup.RowCount = 1;
            this.tblLayoutGroup.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
            this.tblLayoutGroup.Size = new System.Drawing.Size(799, 88);
            this.tblLayoutGroup.TabIndex = 115;
            // 
            // cmdSubGroupRight
            // 
            this.cmdSubGroupRight.Anchor = System.Windows.Forms.AnchorStyles.None;
            this.cmdSubGroupRight.BackColor = System.Drawing.Color.Red;
            this.cmdSubGroupRight.FlatAppearance.BorderColor = System.Drawing.Color.Lime;
            this.cmdSubGroupRight.FlatAppearance.BorderSize = 0;
            this.cmdSubGroupRight.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.cmdSubGroupRight.Font = new System.Drawing.Font("Microsoft Sans Serif", 24F);
            this.cmdSubGroupRight.GradientBottom = System.Drawing.Color.Red;
            this.cmdSubGroupRight.GradientTop = System.Drawing.Color.Gold;
            this.cmdSubGroupRight.ImageAlign = System.Drawing.ContentAlignment.TopCenter;
            this.cmdSubGroupRight.Location = new System.Drawing.Point(863, 10);
            this.cmdSubGroupRight.Name = "cmdSubGroupRight";
            this.cmdSubGroupRight.Size = new System.Drawing.Size(57, 82);
            this.cmdSubGroupRight.TabIndex = 102;
            this.cmdSubGroupRight.Text = "}";
            this.cmdSubGroupRight.UseVisualStyleBackColor = false;
            this.cmdSubGroupRight.Visible = false;
            this.cmdSubGroupRight.Click += new System.EventHandler(this.cmdSubGroupRight_Click);
            // 
            // cmdSubGroupLeft
            // 
            this.cmdSubGroupLeft.Anchor = System.Windows.Forms.AnchorStyles.None;
            this.cmdSubGroupLeft.BackColor = System.Drawing.Color.Red;
            this.cmdSubGroupLeft.FlatAppearance.BorderColor = System.Drawing.Color.Lime;
            this.cmdSubGroupLeft.FlatAppearance.BorderSize = 0;
            this.cmdSubGroupLeft.Font = new System.Drawing.Font("Microsoft Sans Serif", 24F);
            this.cmdSubGroupLeft.GradientBottom = System.Drawing.Color.Red;
            this.cmdSubGroupLeft.GradientTop = System.Drawing.Color.Gold;
            this.cmdSubGroupLeft.ImageAlign = System.Drawing.ContentAlignment.TopCenter;
            this.cmdSubGroupLeft.Location = new System.Drawing.Point(3, 10);
            this.cmdSubGroupLeft.Name = "cmdSubGroupLeft";
            this.cmdSubGroupLeft.Size = new System.Drawing.Size(57, 82);
            this.cmdSubGroupLeft.TabIndex = 114;
            this.cmdSubGroupLeft.Text = "{";
            this.cmdSubGroupLeft.UseVisualStyleBackColor = false;
            this.cmdSubGroupLeft.Visible = false;
            this.cmdSubGroupLeft.Click += new System.EventHandler(this.cmdSubGroupLeft_Click);
            // 
            // cmdPaxAdd
            // 
            this.cmdPaxAdd.Anchor = System.Windows.Forms.AnchorStyles.None;
            this.cmdPaxAdd.AutoEllipsis = true;
            this.cmdPaxAdd.BackColor = System.Drawing.Color.Gold;
            this.cmdPaxAdd.FlatAppearance.BorderColor = System.Drawing.Color.Lime;
            this.cmdPaxAdd.FlatAppearance.BorderSize = 0;
            this.cmdPaxAdd.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Lime;
            this.cmdPaxAdd.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Lime;
            this.cmdPaxAdd.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cmdPaxAdd.ImageAlign = System.Drawing.ContentAlignment.TopCenter;
            this.cmdPaxAdd.Location = new System.Drawing.Point(4, 11);
            this.cmdPaxAdd.Name = "cmdPaxAdd";
            this.cmdPaxAdd.Size = new System.Drawing.Size(50, 28);
            this.cmdPaxAdd.TabIndex = 125;
            this.cmdPaxAdd.Text = "+";
            this.cmdPaxAdd.UseVisualStyleBackColor = false;
            this.cmdPaxAdd.Click += new System.EventHandler(this.cmdPaxAdd_Click);
            // 
            // cmdPaxDeduct
            // 
            this.cmdPaxDeduct.Anchor = System.Windows.Forms.AnchorStyles.None;
            this.cmdPaxDeduct.AutoEllipsis = true;
            this.cmdPaxDeduct.BackColor = System.Drawing.Color.Gold;
            this.cmdPaxDeduct.FlatAppearance.BorderColor = System.Drawing.Color.Lime;
            this.cmdPaxDeduct.FlatAppearance.BorderSize = 0;
            this.cmdPaxDeduct.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Lime;
            this.cmdPaxDeduct.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Lime;
            this.cmdPaxDeduct.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cmdPaxDeduct.ImageAlign = System.Drawing.ContentAlignment.TopCenter;
            this.cmdPaxDeduct.Location = new System.Drawing.Point(381, 11);
            this.cmdPaxDeduct.Name = "cmdPaxDeduct";
            this.cmdPaxDeduct.Size = new System.Drawing.Size(50, 28);
            this.cmdPaxDeduct.TabIndex = 126;
            this.cmdPaxDeduct.Text = "-";
            this.cmdPaxDeduct.UseVisualStyleBackColor = false;
            this.cmdPaxDeduct.Click += new System.EventHandler(this.cmdPaxDeduct_Click);
            // 
            // panSubTotal
            // 
            this.panSubTotal.BackColor = System.Drawing.Color.Maroon;
            this.panSubTotal.Controls.Add(this.lblSubtotalName);
            this.panSubTotal.Controls.Add(this.lblSubTotal);
            this.panSubTotal.Controls.Add(this.lblTransDiscount);
            this.panSubTotal.Controls.Add(this.lblTransCharge);
            this.panSubTotal.Controls.Add(this.lblCurrency);
            this.panSubTotal.Controls.Add(this.lblOrderType);
            this.panSubTotal.Location = new System.Drawing.Point(1, 581);
            this.panSubTotal.Name = "panSubTotal";
            this.panSubTotal.Size = new System.Drawing.Size(437, 94);
            this.panSubTotal.TabIndex = 128;
            this.panSubTotal.TabStop = false;
            // 
            // grpItems
            // 
            this.grpItems.BackColor = System.Drawing.Color.Transparent;
            this.grpItems.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
            this.grpItems.Controls.Add(this.cmdProductRight);
            this.grpItems.Controls.Add(this.cmdProductLeft);
            this.grpItems.Controls.Add(this.lblItems);
            this.grpItems.Controls.Add(this.tblLayoutProducts);
            this.grpItems.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.grpItems.ForeColor = System.Drawing.Color.YellowGreen;
            this.grpItems.Location = new System.Drawing.Point(439, 153);
            this.grpItems.Name = "grpItems";
            this.grpItems.Size = new System.Drawing.Size(485, 521);
            this.grpItems.TabIndex = 52;
            this.grpItems.TabStop = false;
            // 
            // cmdProductRight
            // 
            this.cmdProductRight.Anchor = System.Windows.Forms.AnchorStyles.None;
            this.cmdProductRight.BackColor = System.Drawing.Color.Gold;
            this.cmdProductRight.FlatAppearance.BorderColor = System.Drawing.Color.Lime;
            this.cmdProductRight.FlatAppearance.BorderSize = 0;
            this.cmdProductRight.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Lime;
            this.cmdProductRight.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Lime;
            this.cmdProductRight.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cmdProductRight.ImageAlign = System.Drawing.ContentAlignment.TopCenter;
            this.cmdProductRight.Location = new System.Drawing.Point(429, 11);
            this.cmdProductRight.Name = "cmdProductRight";
            this.cmdProductRight.Size = new System.Drawing.Size(50, 28);
            this.cmdProductRight.TabIndex = 127;
            this.cmdProductRight.Text = ">";
            this.cmdProductRight.UseVisualStyleBackColor = false;
            this.cmdProductRight.Click += new System.EventHandler(this.cmdProductRight_Click);
            // 
            // cmdProductLeft
            // 
            this.cmdProductLeft.Anchor = System.Windows.Forms.AnchorStyles.None;
            this.cmdProductLeft.AutoEllipsis = true;
            this.cmdProductLeft.BackColor = System.Drawing.Color.Gold;
            this.cmdProductLeft.FlatAppearance.BorderColor = System.Drawing.Color.Lime;
            this.cmdProductLeft.FlatAppearance.BorderSize = 0;
            this.cmdProductLeft.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Lime;
            this.cmdProductLeft.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Lime;
            this.cmdProductLeft.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cmdProductLeft.ImageAlign = System.Drawing.ContentAlignment.TopCenter;
            this.cmdProductLeft.Location = new System.Drawing.Point(5, 11);
            this.cmdProductLeft.Name = "cmdProductLeft";
            this.cmdProductLeft.Size = new System.Drawing.Size(50, 28);
            this.cmdProductLeft.TabIndex = 125;
            this.cmdProductLeft.Text = "<";
            this.cmdProductLeft.UseVisualStyleBackColor = false;
            this.cmdProductLeft.Click += new System.EventHandler(this.cmdProductLeft_Click);
            // 
            // lblItems
            // 
            this.lblItems.Anchor = System.Windows.Forms.AnchorStyles.None;
            this.lblItems.BackColor = System.Drawing.Color.Gold;
            this.lblItems.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblItems.ForeColor = System.Drawing.Color.Black;
            this.lblItems.Location = new System.Drawing.Point(2, 9);
            this.lblItems.Name = "lblItems";
            this.lblItems.Size = new System.Drawing.Size(480, 32);
            this.lblItems.TabIndex = 126;
            this.lblItems.Text = "ITEMS";
            this.lblItems.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // tblLayoutProducts
            // 
            this.tblLayoutProducts.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
            this.tblLayoutProducts.BackColor = System.Drawing.Color.Transparent;
            this.tblLayoutProducts.CausesValidation = false;
            this.tblLayoutProducts.ColumnCount = 4;
            this.tblLayoutProducts.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F));
            this.tblLayoutProducts.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F));
            this.tblLayoutProducts.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F));
            this.tblLayoutProducts.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F));
            this.tblLayoutProducts.ForeColor = System.Drawing.SystemColors.ControlText;
            this.tblLayoutProducts.Location = new System.Drawing.Point(0, 47);
            this.tblLayoutProducts.Name = "tblLayoutProducts";
            this.tblLayoutProducts.RowCount = 5;
            this.tblLayoutProducts.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20F));
            this.tblLayoutProducts.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20F));
            this.tblLayoutProducts.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20F));
            this.tblLayoutProducts.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20F));
            this.tblLayoutProducts.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20F));
            this.tblLayoutProducts.Size = new System.Drawing.Size(484, 475);
            this.tblLayoutProducts.TabIndex = 101;
            // 
            // groupBox1
            // 
            this.groupBox1.BackColor = System.Drawing.Color.Transparent;
            this.groupBox1.Controls.Add(this.lblMenu);
            this.groupBox1.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.groupBox1.ForeColor = System.Drawing.SystemColors.ControlText;
            this.groupBox1.Location = new System.Drawing.Point(1, 24);
            this.groupBox1.Name = "groupBox1";
            this.groupBox1.Size = new System.Drawing.Size(923, 46);
            this.groupBox1.TabIndex = 130;
            this.groupBox1.TabStop = false;
            // 
            // lblMenu
            // 
            this.lblMenu.BackColor = System.Drawing.Color.Gold;
            this.lblMenu.Font = new System.Drawing.Font("Tahoma", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblMenu.ForeColor = System.Drawing.Color.Black;
            this.lblMenu.Location = new System.Drawing.Point(3, 9);
            this.lblMenu.Name = "lblMenu";
            this.lblMenu.Size = new System.Drawing.Size(916, 34);
            this.lblMenu.TabIndex = 130;
            this.lblMenu.Text = "M  E  N  U";
            this.lblMenu.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // groupBox2
            // 
            this.groupBox2.BackColor = System.Drawing.Color.White;
            this.groupBox2.Controls.Add(this.cmdPaxDeduct);
            this.groupBox2.Controls.Add(this.cmdPaxAdd);
            this.groupBox2.Controls.Add(this.lblOrders);
            this.groupBox2.Controls.Add(this.dgItems);
            this.groupBox2.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.groupBox2.ForeColor = System.Drawing.SystemColors.ControlText;
            this.groupBox2.Location = new System.Drawing.Point(1, 153);
            this.groupBox2.Name = "groupBox2";
            this.groupBox2.Size = new System.Drawing.Size(437, 434);
            this.groupBox2.TabIndex = 131;
            this.groupBox2.TabStop = false;
            // 
            // cmd11
            // 
            this.cmd11.BackColor = System.Drawing.Color.Transparent;
            this.cmd11.Enabled = false;
            this.cmd11.FlatAppearance.BorderColor = System.Drawing.Color.Lime;
            this.cmd11.Font = new System.Drawing.Font("Tahoma", 9.75F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))));
            this.cmd11.GradientBottom = System.Drawing.Color.DarkGreen;
            this.cmd11.GradientTop = System.Drawing.Color.GreenYellow;
            this.cmd11.ImageAlign = System.Drawing.ContentAlignment.TopCenter;
            this.cmd11.Location = new System.Drawing.Point(926, 583);
            this.cmd11.Name = "cmd11";
            this.cmd11.Size = new System.Drawing.Size(92, 91);
            this.cmd11.TabIndex = 122;
            this.cmd11.Text = "pay order";
            this.cmd11.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.cmd11.UseVisualStyleBackColor = false;
            this.cmd11.Click += new System.EventHandler(this.cmd11_Click);
            // 
            // cmd10
            // 
            this.cmd10.BackColor = System.Drawing.Color.Transparent;
            this.cmd10.Enabled = false;
            this.cmd10.FlatAppearance.BorderColor = System.Drawing.Color.Lime;
            this.cmd10.Font = new System.Drawing.Font("Tahoma", 9.75F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))));
            this.cmd10.GradientBottom = System.Drawing.Color.DarkGreen;
            this.cmd10.GradientTop = System.Drawing.Color.GreenYellow;
            this.cmd10.ImageAlign = System.Drawing.ContentAlignment.TopCenter;
            this.cmd10.Location = new System.Drawing.Point(926, 532);
            this.cmd10.Name = "cmd10";
            this.cmd10.Size = new System.Drawing.Size(92, 51);
            this.cmd10.TabIndex = 121;
            this.cmd10.Text = "split\r\ntransaction";
            this.cmd10.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.cmd10.UseVisualStyleBackColor = false;
            this.cmd10.Click += new System.EventHandler(this.cmd10_Click);
            // 
            // cmd7
            // 
            this.cmd7.BackColor = System.Drawing.Color.Transparent;
            this.cmd7.Enabled = false;
            this.cmd7.FlatAppearance.BorderColor = System.Drawing.Color.Lime;
            this.cmd7.Font = new System.Drawing.Font("Tahoma", 8.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))));
            this.cmd7.GradientBottom = System.Drawing.Color.DarkGreen;
            this.cmd7.GradientTop = System.Drawing.Color.GreenYellow;
            this.cmd7.ImageAlign = System.Drawing.ContentAlignment.TopCenter;
            this.cmd7.Location = new System.Drawing.Point(926, 377);
            this.cmd7.Name = "cmd7";
            this.cmd7.Size = new System.Drawing.Size(92, 51);
            this.cmd7.TabIndex = 120;
            this.cmd7.Text = "check-in table";
            this.cmd7.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.cmd7.UseVisualStyleBackColor = false;
            this.cmd7.Click += new System.EventHandler(this.cmd7_Click);
            // 
            // cmd9
            // 
            this.cmd9.BackColor = System.Drawing.Color.Transparent;
            this.cmd9.Enabled = false;
            this.cmd9.FlatAppearance.BorderColor = System.Drawing.Color.Lime;
            this.cmd9.Font = new System.Drawing.Font("Tahoma", 9.75F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))));
            this.cmd9.GradientBottom = System.Drawing.Color.DarkGreen;
            this.cmd9.GradientTop = System.Drawing.Color.GreenYellow;
            this.cmd9.ImageAlign = System.Drawing.ContentAlignment.TopCenter;
            this.cmd9.Location = new System.Drawing.Point(926, 481);
            this.cmd9.Name = "cmd9";
            this.cmd9.Size = new System.Drawing.Size(92, 51);
            this.cmd9.TabIndex = 119;
            this.cmd9.Text = "discount";
            this.cmd9.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.cmd9.UseVisualStyleBackColor = false;
            this.cmd9.Click += new System.EventHandler(this.cmd9_Click);
            // 
            // cmd8
            // 
            this.cmd8.BackColor = System.Drawing.Color.Transparent;
            this.cmd8.Enabled = false;
            this.cmd8.FlatAppearance.BorderColor = System.Drawing.Color.Lime;
            this.cmd8.Font = new System.Drawing.Font("Tahoma", 8.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cmd8.GradientBottom = System.Drawing.Color.DarkGreen;
            this.cmd8.GradientTop = System.Drawing.Color.GreenYellow;
            this.cmd8.ImageAlign = System.Drawing.ContentAlignment.TopCenter;
            this.cmd8.Location = new System.Drawing.Point(926, 429);
            this.cmd8.Name = "cmd8";
            this.cmd8.Size = new System.Drawing.Size(92, 51);
            this.cmd8.TabIndex = 118;
            this.cmd8.Text = "check-out bill";
            this.cmd8.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.cmd8.UseVisualStyleBackColor = false;
            this.cmd8.Click += new System.EventHandler(this.cmd8_Click);
            // 
            // cmd6
            // 
            this.cmd6.BackColor = System.Drawing.Color.Transparent;
            this.cmd6.Enabled = false;
            this.cmd6.FlatAppearance.BorderColor = System.Drawing.Color.Lime;
            this.cmd6.Font = new System.Drawing.Font("Tahoma", 9.75F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))));
            this.cmd6.GradientBottom = System.Drawing.Color.DarkGreen;
            this.cmd6.GradientTop = System.Drawing.Color.GreenYellow;
            this.cmd6.ImageAlign = System.Drawing.ContentAlignment.TopCenter;
            this.cmd6.Location = new System.Drawing.Point(926, 327);
            this.cmd6.Name = "cmd6";
            this.cmd6.Size = new System.Drawing.Size(92, 51);
            this.cmd6.TabIndex = 117;
            this.cmd6.Text = "reports";
            this.cmd6.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.cmd6.UseVisualStyleBackColor = false;
            this.cmd6.Click += new System.EventHandler(this.cmd6_Click);
            // 
            // cmd1
            // 
            this.cmd1.BackColor = System.Drawing.Color.Transparent;
            this.cmd1.Enabled = false;
            this.cmd1.FlatAppearance.BorderColor = System.Drawing.Color.Lime;
            this.cmd1.Font = new System.Drawing.Font("Tahoma", 9.75F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cmd1.GradientBottom = System.Drawing.Color.DarkGreen;
            this.cmd1.GradientTop = System.Drawing.Color.GreenYellow;
            this.cmd1.ImageAlign = System.Drawing.ContentAlignment.TopCenter;
            this.cmd1.Location = new System.Drawing.Point(926, 31);
            this.cmd1.Name = "cmd1";
            this.cmd1.Size = new System.Drawing.Size(92, 92);
            this.cmd1.TabIndex = 109;
            this.cmd1.Text = "table";
            this.cmd1.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.cmd1.UseVisualStyleBackColor = false;
            this.cmd1.Click += new System.EventHandler(this.cmd1_Click);
            // 
            // cmd2
            // 
            this.cmd2.BackColor = System.Drawing.Color.Transparent;
            this.cmd2.Enabled = false;
            this.cmd2.FlatAppearance.BorderColor = System.Drawing.Color.Lime;
            this.cmd2.Font = new System.Drawing.Font("Tahoma", 8.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cmd2.GradientBottom = System.Drawing.Color.DarkGreen;
            this.cmd2.GradientTop = System.Drawing.Color.GreenYellow;
            this.cmd2.ImageAlign = System.Drawing.ContentAlignment.TopCenter;
            this.cmd2.Location = new System.Drawing.Point(926, 123);
            this.cmd2.Name = "cmd2";
            this.cmd2.Size = new System.Drawing.Size(92, 51);
            this.cmd2.TabIndex = 113;
            this.cmd2.Text = "suspend";
            this.cmd2.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.cmd2.UseVisualStyleBackColor = false;
            this.cmd2.Click += new System.EventHandler(this.cmd2_Click);
            // 
            // cmd3
            // 
            this.cmd3.BackColor = System.Drawing.Color.Transparent;
            this.cmd3.Enabled = false;
            this.cmd3.FlatAppearance.BorderColor = System.Drawing.Color.Lime;
            this.cmd3.Font = new System.Drawing.Font("Tahoma", 8.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))));
            this.cmd3.GradientBottom = System.Drawing.Color.DarkGreen;
            this.cmd3.GradientTop = System.Drawing.Color.GreenYellow;
            this.cmd3.ImageAlign = System.Drawing.ContentAlignment.TopCenter;
            this.cmd3.Location = new System.Drawing.Point(926, 174);
            this.cmd3.Name = "cmd3";
            this.cmd3.Size = new System.Drawing.Size(92, 51);
            this.cmd3.TabIndex = 114;
            this.cmd3.Text = "void";
            this.cmd3.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.cmd3.UseVisualStyleBackColor = false;
            this.cmd3.Click += new System.EventHandler(this.cmd3_Click);
            // 
            // cmd4
            // 
            this.cmd4.BackColor = System.Drawing.Color.Transparent;
            this.cmd4.Enabled = false;
            this.cmd4.FlatAppearance.BorderColor = System.Drawing.Color.Lime;
            this.cmd4.Font = new System.Drawing.Font("Tahoma", 8.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))));
            this.cmd4.GradientBottom = System.Drawing.Color.DarkGreen;
            this.cmd4.GradientTop = System.Drawing.Color.GreenYellow;
            this.cmd4.ImageAlign = System.Drawing.ContentAlignment.TopCenter;
            this.cmd4.Location = new System.Drawing.Point(926, 225);
            this.cmd4.Name = "cmd4";
            this.cmd4.Size = new System.Drawing.Size(92, 51);
            this.cmd4.TabIndex = 115;
            this.cmd4.Text = "dine-in\r\ntake-out\r\ndelivery";
            this.cmd4.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.cmd4.UseVisualStyleBackColor = false;
            this.cmd4.Click += new System.EventHandler(this.cmd4_Click);
            // 
            // cmd5
            // 
            this.cmd5.BackColor = System.Drawing.Color.Transparent;
            this.cmd5.Enabled = false;
            this.cmd5.FlatAppearance.BorderColor = System.Drawing.Color.Lime;
            this.cmd5.Font = new System.Drawing.Font("Tahoma", 8.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cmd5.GradientBottom = System.Drawing.Color.DarkGreen;
            this.cmd5.GradientTop = System.Drawing.Color.GreenYellow;
            this.cmd5.ImageAlign = System.Drawing.ContentAlignment.TopCenter;
            this.cmd5.Location = new System.Drawing.Point(926, 276);
            this.cmd5.Name = "cmd5";
            this.cmd5.Size = new System.Drawing.Size(92, 51);
            this.cmd5.TabIndex = 116;
            this.cmd5.Text = "other\r\ncommands";
            this.cmd5.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.cmd5.UseVisualStyleBackColor = false;
            this.cmd5.Click += new System.EventHandler(this.cmd5_Click);
            // 
            // cmd12
            // 
            this.cmd12.BackColor = System.Drawing.Color.Transparent;
            this.cmd12.Enabled = false;
            this.cmd12.FlatAppearance.BorderColor = System.Drawing.Color.Lime;
            this.cmd12.Font = new System.Drawing.Font("Tahoma", 9.75F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))));
            this.cmd12.GradientBottom = System.Drawing.Color.DarkGreen;
            this.cmd12.GradientTop = System.Drawing.Color.GreenYellow;
            this.cmd12.ImageAlign = System.Drawing.ContentAlignment.TopCenter;
            this.cmd12.Location = new System.Drawing.Point(926, 675);
            this.cmd12.Name = "cmd12";
            this.cmd12.Size = new System.Drawing.Size(92, 30);
            this.cmd12.TabIndex = 132;
            this.cmd12.Text = "logout";
            this.cmd12.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.cmd12.UseVisualStyleBackColor = false;
            this.cmd12.Click += new System.EventHandler(this.cmd12_Click);
            // 
            // MainRestoWnd
            // 
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 14);
            this.BackColor = System.Drawing.Color.White;
            this.ClientSize = new System.Drawing.Size(1019, 744);
            this.ControlBox = false;
            this.Controls.Add(this.panLocked);
            this.Controls.Add(this.lblAgentPositionDepartment);
            this.Controls.Add(this.cmd11);
            this.Controls.Add(this.cmd10);
            this.Controls.Add(this.cmd7);
            this.Controls.Add(this.cmd9);
            this.Controls.Add(this.cmd8);
            this.Controls.Add(this.cmd6);
            this.Controls.Add(this.cmd1);
            this.Controls.Add(this.grpTop);
            this.Controls.Add(this.groupBox1);
            this.Controls.Add(this.grpSubGroup);
            this.Controls.Add(this.grpItems);
            this.Controls.Add(this.grpRLC);
            this.Controls.Add(this.groupBox2);
            this.Controls.Add(this.panSubTotal);
            this.Controls.Add(this.grptxtBarcode);
            this.Controls.Add(this.grpMarquee);
            this.Controls.Add(this.cmd2);
            this.Controls.Add(this.cmd3);
            this.Controls.Add(this.cmd4);
            this.Controls.Add(this.cmd5);
            this.Controls.Add(this.cmd12);
            this.Controls.Add(this.grpBottom);
            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.FixedToolWindow;
            this.HelpButton = true;
            this.KeyPreview = true;
            this.MaximizeBox = false;
            this.Name = "MainRestoWnd";
            this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Activated += new System.EventHandler(this.MainRestoWnd_Activated);
            this.Closing += new System.ComponentModel.CancelEventHandler(this.MainRestoWnd_Closing);
            this.Load += new System.EventHandler(this.MainRestoWnd_Load);
            this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.MainRestoWnd_KeyDown);
            this.panLocked.ResumeLayout(false);
            this.panLocked.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.imgIcon)).EndInit();
            this.grpTop.ResumeLayout(false);
            this.grpBottom.ResumeLayout(false);
            this.grptxtBarcode.ResumeLayout(false);
            this.grptxtBarcode.PerformLayout();
            this.grpMarquee.ResumeLayout(false);
            this.grpRLC.ResumeLayout(false);
            this.grpRLC.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.dgItems)).EndInit();
            this.grpSubGroup.ResumeLayout(false);
            this.panSubTotal.ResumeLayout(false);
            this.panSubTotal.PerformLayout();
            this.grpItems.ResumeLayout(false);
            this.groupBox1.ResumeLayout(false);
            this.groupBox2.ResumeLayout(false);
            this.ResumeLayout(false);

		}
Esempio n. 2
0
		private void LoadProductSubGroups(System.Data.SqlClient.SortOrder SequenceSortOrder)
		{
			try
			{
				tblLayoutGroup.Controls.Clear();
				if (mboLocked) return;

				Int64 intSequenceNoStart = 0;

				if (SequenceSortOrder == System.Data.SqlClient.SortOrder.Descending)
					try { intSequenceNoStart = long.Parse(cmdSubGroupLeft.Tag.ToString()); }
					catch { }
				else
					try { intSequenceNoStart = long.Parse(cmdSubGroupRight.Tag.ToString()); }
					catch { }

                // Sep 24, 2014 put an override if cmdSubGroupLeft.Tag = 0
                // always do an asceding coz its already the end.
                if (intSequenceNoStart < Constants.C_RESTOPLUS_MAX_SUB_GROUP) intSequenceNoStart = 0; //reset to 0 if it's 1
                if (intSequenceNoStart == 0) SequenceSortOrder = System.Data.SqlClient.SortOrder.Ascending;

				ProductSubGroupColumns clsProductSubGroupColumns = new ProductSubGroupColumns();
				clsProductSubGroupColumns.ProductSubGroupCode = true;
				clsProductSubGroupColumns.SequenceNo = true;

				ProductSubGroup clsProductSubGroup = new ProductSubGroup(mConnection, mTransaction);
                System.Data.DataTable dtProductSubGroup = clsProductSubGroup.ListAsDataTable(clsProductSubGroupColumns, new ProductSubGroupDetails(), intSequenceNoStart, SequenceSortOrder, "SequenceNo", SequenceSortOrder, SequenceSortOrder == System.Data.SqlClient.SortOrder.Descending ? Constants.C_RESTOPLUS_MAX_SUB_GROUP : Constants.C_RESTOPLUS_MAX_SUB_GROUP + 1);
				clsProductSubGroup.CommitAndDispose();

                // re-order the products by sequence no
                if (dtProductSubGroup.Rows.Count > 0)
                {
                    System.Data.DataView dv = dtProductSubGroup.DefaultView;
                    dv.Sort = "SequenceNo";
                    dtProductSubGroup = dv.ToTable();
                }

				int iRow = 0;
				int iCol = 0;
				int iCtr = 1;

				if (dtProductSubGroup.Rows.Count == 0)
				{
					cmdSubGroupLeft.Tag = "0".ToString(); // reset the sequenceno to 0 if no record
					cmdSubGroupRight.Tag = "0".ToString(); // reset the sequenceno to 0 if no record
				}
				foreach (System.Data.DataRow dr in dtProductSubGroup.Rows)
				{
					if (iCtr > Constants.C_RESTOPLUS_MAX_SUB_GROUP) break;

                    if (iCtr == 1) cmdSubGroupLeft.Tag = dr[Data.ProductSubGroupColumnNames.SequenceNo].ToString();
                    if (iCtr >= 1 && dtProductSubGroup.Rows.Count > Constants.C_RESTOPLUS_MAX_SUB_GROUP) cmdSubGroupRight.Tag = dr[Data.ProductSubGroupColumnNames.SequenceNo].ToString();

					SubGroupButton cmdSubGroup = new SubGroupButton();

					cmdSubGroup.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
					cmdSubGroup.BackColor = System.Drawing.Color.Red;
					cmdSubGroup.Dock = System.Windows.Forms.DockStyle.Fill;
					cmdSubGroup.FlatAppearance.BorderColor = System.Drawing.Color.Gold;
					cmdSubGroup.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
					cmdSubGroup.ForeColor = System.Drawing.SystemColors.ControlText;
					cmdSubGroup.GradientBottom = System.Drawing.Color.Red;
					cmdSubGroup.GradientTop = System.Drawing.Color.Gold;
					cmdSubGroup.ImageAlign = System.Drawing.ContentAlignment.TopCenter;
					cmdSubGroup.Location = new System.Drawing.Point(3, 3);
					cmdSubGroup.Size = new System.Drawing.Size(110, 82);
					cmdSubGroup.TabIndex = iCtr-1;
					cmdSubGroup.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
					cmdSubGroup.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
					cmdSubGroup.UseVisualStyleBackColor = false;

					cmdSubGroup.Name = "cmdSubGroup" + iCtr.ToString();
					cmdSubGroup.Text = dr[Data.ProductSubGroupColumnNames.ProductSubGroupCode].ToString();
					cmdSubGroup.Tag = dr[Data.ProductSubGroupColumnNames.ProductSubGroupID].ToString();
					cmdSubGroup.Click += new System.EventHandler(cmdSubGroup_Click);

                    if (!string.IsNullOrEmpty(dr[Data.ProductSubGroupColumnNames.ImagePath].ToString()))
                    {
                        try { cmdSubGroup.Image = new Bitmap(Application.StartupPath + "/images/subgroups/" + dr[Data.ProductSubGroupColumnNames.ImagePath].ToString()); }
					    catch { }
                    }
                    
					tblLayoutGroup.Controls.Add(cmdSubGroup, iCol, iRow);

					iCol++; iCtr++;
				}
			}
			catch { }
		}