/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.txtSearch = new System.Windows.Forms.TextBox(); this.lblHeader = new System.Windows.Forms.Label(); this.dgItems = new System.Windows.Forms.DataGrid(); this.dgStyle = new System.Windows.Forms.DataGridTableStyle(); this.PackageID = new System.Windows.Forms.DataGridTextBoxColumn(); this.ProductID = new System.Windows.Forms.DataGridTextBoxColumn(); this.MatrixID = new System.Windows.Forms.DataGridTextBoxColumn(); this.BarCode = new System.Windows.Forms.DataGridTextBoxColumn(); this.ProductCode = new System.Windows.Forms.DataGridTextBoxColumn(); this.ProductDesc = new System.Windows.Forms.DataGridTextBoxColumn(); this.MatrixDescription = new System.Windows.Forms.DataGridTextBoxColumn(); this.ProductGroup = new System.Windows.Forms.DataGridTextBoxColumn(); this.ProductSubGroup = new System.Windows.Forms.DataGridTextBoxColumn(); this.ProductUnitID = new System.Windows.Forms.DataGridTextBoxColumn(); this.ProductUnitName = new System.Windows.Forms.DataGridTextBoxColumn(); this.Price = new System.Windows.Forms.DataGridTextBoxColumn(); this.VAT = new System.Windows.Forms.DataGridTextBoxColumn(); this.LocalTax = new System.Windows.Forms.DataGridTextBoxColumn(); this.Quantity = new AceSoft.RetailPlus.Client.UI.DataGridQuantityTextBoxColumn(); this.MinThreshold = new System.Windows.Forms.DataGridTextBoxColumn(); this.imgIcon = new System.Windows.Forms.PictureBox(); this.tmrSearch = new System.Windows.Forms.Timer(this.components); this.lblProductCode = new System.Windows.Forms.Label(); this.lblProductQuantity = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.dgItems)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.imgIcon)).BeginInit(); this.SuspendLayout(); // // txtSearch // this.txtSearch.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.txtSearch.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtSearch.Location = new System.Drawing.Point(67, 27); this.txtSearch.Name = "txtSearch"; this.txtSearch.Size = new System.Drawing.Size(298, 23); this.txtSearch.TabIndex = 0; this.txtSearch.TextChanged += new System.EventHandler(this.txtSearch_TextChanged); // // lblHeader // this.lblHeader.AutoSize = true; this.lblHeader.BackColor = System.Drawing.Color.Transparent; this.lblHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblHeader.ForeColor = System.Drawing.Color.White; this.lblHeader.Location = new System.Drawing.Point(67, 9); this.lblHeader.Name = "lblHeader"; this.lblHeader.Size = new System.Drawing.Size(125, 13); this.lblHeader.TabIndex = 4; this.lblHeader.Text = "Enter search criteria."; // // dgItems // this.dgItems.AlternatingBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.dgItems.BackColor = System.Drawing.Color.White; this.dgItems.BackgroundColor = System.Drawing.Color.White; this.dgItems.BorderStyle = System.Windows.Forms.BorderStyle.None; this.dgItems.CaptionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.dgItems.CaptionFont = new System.Drawing.Font("Tahoma", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.dgItems.CaptionForeColor = System.Drawing.Color.Blue; this.dgItems.CaptionVisible = false; this.dgItems.DataMember = ""; this.dgItems.Dock = System.Windows.Forms.DockStyle.Bottom; this.dgItems.FlatMode = true; this.dgItems.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.dgItems.HeaderBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(81)))), ((int)(((byte)(153))))); this.dgItems.HeaderFont = new System.Drawing.Font("Tahoma", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.dgItems.HeaderForeColor = System.Drawing.Color.White; this.dgItems.Location = new System.Drawing.Point(0, 67); this.dgItems.Name = "dgItems"; this.dgItems.PreferredRowHeight = 50; this.dgItems.ReadOnly = true; this.dgItems.RowHeadersVisible = false; this.dgItems.RowHeaderWidth = 7; this.dgItems.SelectionBackColor = System.Drawing.Color.RoyalBlue; this.dgItems.SelectionForeColor = System.Drawing.Color.White; this.dgItems.Size = new System.Drawing.Size(1022, 699); this.dgItems.TabIndex = 5; this.dgItems.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dgStyle }); this.dgItems.TabStop = false; this.dgItems.MouseDown += new System.Windows.Forms.MouseEventHandler(this.dgItems_MouseDown); // // dgStyle // this.dgStyle.AlternatingBackColor = System.Drawing.Color.White; this.dgStyle.BackColor = System.Drawing.Color.White; this.dgStyle.DataGrid = this.dgItems; this.dgStyle.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.PackageID, this.ProductID, this.MatrixID, this.BarCode, this.ProductCode, this.ProductDesc, this.MatrixDescription, this.ProductGroup, this.ProductSubGroup, this.ProductUnitID, this.ProductUnitName, this.Price, this.VAT, this.LocalTax, this.Quantity, this.MinThreshold }); this.dgStyle.HeaderBackColor = System.Drawing.Color.DarkOrange; this.dgStyle.HeaderFont = new System.Drawing.Font("Tahoma", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.dgStyle.HeaderForeColor = System.Drawing.Color.White; this.dgStyle.MappingName = "tblProducts"; this.dgStyle.PreferredColumnWidth = 180; this.dgStyle.PreferredRowHeight = 40; this.dgStyle.ReadOnly = true; this.dgStyle.RowHeadersVisible = false; this.dgStyle.RowHeaderWidth = 7; this.dgStyle.SelectionBackColor = System.Drawing.Color.Green; this.dgStyle.SelectionForeColor = System.Drawing.Color.White; // // PackageID // this.PackageID.Format = ""; this.PackageID.FormatInfo = null; this.PackageID.HeaderText = "PackageID"; this.PackageID.MappingName = "PackageID"; this.PackageID.NullText = ""; this.PackageID.ReadOnly = true; this.PackageID.Width = 0; // // ProductID // this.ProductID.Format = ""; this.ProductID.FormatInfo = null; this.ProductID.HeaderText = "ID"; this.ProductID.MappingName = "ProductID"; this.ProductID.NullText = ""; this.ProductID.ReadOnly = true; this.ProductID.Width = 0; // // MatrixID // this.MatrixID.Format = ""; this.MatrixID.FormatInfo = null; this.MatrixID.HeaderText = "MatrixID"; this.MatrixID.MappingName = "MatrixID"; this.MatrixID.NullText = ""; this.MatrixID.ReadOnly = true; this.MatrixID.Width = 0; // // BarCode // this.BarCode.Format = ""; this.BarCode.FormatInfo = null; this.BarCode.HeaderText = "BarCode"; 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.HeaderText = "Product Code"; this.ProductCode.MappingName = "ProductCode"; this.ProductCode.NullText = ""; this.ProductCode.ReadOnly = true; this.ProductCode.Width = 0; // // ProductDesc // this.ProductDesc.Format = ""; this.ProductDesc.FormatInfo = null; this.ProductDesc.HeaderText = "Description"; this.ProductDesc.MappingName = "ProductDesc"; this.ProductDesc.NullText = ""; this.ProductDesc.ReadOnly = true; this.ProductDesc.Width = 0; // // MatrixDescription // this.MatrixDescription.Format = ""; this.MatrixDescription.FormatInfo = null; this.MatrixDescription.MappingName = "MatrixDescription"; this.MatrixDescription.NullText = ""; this.MatrixDescription.ReadOnly = true; this.MatrixDescription.Width = 0; // // ProductGroup // this.ProductGroup.Format = ""; this.ProductGroup.FormatInfo = null; this.ProductGroup.HeaderText = "Group"; this.ProductGroup.MappingName = "ProductGroupName"; this.ProductGroup.NullText = ""; this.ProductGroup.ReadOnly = true; this.ProductGroup.Width = 0; // // ProductSubGroup // this.ProductSubGroup.Format = ""; this.ProductSubGroup.FormatInfo = null; this.ProductSubGroup.MappingName = "ProductSubGroup"; this.ProductSubGroup.NullText = "0"; this.ProductSubGroup.ReadOnly = true; this.ProductSubGroup.Width = 0; // // ProductUnitID // this.ProductUnitID.Format = ""; this.ProductUnitID.FormatInfo = null; this.ProductUnitID.MappingName = "ProductUnitID"; this.ProductUnitID.NullText = "0"; this.ProductUnitID.ReadOnly = true; this.ProductUnitID.Width = 0; // // ProductUnitName // this.ProductUnitName.Format = ""; this.ProductUnitName.FormatInfo = null; this.ProductUnitName.MappingName = "ProductUnitName"; this.ProductUnitName.NullText = "0"; this.ProductUnitName.ReadOnly = true; this.ProductUnitName.Width = 0; // // Price // this.Price.Format = ""; this.Price.FormatInfo = null; this.Price.HeaderText = "Price"; this.Price.MappingName = "Price"; this.Price.NullText = "0"; this.Price.ReadOnly = true; this.Price.Width = 0; // // VAT // this.VAT.Format = ""; this.VAT.FormatInfo = null; this.VAT.MappingName = "VAT"; this.VAT.NullText = "0"; this.VAT.ReadOnly = true; this.VAT.Width = 0; // // LocalTax // this.LocalTax.Format = ""; this.LocalTax.FormatInfo = null; this.LocalTax.MappingName = "LocalTax"; this.LocalTax.NullText = "0"; this.LocalTax.ReadOnly = true; this.LocalTax.Width = 0; // // Quantity // this.Quantity.Alignment = System.Windows.Forms.HorizontalAlignment.Right; this.Quantity.Format = ""; this.Quantity.FormatInfo = null; this.Quantity.HeaderText = "Qty"; this.Quantity.MappingName = "Quantity"; this.Quantity.NullText = "0"; this.Quantity.ReadOnly = true; this.Quantity.Width = 0; // // MinThreshold // this.MinThreshold.Format = ""; this.MinThreshold.FormatInfo = null; this.MinThreshold.MappingName = "MinThreshold"; this.MinThreshold.NullText = "0"; this.MinThreshold.ReadOnly = true; this.MinThreshold.Width = 0; // // imgIcon // this.imgIcon.BackColor = System.Drawing.Color.Blue; this.imgIcon.Location = new System.Drawing.Point(9, 5); this.imgIcon.Name = "imgIcon"; this.imgIcon.Size = new System.Drawing.Size(49, 49); this.imgIcon.TabIndex = 50; this.imgIcon.TabStop = false; this.imgIcon.Click += new System.EventHandler(this.imgIcon_Click); // // tmrSearch // this.tmrSearch.Interval = 300; this.tmrSearch.Tick += new System.EventHandler(this.tmrSearch_Tick); // // lblProductCode // this.lblProductCode.BackColor = System.Drawing.Color.Transparent; this.lblProductCode.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblProductCode.ForeColor = System.Drawing.Color.LightSlateGray; this.lblProductCode.Location = new System.Drawing.Point(371, 34); this.lblProductCode.Name = "lblProductCode"; this.lblProductCode.Size = new System.Drawing.Size(486, 23); this.lblProductCode.TabIndex = 80; this.lblProductCode.Text = "Total Quantity:"; this.lblProductCode.TextAlign = System.Drawing.ContentAlignment.TopRight; // // lblProductQuantity // this.lblProductQuantity.AutoSize = true; this.lblProductQuantity.BackColor = System.Drawing.Color.Transparent; this.lblProductQuantity.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblProductQuantity.ForeColor = System.Drawing.Color.Red; this.lblProductQuantity.Location = new System.Drawing.Point(854, 31); this.lblProductQuantity.Name = "lblProductQuantity"; this.lblProductQuantity.Size = new System.Drawing.Size(44, 19); this.lblProductQuantity.TabIndex = 81; this.lblProductQuantity.Text = "0.00"; // // ItemSelectWnd // this.AutoScaleBaseSize = new System.Drawing.Size(5, 14); this.BackColor = System.Drawing.Color.White; this.ClientSize = new System.Drawing.Size(1022, 766); this.ControlBox = false; this.Controls.Add(this.lblProductQuantity); this.Controls.Add(this.lblProductCode); this.Controls.Add(this.dgItems); this.Controls.Add(this.lblHeader); this.Controls.Add(this.txtSearch); this.Controls.Add(this.imgIcon); this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.KeyPreview = true; this.MaximizeBox = false; this.Name = "ItemSelectWnd"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Load += new System.EventHandler(this.ItemSelectWnd_Load); this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.ItemSelectWnd_KeyDown); this.Resize += new System.EventHandler(this.ItemSelectWnd_Resize); ((System.ComponentModel.ISupportInitialize)(this.dgItems)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.imgIcon)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.txtSearch = new System.Windows.Forms.TextBox(); this.lblHeader = new System.Windows.Forms.Label(); this.dgItems = new System.Windows.Forms.DataGrid(); this.dgStyle = new System.Windows.Forms.DataGridTableStyle(); this.PackageID = new System.Windows.Forms.DataGridTextBoxColumn(); this.ProductID = new System.Windows.Forms.DataGridTextBoxColumn(); this.MatrixID = new System.Windows.Forms.DataGridTextBoxColumn(); this.BarCode = new System.Windows.Forms.DataGridTextBoxColumn(); this.ProductCode = new System.Windows.Forms.DataGridTextBoxColumn(); this.ProductDesc = new System.Windows.Forms.DataGridTextBoxColumn(); this.MatrixDescription = new System.Windows.Forms.DataGridTextBoxColumn(); this.ProductGroup = new System.Windows.Forms.DataGridTextBoxColumn(); this.ProductSubGroup = new System.Windows.Forms.DataGridTextBoxColumn(); this.ProductUnitID = new System.Windows.Forms.DataGridTextBoxColumn(); this.ProductUnitName = new System.Windows.Forms.DataGridTextBoxColumn(); this.Price = new System.Windows.Forms.DataGridTextBoxColumn(); this.VAT = new System.Windows.Forms.DataGridTextBoxColumn(); this.LocalTax = new System.Windows.Forms.DataGridTextBoxColumn(); this.Quantity = new AceSoft.RetailPlus.Client.UI.DataGridQuantityTextBoxColumn(); this.MinThreshold = new System.Windows.Forms.DataGridTextBoxColumn(); this.imgIcon = new System.Windows.Forms.PictureBox(); this.tmrSearch = new System.Windows.Forms.Timer(this.components); this.lblProductCode = new System.Windows.Forms.Label(); this.lblProductQuantity = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.dgItems)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.imgIcon)).BeginInit(); this.SuspendLayout(); // // txtSearch // this.txtSearch.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.txtSearch.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtSearch.Location = new System.Drawing.Point(67, 27); this.txtSearch.Name = "txtSearch"; this.txtSearch.Size = new System.Drawing.Size(298, 23); this.txtSearch.TabIndex = 0; this.txtSearch.TextChanged += new System.EventHandler(this.txtSearch_TextChanged); // // lblHeader // this.lblHeader.AutoSize = true; this.lblHeader.BackColor = System.Drawing.Color.Transparent; this.lblHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblHeader.ForeColor = System.Drawing.Color.White; this.lblHeader.Location = new System.Drawing.Point(67, 9); this.lblHeader.Name = "lblHeader"; this.lblHeader.Size = new System.Drawing.Size(125, 13); this.lblHeader.TabIndex = 4; this.lblHeader.Text = "Enter search criteria."; // // dgItems // this.dgItems.AlternatingBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.dgItems.BackColor = System.Drawing.Color.White; this.dgItems.BackgroundColor = System.Drawing.Color.White; this.dgItems.BorderStyle = System.Windows.Forms.BorderStyle.None; this.dgItems.CaptionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.dgItems.CaptionFont = new System.Drawing.Font("Tahoma", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.dgItems.CaptionForeColor = System.Drawing.Color.Blue; this.dgItems.CaptionVisible = false; this.dgItems.DataMember = ""; this.dgItems.Dock = System.Windows.Forms.DockStyle.Bottom; this.dgItems.FlatMode = true; this.dgItems.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.dgItems.HeaderBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(81)))), ((int)(((byte)(153))))); this.dgItems.HeaderFont = new System.Drawing.Font("Tahoma", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.dgItems.HeaderForeColor = System.Drawing.Color.White; this.dgItems.Location = new System.Drawing.Point(0, 67); this.dgItems.Name = "dgItems"; this.dgItems.PreferredRowHeight = 50; this.dgItems.ReadOnly = true; this.dgItems.RowHeadersVisible = false; this.dgItems.RowHeaderWidth = 7; this.dgItems.SelectionBackColor = System.Drawing.Color.RoyalBlue; this.dgItems.SelectionForeColor = System.Drawing.Color.White; this.dgItems.Size = new System.Drawing.Size(1022, 699); this.dgItems.TabIndex = 5; this.dgItems.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dgStyle}); this.dgItems.TabStop = false; this.dgItems.MouseDown += new System.Windows.Forms.MouseEventHandler(this.dgItems_MouseDown); // // dgStyle // this.dgStyle.AlternatingBackColor = System.Drawing.Color.White; this.dgStyle.BackColor = System.Drawing.Color.White; this.dgStyle.DataGrid = this.dgItems; this.dgStyle.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.PackageID, this.ProductID, this.MatrixID, this.BarCode, this.ProductCode, this.ProductDesc, this.MatrixDescription, this.ProductGroup, this.ProductSubGroup, this.ProductUnitID, this.ProductUnitName, this.Price, this.VAT, this.LocalTax, this.Quantity, this.MinThreshold}); this.dgStyle.HeaderBackColor = System.Drawing.Color.DarkOrange; this.dgStyle.HeaderFont = new System.Drawing.Font("Tahoma", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.dgStyle.HeaderForeColor = System.Drawing.Color.White; this.dgStyle.MappingName = "tblProducts"; this.dgStyle.PreferredColumnWidth = 180; this.dgStyle.PreferredRowHeight = 40; this.dgStyle.ReadOnly = true; this.dgStyle.RowHeadersVisible = false; this.dgStyle.RowHeaderWidth = 7; this.dgStyle.SelectionBackColor = System.Drawing.Color.Green; this.dgStyle.SelectionForeColor = System.Drawing.Color.White; // // PackageID // this.PackageID.Format = ""; this.PackageID.FormatInfo = null; this.PackageID.HeaderText = "PackageID"; this.PackageID.MappingName = "PackageID"; this.PackageID.NullText = ""; this.PackageID.ReadOnly = true; this.PackageID.Width = 0; // // ProductID // this.ProductID.Format = ""; this.ProductID.FormatInfo = null; this.ProductID.HeaderText = "ID"; this.ProductID.MappingName = "ProductID"; this.ProductID.NullText = ""; this.ProductID.ReadOnly = true; this.ProductID.Width = 0; // // MatrixID // this.MatrixID.Format = ""; this.MatrixID.FormatInfo = null; this.MatrixID.HeaderText = "MatrixID"; this.MatrixID.MappingName = "MatrixID"; this.MatrixID.NullText = ""; this.MatrixID.ReadOnly = true; this.MatrixID.Width = 0; // // BarCode // this.BarCode.Format = ""; this.BarCode.FormatInfo = null; this.BarCode.HeaderText = "BarCode"; 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.HeaderText = "Product Code"; this.ProductCode.MappingName = "ProductCode"; this.ProductCode.NullText = ""; this.ProductCode.ReadOnly = true; this.ProductCode.Width = 0; // // ProductDesc // this.ProductDesc.Format = ""; this.ProductDesc.FormatInfo = null; this.ProductDesc.HeaderText = "Description"; this.ProductDesc.MappingName = "ProductDesc"; this.ProductDesc.NullText = ""; this.ProductDesc.ReadOnly = true; this.ProductDesc.Width = 0; // // MatrixDescription // this.MatrixDescription.Format = ""; this.MatrixDescription.FormatInfo = null; this.MatrixDescription.MappingName = "MatrixDescription"; this.MatrixDescription.NullText = ""; this.MatrixDescription.ReadOnly = true; this.MatrixDescription.Width = 0; // // ProductGroup // this.ProductGroup.Format = ""; this.ProductGroup.FormatInfo = null; this.ProductGroup.HeaderText = "Group"; this.ProductGroup.MappingName = "ProductGroupName"; this.ProductGroup.NullText = ""; this.ProductGroup.ReadOnly = true; this.ProductGroup.Width = 0; // // ProductSubGroup // this.ProductSubGroup.Format = ""; this.ProductSubGroup.FormatInfo = null; this.ProductSubGroup.MappingName = "ProductSubGroup"; this.ProductSubGroup.NullText = "0"; this.ProductSubGroup.ReadOnly = true; this.ProductSubGroup.Width = 0; // // ProductUnitID // this.ProductUnitID.Format = ""; this.ProductUnitID.FormatInfo = null; this.ProductUnitID.MappingName = "ProductUnitID"; this.ProductUnitID.NullText = "0"; this.ProductUnitID.ReadOnly = true; this.ProductUnitID.Width = 0; // // ProductUnitName // this.ProductUnitName.Format = ""; this.ProductUnitName.FormatInfo = null; this.ProductUnitName.MappingName = "ProductUnitName"; this.ProductUnitName.NullText = "0"; this.ProductUnitName.ReadOnly = true; this.ProductUnitName.Width = 0; // // Price // this.Price.Format = ""; this.Price.FormatInfo = null; this.Price.HeaderText = "Price"; this.Price.MappingName = "Price"; this.Price.NullText = "0"; this.Price.ReadOnly = true; this.Price.Width = 0; // // VAT // this.VAT.Format = ""; this.VAT.FormatInfo = null; this.VAT.MappingName = "VAT"; this.VAT.NullText = "0"; this.VAT.ReadOnly = true; this.VAT.Width = 0; // // LocalTax // this.LocalTax.Format = ""; this.LocalTax.FormatInfo = null; this.LocalTax.MappingName = "LocalTax"; this.LocalTax.NullText = "0"; this.LocalTax.ReadOnly = true; this.LocalTax.Width = 0; // // Quantity // this.Quantity.Alignment = System.Windows.Forms.HorizontalAlignment.Right; this.Quantity.Format = ""; this.Quantity.FormatInfo = null; this.Quantity.HeaderText = "Qty"; this.Quantity.MappingName = "Quantity"; this.Quantity.NullText = "0"; this.Quantity.ReadOnly = true; this.Quantity.Width = 0; // // MinThreshold // this.MinThreshold.Format = ""; this.MinThreshold.FormatInfo = null; this.MinThreshold.MappingName = "MinThreshold"; this.MinThreshold.NullText = "0"; this.MinThreshold.ReadOnly = true; this.MinThreshold.Width = 0; // // imgIcon // this.imgIcon.BackColor = System.Drawing.Color.Blue; this.imgIcon.Location = new System.Drawing.Point(9, 5); this.imgIcon.Name = "imgIcon"; this.imgIcon.Size = new System.Drawing.Size(49, 49); this.imgIcon.TabIndex = 50; this.imgIcon.TabStop = false; this.imgIcon.Click += new System.EventHandler(this.imgIcon_Click); // // tmrSearch // this.tmrSearch.Interval = 300; this.tmrSearch.Tick += new System.EventHandler(this.tmrSearch_Tick); // // lblProductCode // this.lblProductCode.BackColor = System.Drawing.Color.Transparent; this.lblProductCode.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblProductCode.ForeColor = System.Drawing.Color.LightSlateGray; this.lblProductCode.Location = new System.Drawing.Point(371, 34); this.lblProductCode.Name = "lblProductCode"; this.lblProductCode.Size = new System.Drawing.Size(486, 23); this.lblProductCode.TabIndex = 80; this.lblProductCode.Text = "Total Quantity:"; this.lblProductCode.TextAlign = System.Drawing.ContentAlignment.TopRight; // // lblProductQuantity // this.lblProductQuantity.AutoSize = true; this.lblProductQuantity.BackColor = System.Drawing.Color.Transparent; this.lblProductQuantity.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblProductQuantity.ForeColor = System.Drawing.Color.Red; this.lblProductQuantity.Location = new System.Drawing.Point(854, 31); this.lblProductQuantity.Name = "lblProductQuantity"; this.lblProductQuantity.Size = new System.Drawing.Size(44, 19); this.lblProductQuantity.TabIndex = 81; this.lblProductQuantity.Text = "0.00"; // // ItemSelectWnd // this.AutoScaleBaseSize = new System.Drawing.Size(5, 14); this.BackColor = System.Drawing.Color.White; this.ClientSize = new System.Drawing.Size(1022, 766); this.ControlBox = false; this.Controls.Add(this.lblProductQuantity); this.Controls.Add(this.lblProductCode); this.Controls.Add(this.dgItems); this.Controls.Add(this.lblHeader); this.Controls.Add(this.txtSearch); this.Controls.Add(this.imgIcon); this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.KeyPreview = true; this.MaximizeBox = false; this.Name = "ItemSelectWnd"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Load += new System.EventHandler(this.ItemSelectWnd_Load); this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.ItemSelectWnd_KeyDown); this.Resize += new System.EventHandler(this.ItemSelectWnd_Resize); ((System.ComponentModel.ISupportInitialize)(this.dgItems)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.imgIcon)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); this.txtSearch = new System.Windows.Forms.TextBox(); this.lblHeader = new System.Windows.Forms.Label(); this.dgItems = new System.Windows.Forms.DataGrid(); this.dgStyle = new System.Windows.Forms.DataGridTableStyle(); this.PackageID = new System.Windows.Forms.DataGridTextBoxColumn(); this.ProductID = new System.Windows.Forms.DataGridTextBoxColumn(); this.MatrixID = new System.Windows.Forms.DataGridTextBoxColumn(); this.BarCode = new System.Windows.Forms.DataGridTextBoxColumn(); this.ProductCode = new System.Windows.Forms.DataGridTextBoxColumn(); this.ProductDesc = new System.Windows.Forms.DataGridTextBoxColumn(); this.MatrixDescription = new System.Windows.Forms.DataGridTextBoxColumn(); this.ProductGroup = new System.Windows.Forms.DataGridTextBoxColumn(); this.ProductSubGroupCode = new System.Windows.Forms.DataGridTextBoxColumn(); this.ProductUnitID = new System.Windows.Forms.DataGridTextBoxColumn(); this.ProductUnitName = new System.Windows.Forms.DataGridTextBoxColumn(); this.Price = new System.Windows.Forms.DataGridTextBoxColumn(); this.Price1 = new System.Windows.Forms.DataGridTextBoxColumn(); this.Price2 = new System.Windows.Forms.DataGridTextBoxColumn(); this.Price3 = new System.Windows.Forms.DataGridTextBoxColumn(); this.Price4 = new System.Windows.Forms.DataGridTextBoxColumn(); this.Price5 = new System.Windows.Forms.DataGridTextBoxColumn(); this.WSPrice = new System.Windows.Forms.DataGridTextBoxColumn(); this.VAT = new System.Windows.Forms.DataGridTextBoxColumn(); this.LocalTax = new System.Windows.Forms.DataGridTextBoxColumn(); this.MinThreshold = new System.Windows.Forms.DataGridTextBoxColumn(); this.imgIcon = new System.Windows.Forms.PictureBox(); this.tmrSearch = new System.Windows.Forms.Timer(this.components); this.lblProductCode = new System.Windows.Forms.Label(); this.lblProductQuantity = new System.Windows.Forms.Label(); this.dgvItemsPerBranch = new System.Windows.Forms.DataGridView(); this.lblQuantityPerBranch2 = new System.Windows.Forms.Label(); this.lblQuantityPerBranch3 = new System.Windows.Forms.Label(); this.lblQuantityPerBranch1 = new System.Windows.Forms.Label(); this.Quantity = new AceSoft.RetailPlus.Client.UI.DataGridQuantityTextBoxColumn(); ((System.ComponentModel.ISupportInitialize)(this.dgItems)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.imgIcon)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dgvItemsPerBranch)).BeginInit(); this.SuspendLayout(); // // txtSearch // this.txtSearch.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.txtSearch.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtSearch.Location = new System.Drawing.Point(67, 27); this.txtSearch.Name = "txtSearch"; this.txtSearch.Size = new System.Drawing.Size(298, 23); this.txtSearch.TabIndex = 0; this.txtSearch.TextChanged += new System.EventHandler(this.txtSearch_TextChanged); // // lblHeader // this.lblHeader.AutoSize = true; this.lblHeader.BackColor = System.Drawing.Color.Transparent; this.lblHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblHeader.ForeColor = System.Drawing.Color.White; this.lblHeader.Location = new System.Drawing.Point(67, 9); this.lblHeader.Name = "lblHeader"; this.lblHeader.Size = new System.Drawing.Size(125, 13); this.lblHeader.TabIndex = 4; this.lblHeader.Text = "Enter search criteria."; // // dgItems // this.dgItems.AlternatingBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.dgItems.BackColor = System.Drawing.Color.White; this.dgItems.BackgroundColor = System.Drawing.Color.White; this.dgItems.BorderStyle = System.Windows.Forms.BorderStyle.None; this.dgItems.CaptionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.dgItems.CaptionFont = new System.Drawing.Font("Tahoma", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.dgItems.CaptionForeColor = System.Drawing.Color.Blue; this.dgItems.CaptionVisible = false; this.dgItems.DataMember = ""; this.dgItems.Dock = System.Windows.Forms.DockStyle.Bottom; this.dgItems.FlatMode = true; this.dgItems.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.dgItems.HeaderBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(81)))), ((int)(((byte)(153))))); this.dgItems.HeaderFont = new System.Drawing.Font("Tahoma", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.dgItems.HeaderForeColor = System.Drawing.Color.White; this.dgItems.Location = new System.Drawing.Point(0, 67); this.dgItems.Name = "dgItems"; this.dgItems.PreferredRowHeight = 50; this.dgItems.ReadOnly = true; this.dgItems.RowHeadersVisible = false; this.dgItems.RowHeaderWidth = 7; this.dgItems.SelectionBackColor = System.Drawing.Color.RoyalBlue; this.dgItems.SelectionForeColor = System.Drawing.Color.White; this.dgItems.Size = new System.Drawing.Size(1022, 699); this.dgItems.TabIndex = 5; this.dgItems.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dgStyle}); this.dgItems.TabStop = false; this.dgItems.MouseDown += new System.Windows.Forms.MouseEventHandler(this.dgItems_MouseDown); // // dgStyle // this.dgStyle.AlternatingBackColor = System.Drawing.Color.White; this.dgStyle.BackColor = System.Drawing.Color.White; this.dgStyle.DataGrid = this.dgItems; this.dgStyle.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.PackageID, this.ProductID, this.MatrixID, this.ProductSubGroupCode, this.BarCode, this.ProductCode, this.ProductDesc, this.MatrixDescription, this.ProductGroup, this.ProductUnitID, this.ProductUnitName, this.Price, this.Price1, this.Price2, this.Price3, this.Price4, this.Price5, this.WSPrice, this.VAT, this.LocalTax, this.Quantity, this.MinThreshold}); this.dgStyle.HeaderBackColor = System.Drawing.Color.DarkOrange; this.dgStyle.HeaderFont = new System.Drawing.Font("Tahoma", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.dgStyle.HeaderForeColor = System.Drawing.Color.White; this.dgStyle.MappingName = "tblProducts"; this.dgStyle.PreferredColumnWidth = 180; this.dgStyle.PreferredRowHeight = 40; this.dgStyle.ReadOnly = true; this.dgStyle.RowHeadersVisible = false; this.dgStyle.RowHeaderWidth = 7; this.dgStyle.SelectionBackColor = System.Drawing.Color.Green; this.dgStyle.SelectionForeColor = System.Drawing.Color.White; // // PackageID // this.PackageID.Format = ""; this.PackageID.FormatInfo = null; this.PackageID.HeaderText = "PackageID"; this.PackageID.MappingName = "PackageID"; this.PackageID.NullText = ""; this.PackageID.ReadOnly = true; this.PackageID.Width = 0; // // ProductID // this.ProductID.Format = ""; this.ProductID.FormatInfo = null; this.ProductID.HeaderText = "ID"; this.ProductID.MappingName = "ProductID"; this.ProductID.NullText = ""; this.ProductID.ReadOnly = true; this.ProductID.Width = 0; // // MatrixID // this.MatrixID.Format = ""; this.MatrixID.FormatInfo = null; this.MatrixID.HeaderText = "MatrixID"; this.MatrixID.MappingName = "MatrixID"; this.MatrixID.NullText = ""; this.MatrixID.ReadOnly = true; this.MatrixID.Width = 0; // // BarCode // this.BarCode.Format = ""; this.BarCode.FormatInfo = null; this.BarCode.HeaderText = "BarCode"; 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.HeaderText = "Product Code"; this.ProductCode.MappingName = "ProductCode"; this.ProductCode.NullText = ""; this.ProductCode.ReadOnly = true; this.ProductCode.Width = 0; // // ProductDesc // this.ProductDesc.Format = ""; this.ProductDesc.FormatInfo = null; this.ProductDesc.HeaderText = "Description"; this.ProductDesc.MappingName = "ProductDesc"; this.ProductDesc.NullText = ""; this.ProductDesc.ReadOnly = true; this.ProductDesc.Width = 0; // // MatrixDescription // this.MatrixDescription.Format = ""; this.MatrixDescription.FormatInfo = null; this.MatrixDescription.MappingName = "MatrixDescription"; this.MatrixDescription.NullText = ""; this.MatrixDescription.ReadOnly = true; this.MatrixDescription.Width = 0; // // ProductGroup // this.ProductGroup.Format = ""; this.ProductGroup.FormatInfo = null; this.ProductGroup.HeaderText = "Group"; this.ProductGroup.MappingName = "ProductGroupName"; this.ProductGroup.NullText = ""; this.ProductGroup.ReadOnly = true; this.ProductGroup.Width = 0; // // ProductSubGroup // this.ProductSubGroupCode.Format = ""; this.ProductSubGroupCode.FormatInfo = null; this.ProductSubGroupCode.HeaderText = "SubGroup"; this.ProductSubGroupCode.MappingName = "ProductSubGroupCode"; this.ProductSubGroupCode.NullText = ""; this.ProductSubGroupCode.ReadOnly = true; this.ProductSubGroupCode.Width = 0; // // ProductUnitID // this.ProductUnitID.Format = ""; this.ProductUnitID.FormatInfo = null; this.ProductUnitID.MappingName = "ProductUnitID"; this.ProductUnitID.NullText = "0"; this.ProductUnitID.ReadOnly = true; this.ProductUnitID.Width = 0; // // ProductUnitName // this.ProductUnitName.Format = ""; this.ProductUnitName.FormatInfo = null; this.ProductUnitName.MappingName = "ProductUnitName"; this.ProductUnitName.NullText = "0"; this.ProductUnitName.ReadOnly = true; this.ProductUnitName.Width = 0; // // Price // this.Price.Format = ""; this.Price.FormatInfo = null; this.Price.HeaderText = "Price"; this.Price.MappingName = "Price"; this.Price.NullText = "0"; this.Price.ReadOnly = true; this.Price.Width = 0; // // Price1 // this.Price1.Format = ""; this.Price1.FormatInfo = null; this.Price1.HeaderText = "Price1"; this.Price1.MappingName = "Price1"; this.Price1.NullText = "0"; this.Price1.ReadOnly = true; this.Price1.Width = 0; // // Price2 // this.Price2.Format = ""; this.Price2.FormatInfo = null; this.Price2.HeaderText = "Price2"; this.Price2.MappingName = "Price2"; this.Price2.NullText = "0"; this.Price2.ReadOnly = true; this.Price2.Width = 0; // // Price3 // this.Price3.Format = ""; this.Price3.FormatInfo = null; this.Price3.HeaderText = "Price3"; this.Price3.MappingName = "Price3"; this.Price3.NullText = "0"; this.Price3.ReadOnly = true; this.Price3.Width = 0; // // Price4 // this.Price4.Format = ""; this.Price4.FormatInfo = null; this.Price4.HeaderText = "Price4"; this.Price4.MappingName = "Price4"; this.Price4.NullText = "0"; this.Price4.ReadOnly = true; this.Price4.Width = 0; // // Price5 // this.Price5.Format = ""; this.Price5.FormatInfo = null; this.Price5.HeaderText = "Price5"; this.Price5.MappingName = "Price5"; this.Price5.NullText = "0"; this.Price5.ReadOnly = true; this.Price5.Width = 0; // // WSPrice // this.WSPrice.Format = ""; this.WSPrice.FormatInfo = null; this.WSPrice.HeaderText = "WSPrice"; this.WSPrice.MappingName = "WSPrice"; this.WSPrice.NullText = "0"; this.WSPrice.ReadOnly = true; this.WSPrice.Width = 0; // // VAT // this.VAT.Format = ""; this.VAT.FormatInfo = null; this.VAT.MappingName = "VAT"; this.VAT.NullText = "0"; this.VAT.ReadOnly = true; this.VAT.Width = 0; // // LocalTax // this.LocalTax.Format = ""; this.LocalTax.FormatInfo = null; this.LocalTax.MappingName = "LocalTax"; this.LocalTax.NullText = "0"; this.LocalTax.ReadOnly = true; this.LocalTax.Width = 0; // // MinThreshold // this.MinThreshold.Format = ""; this.MinThreshold.FormatInfo = null; this.MinThreshold.MappingName = "MinThreshold"; this.MinThreshold.NullText = "0"; this.MinThreshold.ReadOnly = true; this.MinThreshold.Width = 0; // // imgIcon // this.imgIcon.BackColor = System.Drawing.Color.Blue; this.imgIcon.Location = new System.Drawing.Point(9, 5); this.imgIcon.Name = "imgIcon"; this.imgIcon.Size = new System.Drawing.Size(49, 49); this.imgIcon.TabIndex = 50; this.imgIcon.TabStop = false; this.imgIcon.Click += new System.EventHandler(this.imgIcon_Click); // // tmrSearch // this.tmrSearch.Interval = 300; this.tmrSearch.Tick += new System.EventHandler(this.tmrSearch_Tick); // // lblProductCode // this.lblProductCode.BackColor = System.Drawing.Color.Transparent; this.lblProductCode.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblProductCode.ForeColor = System.Drawing.Color.LightSlateGray; this.lblProductCode.Location = new System.Drawing.Point(371, 34); this.lblProductCode.Name = "lblProductCode"; this.lblProductCode.Size = new System.Drawing.Size(486, 23); this.lblProductCode.TabIndex = 80; this.lblProductCode.Text = "Total Quantity:"; this.lblProductCode.TextAlign = System.Drawing.ContentAlignment.TopRight; // // lblProductQuantity // this.lblProductQuantity.AutoSize = true; this.lblProductQuantity.BackColor = System.Drawing.Color.Transparent; this.lblProductQuantity.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblProductQuantity.ForeColor = System.Drawing.Color.Red; this.lblProductQuantity.Location = new System.Drawing.Point(854, 31); this.lblProductQuantity.Name = "lblProductQuantity"; this.lblProductQuantity.Size = new System.Drawing.Size(44, 19); this.lblProductQuantity.TabIndex = 81; this.lblProductQuantity.Text = "0.00"; // // dgvItemsPerBranch // this.dgvItemsPerBranch.AllowUserToAddRows = false; this.dgvItemsPerBranch.AllowUserToDeleteRows = false; this.dgvItemsPerBranch.AllowUserToResizeColumns = false; this.dgvItemsPerBranch.AllowUserToResizeRows = false; this.dgvItemsPerBranch.BackgroundColor = System.Drawing.Color.White; this.dgvItemsPerBranch.BorderStyle = System.Windows.Forms.BorderStyle.None; this.dgvItemsPerBranch.CausesValidation = false; this.dgvItemsPerBranch.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.None; this.dgvItemsPerBranch.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None; dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(81)))), ((int)(((byte)(153))))); dataGridViewCellStyle1.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); dataGridViewCellStyle1.ForeColor = System.Drawing.Color.White; dataGridViewCellStyle1.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(81)))), ((int)(((byte)(153))))); dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True; this.dgvItemsPerBranch.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1; this.dgvItemsPerBranch.ColumnHeadersHeight = 24; this.dgvItemsPerBranch.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing; this.dgvItemsPerBranch.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically; this.dgvItemsPerBranch.GridColor = System.Drawing.Color.White; this.dgvItemsPerBranch.Location = new System.Drawing.Point(469, 60); this.dgvItemsPerBranch.Name = "dgvItemsPerBranch"; this.dgvItemsPerBranch.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None; dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle2.BackColor = System.Drawing.Color.White; dataGridViewCellStyle2.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); dataGridViewCellStyle2.ForeColor = System.Drawing.Color.White; dataGridViewCellStyle2.SelectionBackColor = System.Drawing.Color.RoyalBlue; dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False; this.dgvItemsPerBranch.RowHeadersDefaultCellStyle = dataGridViewCellStyle2; this.dgvItemsPerBranch.RowHeadersVisible = false; this.dgvItemsPerBranch.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing; dataGridViewCellStyle3.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); dataGridViewCellStyle3.SelectionBackColor = System.Drawing.Color.RoyalBlue; this.dgvItemsPerBranch.RowsDefaultCellStyle = dataGridViewCellStyle3; this.dgvItemsPerBranch.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.dgvItemsPerBranch.Size = new System.Drawing.Size(335, 225); this.dgvItemsPerBranch.StandardTab = true; this.dgvItemsPerBranch.TabIndex = 82; this.dgvItemsPerBranch.Visible = false; // // lblQuantityPerBranch2 // this.lblQuantityPerBranch2.AutoSize = true; this.lblQuantityPerBranch2.BackColor = System.Drawing.Color.Transparent; this.lblQuantityPerBranch2.ForeColor = System.Drawing.Color.Red; this.lblQuantityPerBranch2.Location = new System.Drawing.Point(782, 9); this.lblQuantityPerBranch2.Name = "lblQuantityPerBranch2"; this.lblQuantityPerBranch2.Size = new System.Drawing.Size(27, 13); this.lblQuantityPerBranch2.TabIndex = 115; this.lblQuantityPerBranch2.Text = "[F5]"; // // lblQuantityPerBranch3 // this.lblQuantityPerBranch3.AutoSize = true; this.lblQuantityPerBranch3.BackColor = System.Drawing.Color.Transparent; this.lblQuantityPerBranch3.ForeColor = System.Drawing.Color.DarkSlateGray; this.lblQuantityPerBranch3.Location = new System.Drawing.Point(807, 9); this.lblQuantityPerBranch3.Name = "lblQuantityPerBranch3"; this.lblQuantityPerBranch3.Size = new System.Drawing.Size(146, 13); this.lblQuantityPerBranch3.TabIndex = 114; this.lblQuantityPerBranch3.Text = " to show quantity per branch"; // // lblQuantityPerBranch1 // this.lblQuantityPerBranch1.AutoSize = true; this.lblQuantityPerBranch1.BackColor = System.Drawing.Color.Transparent; this.lblQuantityPerBranch1.ForeColor = System.Drawing.Color.DarkSlateGray; this.lblQuantityPerBranch1.Location = new System.Drawing.Point(751, 9); this.lblQuantityPerBranch1.Name = "lblQuantityPerBranch1"; this.lblQuantityPerBranch1.Size = new System.Drawing.Size(33, 13); this.lblQuantityPerBranch1.TabIndex = 113; this.lblQuantityPerBranch1.Text = "Press"; // // Quantity // this.Quantity.Alignment = System.Windows.Forms.HorizontalAlignment.Right; this.Quantity.Format = ""; this.Quantity.FormatInfo = null; this.Quantity.HeaderText = "Qty"; this.Quantity.MappingName = "Quantity"; this.Quantity.NullText = "0"; this.Quantity.ReadOnly = true; this.Quantity.Width = 0; // // ItemSelectWnd // this.AutoScaleBaseSize = new System.Drawing.Size(5, 14); this.BackColor = System.Drawing.Color.White; this.ClientSize = new System.Drawing.Size(1022, 766); this.ControlBox = false; this.Controls.Add(this.lblQuantityPerBranch2); this.Controls.Add(this.lblQuantityPerBranch3); this.Controls.Add(this.lblQuantityPerBranch1); this.Controls.Add(this.dgvItemsPerBranch); this.Controls.Add(this.lblProductQuantity); this.Controls.Add(this.lblProductCode); this.Controls.Add(this.dgItems); this.Controls.Add(this.lblHeader); this.Controls.Add(this.txtSearch); this.Controls.Add(this.imgIcon); this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.KeyPreview = true; this.MaximizeBox = false; this.Name = "ItemSelectWnd"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Load += new System.EventHandler(this.ItemSelectWnd_Load); this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.ItemSelectWnd_KeyDown); this.Resize += new System.EventHandler(this.ItemSelectWnd_Resize); ((System.ComponentModel.ISupportInitialize)(this.dgItems)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.imgIcon)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dgvItemsPerBranch)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }