/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { XPTable.Models.DataSourceColumnBinder dataSourceColumnBinder1 = new XPTable.Models.DataSourceColumnBinder(); XPTable.Renderers.DragDropRenderer dragDropRenderer1 = new XPTable.Renderers.DragDropRenderer(); this.table = new XPTable.Models.Table(); this.Debug = new System.Windows.Forms.Button(); ((System.ComponentModel.ISupportInitialize)(this.table)).BeginInit(); this.SuspendLayout(); // // table // this.table.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.table.BorderColor = System.Drawing.Color.Black; this.table.DataMember = null; this.table.DataSourceColumnBinder = dataSourceColumnBinder1; dragDropRenderer1.ForeColor = System.Drawing.Color.Red; this.table.DragDropRenderer = dragDropRenderer1; this.table.GridLinesContrainedToData = false; this.table.Location = new System.Drawing.Point(12, 12); this.table.Name = "table"; this.table.Size = new System.Drawing.Size(351, 287); this.table.TabIndex = 0; this.table.Text = "table"; this.table.UnfocusedBorderColor = System.Drawing.Color.Black; // // Debug // this.Debug.Location = new System.Drawing.Point(12, 305); this.Debug.Name = "Debug"; this.Debug.Size = new System.Drawing.Size(75, 23); this.Debug.TabIndex = 1; this.Debug.Text = "Debug"; this.Debug.UseVisualStyleBackColor = true; // // Demo // this.ClientSize = new System.Drawing.Size(375, 340); this.Controls.Add(this.Debug); this.Controls.Add(this.table); this.Name = "Demo"; this.Text = "WordWrap"; this.Load += new System.EventHandler(this.Demo_Load); ((System.ComponentModel.ISupportInitialize)(this.table)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { XPTable.Models.DataSourceColumnBinder dataSourceColumnBinder1 = new XPTable.Models.DataSourceColumnBinder(); XPTable.Renderers.DragDropRenderer dragDropRenderer1 = new XPTable.Renderers.DragDropRenderer(); this.tableList = new XPTable.Models.Table(); ((System.ComponentModel.ISupportInitialize)(this.tableList)).BeginInit(); this.SuspendLayout(); // // tableList // this.tableList.BorderColor = System.Drawing.Color.Black; this.tableList.DataMember = null; this.tableList.DataSourceColumnBinder = dataSourceColumnBinder1; this.tableList.Dock = System.Windows.Forms.DockStyle.Top; dragDropRenderer1.ForeColor = System.Drawing.Color.Red; this.tableList.DragDropRenderer = dragDropRenderer1; this.tableList.GridLinesContrainedToData = false; this.tableList.Location = new System.Drawing.Point(0, 0); this.tableList.Name = "tableList"; this.tableList.Size = new System.Drawing.Size(705, 324); this.tableList.TabIndex = 0; this.tableList.Text = "table1"; this.tableList.UnfocusedBorderColor = System.Drawing.Color.Black; // // Form_TableDetail // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(705, 493); this.Controls.Add(this.tableList); this.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.Name = "Form_TableDetail"; this.Text = "Form_TableDetail"; ((System.ComponentModel.ISupportInitialize)(this.tableList)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { XPTable.Models.DataSourceColumnBinder dataSourceColumnBinder2 = new XPTable.Models.DataSourceColumnBinder(); XPTable.Renderers.DragDropRenderer dragDropRenderer2 = new XPTable.Renderers.DragDropRenderer(); this.panel1 = new System.Windows.Forms.Panel(); this.panel2 = new System.Windows.Forms.Panel(); this.table1 = new XPTable.Models.Table(); this.columnModel1 = new XPTable.Models.ColumnModel(); this.No = new XPTable.Models.TextColumn(); this.ProductCode = new XPTable.Models.TextColumn(); this.ProductName = new XPTable.Models.TextColumn(); this.tableModel1 = new XPTable.Models.TableModel(); this.Price = new XPTable.Models.NumberColumn(); this.Quantity = new XPTable.Models.NumberColumn(); this.Total = new XPTable.Models.NumberColumn(); this.panel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.table1)).BeginInit(); this.SuspendLayout(); // // panel1 // this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(705, 62); this.panel1.TabIndex = 0; // // panel2 // this.panel2.Controls.Add(this.table1); this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; this.panel2.Location = new System.Drawing.Point(0, 62); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(705, 332); this.panel2.TabIndex = 1; // // table1 // this.table1.BorderColor = System.Drawing.Color.Black; this.table1.ColumnModel = this.columnModel1; this.table1.DataMember = null; this.table1.DataSourceColumnBinder = dataSourceColumnBinder2; this.table1.Dock = System.Windows.Forms.DockStyle.Fill; dragDropRenderer2.ForeColor = System.Drawing.Color.Red; this.table1.DragDropRenderer = dragDropRenderer2; this.table1.EnableHeaderContextMenu = false; this.table1.FullRowSelect = true; this.table1.GridLines = XPTable.Models.GridLines.Both; this.table1.GridLinesContrainedToData = false; this.table1.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.table1.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; this.table1.Location = new System.Drawing.Point(0, 0); this.table1.Name = "table1"; this.table1.NoItemsText = ""; this.table1.SelectionStyle = XPTable.Models.SelectionStyle.Grid; this.table1.Size = new System.Drawing.Size(705, 332); this.table1.TabIndex = 13; this.table1.TableModel = this.tableModel1; this.table1.TabStop = false; this.table1.Text = "table1"; this.table1.UnfocusedBorderColor = System.Drawing.Color.Black; // // columnModel1 // this.columnModel1.Columns.AddRange(new XPTable.Models.Column[] { this.No, this.ProductCode, this.ProductName, this.Price, this.Quantity, this.Total }); // // No // this.No.IsTextTrimmed = false; this.No.Text = "ที่"; this.No.Width = 40; // // ProductCode // this.ProductCode.IsTextTrimmed = false; this.ProductCode.Text = "รหัสสินค้า"; this.ProductCode.Width = 90; // // ProductName // this.ProductName.IsTextTrimmed = false; this.ProductName.Text = "ชื่อสินค้า"; this.ProductName.Width = 250; // // Price // this.Price.Alignment = XPTable.Models.ColumnAlignment.Right; this.Price.IsTextTrimmed = false; this.Price.Text = "ราคา"; // // Quantity // this.Quantity.Alignment = XPTable.Models.ColumnAlignment.Right; this.Quantity.IsTextTrimmed = false; this.Quantity.Text = "จำนวน"; // // Total // this.Total.Alignment = XPTable.Models.ColumnAlignment.Right; this.Total.IsTextTrimmed = false; this.Total.Text = "รวม"; // // FmSellDetial // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(705, 394); this.Controls.Add(this.panel2); this.Controls.Add(this.panel1); this.Name = "FmSellDetial"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "รายละเอียดการขาย"; this.Load += new System.EventHandler(this.FmSellDetial_Load); this.panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.table1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { XPTable.Models.DataSourceColumnBinder dataSourceColumnBinder1 = new XPTable.Models.DataSourceColumnBinder(); XPTable.Renderers.DragDropRenderer dragDropRenderer1 = new XPTable.Renderers.DragDropRenderer(); this.panel1 = new System.Windows.Forms.Panel(); this.panel2 = new System.Windows.Forms.Panel(); this.btnSearch = new System.Windows.Forms.Button(); this.txtSearch = new System.Windows.Forms.TextBox(); this.table1 = new XPTable.Models.Table(); this.columnModel1 = new XPTable.Models.ColumnModel(); this.clID = new XPTable.Models.TextColumn(); this.clNo = new XPTable.Models.TextColumn(); this.clFirstname = new XPTable.Models.TextColumn(); this.clLastname = new XPTable.Models.TextColumn(); this.clNickname = new XPTable.Models.TextColumn(); this.clCardNo = new XPTable.Models.TextColumn(); this.clMobile = new XPTable.Models.TextColumn(); this.clCitizenID = new XPTable.Models.TextColumn(); this.clBirthday = new XPTable.Models.TextColumn(); this.clSex = new XPTable.Models.TextColumn(); this.clSellPrice = new XPTable.Models.TextColumn(); this.tableModel1 = new XPTable.Models.TableModel(); this.panel1.SuspendLayout(); this.panel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.table1)).BeginInit(); this.SuspendLayout(); // // panel1 // this.panel1.Controls.Add(this.panel2); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(665, 43); this.panel1.TabIndex = 1; // // panel2 // this.panel2.Controls.Add(this.btnSearch); this.panel2.Controls.Add(this.txtSearch); this.panel2.Dock = System.Windows.Forms.DockStyle.Right; this.panel2.Location = new System.Drawing.Point(469, 0); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(196, 43); this.panel2.TabIndex = 7; // // btnSearch // this.btnSearch.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.btnSearch.Image = global::PowerPOS_Online.Properties.Resources.magnifier_left; this.btnSearch.Location = new System.Drawing.Point(159, 6); this.btnSearch.Name = "btnSearch"; this.btnSearch.Size = new System.Drawing.Size(31, 31); this.btnSearch.TabIndex = 6; this.btnSearch.UseVisualStyleBackColor = true; this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click); // // txtSearch // this.txtSearch.BackColor = System.Drawing.Color.Azure; this.txtSearch.Font = new System.Drawing.Font("Arial", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtSearch.ForeColor = System.Drawing.Color.MidnightBlue; this.txtSearch.Location = new System.Drawing.Point(5, 7); this.txtSearch.Name = "txtSearch"; this.txtSearch.Size = new System.Drawing.Size(148, 29); this.txtSearch.TabIndex = 5; this.txtSearch.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.txtSearch.KeyUp += new System.Windows.Forms.KeyEventHandler(this.txtSearch_KeyUp); // // table1 // this.table1.BorderColor = System.Drawing.Color.Black; this.table1.ColumnModel = this.columnModel1; this.table1.DataMember = null; this.table1.DataSourceColumnBinder = dataSourceColumnBinder1; this.table1.Dock = System.Windows.Forms.DockStyle.Fill; dragDropRenderer1.ForeColor = System.Drawing.Color.Red; this.table1.DragDropRenderer = dragDropRenderer1; this.table1.EnableHeaderContextMenu = false; this.table1.FullRowSelect = true; this.table1.GridLines = XPTable.Models.GridLines.Both; this.table1.GridLinesContrainedToData = false; this.table1.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.table1.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; this.table1.Location = new System.Drawing.Point(0, 43); this.table1.Name = "table1"; this.table1.NoItemsText = ""; this.table1.SelectionStyle = XPTable.Models.SelectionStyle.Grid; this.table1.Size = new System.Drawing.Size(665, 251); this.table1.TabIndex = 13; this.table1.TableModel = this.tableModel1; this.table1.TabStop = false; this.table1.Text = "table1"; this.table1.UnfocusedBorderColor = System.Drawing.Color.Black; this.table1.CellDoubleClick += new XPTable.Events.CellMouseEventHandler(this.table1_CellDoubleClick); // // columnModel1 // this.columnModel1.Columns.AddRange(new XPTable.Models.Column[] { this.clID, this.clNo, this.clFirstname, this.clLastname, this.clNickname, this.clCardNo, this.clMobile, this.clCitizenID, this.clBirthday, this.clSex, this.clSellPrice}); // // clID // this.clID.IsTextTrimmed = false; this.clID.Visible = false; // // clNo // this.clNo.Editable = false; this.clNo.IsTextTrimmed = false; this.clNo.Text = "ที่"; this.clNo.Width = 40; // // clFirstname // this.clFirstname.Editable = false; this.clFirstname.IsTextTrimmed = false; this.clFirstname.Text = "ชื่อ"; this.clFirstname.Width = 100; // // clLastname // this.clLastname.Editable = false; this.clLastname.IsTextTrimmed = false; this.clLastname.Text = "นามสกุล"; this.clLastname.Width = 100; // // clNickname // this.clNickname.Editable = false; this.clNickname.IsTextTrimmed = false; this.clNickname.Text = "ชื่อเล่น"; this.clNickname.Width = 65; // // clCardNo // this.clCardNo.Editable = false; this.clCardNo.IsTextTrimmed = false; this.clCardNo.Text = "เลขที่บัตรสมาชิก"; this.clCardNo.Width = 95; // // clMobile // this.clMobile.Editable = false; this.clMobile.IsTextTrimmed = false; this.clMobile.Text = "มือถือ"; this.clMobile.Width = 100; // // clCitizenID // this.clCitizenID.Editable = false; this.clCitizenID.IsTextTrimmed = false; this.clCitizenID.Text = "เลขที่บัตรประชาชน"; this.clCitizenID.Width = 140; // // clBirthday // this.clBirthday.IsTextTrimmed = false; this.clBirthday.Visible = false; // // clSex // this.clSex.IsTextTrimmed = false; this.clSex.Visible = false; // // clSellPrice // this.clSellPrice.IsTextTrimmed = false; this.clSellPrice.Visible = false; // // FmSelectCustomer // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(665, 294); this.Controls.Add(this.table1); this.Controls.Add(this.panel1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.MaximizeBox = false; this.Name = "FmSelectCustomer"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "ค้นหาข้อมูลลูกค้า"; this.Load += new System.EventHandler(this.FmSelectCustomer_Load); this.panel1.ResumeLayout(false); this.panel2.ResumeLayout(false); this.panel2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.table1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { XPTable.Models.DataSourceColumnBinder dataSourceColumnBinder1 = new XPTable.Models.DataSourceColumnBinder(); XPTable.Renderers.DragDropRenderer dragDropRenderer1 = new XPTable.Renderers.DragDropRenderer(); this.panel1 = new System.Windows.Forms.Panel(); this.panel2 = new System.Windows.Forms.Panel(); this.btnSearch = new System.Windows.Forms.Button(); this.txtSearch = new System.Windows.Forms.TextBox(); this.table1 = new XPTable.Models.Table(); this.columnModel1 = new XPTable.Models.ColumnModel(); this.clID = new XPTable.Models.TextColumn(); this.clNo = new XPTable.Models.TextColumn(); this.clFirstname = new XPTable.Models.TextColumn(); this.clLastname = new XPTable.Models.TextColumn(); this.clNickname = new XPTable.Models.TextColumn(); this.clCardNo = new XPTable.Models.TextColumn(); this.clMobile = new XPTable.Models.TextColumn(); this.clCitizenID = new XPTable.Models.TextColumn(); this.clBirthday = new XPTable.Models.TextColumn(); this.clSex = new XPTable.Models.TextColumn(); this.clSellPrice = new XPTable.Models.TextColumn(); this.tableModel1 = new XPTable.Models.TableModel(); this.panel1.SuspendLayout(); this.panel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.table1)).BeginInit(); this.SuspendLayout(); // // panel1 // this.panel1.Controls.Add(this.panel2); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(665, 43); this.panel1.TabIndex = 1; // // panel2 // this.panel2.Controls.Add(this.btnSearch); this.panel2.Controls.Add(this.txtSearch); this.panel2.Dock = System.Windows.Forms.DockStyle.Right; this.panel2.Location = new System.Drawing.Point(469, 0); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(196, 43); this.panel2.TabIndex = 7; // // btnSearch // this.btnSearch.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.btnSearch.Image = global::PowerPOS_Online.Properties.Resources.magnifier_left; this.btnSearch.Location = new System.Drawing.Point(159, 6); this.btnSearch.Name = "btnSearch"; this.btnSearch.Size = new System.Drawing.Size(31, 31); this.btnSearch.TabIndex = 6; this.btnSearch.UseVisualStyleBackColor = true; this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click); // // txtSearch // this.txtSearch.BackColor = System.Drawing.Color.Azure; this.txtSearch.Font = new System.Drawing.Font("Arial", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtSearch.ForeColor = System.Drawing.Color.MidnightBlue; this.txtSearch.Location = new System.Drawing.Point(5, 7); this.txtSearch.Name = "txtSearch"; this.txtSearch.Size = new System.Drawing.Size(148, 29); this.txtSearch.TabIndex = 5; this.txtSearch.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.txtSearch.KeyUp += new System.Windows.Forms.KeyEventHandler(this.txtSearch_KeyUp); // // table1 // this.table1.BorderColor = System.Drawing.Color.Black; this.table1.ColumnModel = this.columnModel1; this.table1.DataMember = null; this.table1.DataSourceColumnBinder = dataSourceColumnBinder1; this.table1.Dock = System.Windows.Forms.DockStyle.Fill; dragDropRenderer1.ForeColor = System.Drawing.Color.Red; this.table1.DragDropRenderer = dragDropRenderer1; this.table1.EnableHeaderContextMenu = false; this.table1.FullRowSelect = true; this.table1.GridLines = XPTable.Models.GridLines.Both; this.table1.GridLinesContrainedToData = false; this.table1.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.table1.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; this.table1.Location = new System.Drawing.Point(0, 43); this.table1.Name = "table1"; this.table1.NoItemsText = ""; this.table1.SelectionStyle = XPTable.Models.SelectionStyle.Grid; this.table1.Size = new System.Drawing.Size(665, 251); this.table1.TabIndex = 13; this.table1.TableModel = this.tableModel1; this.table1.TabStop = false; this.table1.Text = "table1"; this.table1.UnfocusedBorderColor = System.Drawing.Color.Black; this.table1.CellDoubleClick += new XPTable.Events.CellMouseEventHandler(this.table1_CellDoubleClick); // // columnModel1 // this.columnModel1.Columns.AddRange(new XPTable.Models.Column[] { this.clID, this.clNo, this.clFirstname, this.clLastname, this.clNickname, this.clCardNo, this.clMobile, this.clCitizenID, this.clBirthday, this.clSex, this.clSellPrice }); // // clID // this.clID.IsTextTrimmed = false; this.clID.Visible = false; // // clNo // this.clNo.Editable = false; this.clNo.IsTextTrimmed = false; this.clNo.Text = "ที่"; this.clNo.Width = 40; // // clFirstname // this.clFirstname.Editable = false; this.clFirstname.IsTextTrimmed = false; this.clFirstname.Text = "ชื่อ"; this.clFirstname.Width = 100; // // clLastname // this.clLastname.Editable = false; this.clLastname.IsTextTrimmed = false; this.clLastname.Text = "นามสกุล"; this.clLastname.Width = 100; // // clNickname // this.clNickname.Editable = false; this.clNickname.IsTextTrimmed = false; this.clNickname.Text = "ชื่อเล่น"; this.clNickname.Width = 65; // // clCardNo // this.clCardNo.Editable = false; this.clCardNo.IsTextTrimmed = false; this.clCardNo.Text = "เลขที่บัตรสมาชิก"; this.clCardNo.Width = 95; // // clMobile // this.clMobile.Editable = false; this.clMobile.IsTextTrimmed = false; this.clMobile.Text = "มือถือ"; this.clMobile.Width = 100; // // clCitizenID // this.clCitizenID.Editable = false; this.clCitizenID.IsTextTrimmed = false; this.clCitizenID.Text = "เลขที่บัตรประชาชน"; this.clCitizenID.Width = 140; // // clBirthday // this.clBirthday.IsTextTrimmed = false; this.clBirthday.Visible = false; // // clSex // this.clSex.IsTextTrimmed = false; this.clSex.Visible = false; // // clSellPrice // this.clSellPrice.IsTextTrimmed = false; this.clSellPrice.Visible = false; // // FmSelectCustomer // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(665, 294); this.Controls.Add(this.table1); this.Controls.Add(this.panel1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.MaximizeBox = false; this.Name = "FmSelectCustomer"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "ค้นหาข้อมูลลูกค้า"; this.Load += new System.EventHandler(this.FmSelectCustomer_Load); this.panel1.ResumeLayout(false); this.panel2.ResumeLayout(false); this.panel2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.table1)).EndInit(); this.ResumeLayout(false); }
/// <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(); XPTable.Models.DataSourceColumnBinder dataSourceColumnBinder1 = new XPTable.Models.DataSourceColumnBinder(); XPTable.Renderers.DragDropRenderer dragDropRenderer1 = new XPTable.Renderers.DragDropRenderer(); this.panel1 = new System.Windows.Forms.Panel(); this.label1 = new System.Windows.Forms.Label(); this.panel3 = new System.Windows.Forms.Panel(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.contextMenuStrip2 = new System.Windows.Forms.ContextMenuStrip(this.components); this.mniSaveImage = new System.Windows.Forms.ToolStripMenuItem(); this.panel2 = new System.Windows.Forms.Panel(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.dtpStartDate = new System.Windows.Forms.DateTimePicker(); this.cbbReportType = new System.Windows.Forms.ComboBox(); this.tableModel1 = new XPTable.Models.TableModel(); this.columnModel1 = new XPTable.Models.ColumnModel(); this.textColumn1 = new XPTable.Models.TextColumn(); this.textColumn5 = new XPTable.Models.TextColumn(); this.textColumn2 = new XPTable.Models.TextColumn(); this.textColumn3 = new XPTable.Models.TextColumn(); this.textColumn4 = new XPTable.Models.TextColumn(); this.numberColumn1 = new XPTable.Models.NumberColumn(); this.table1 = new XPTable.Models.Table(); this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); this.miPrintReceipt = new System.Windows.Forms.ToolStripMenuItem(); this.miDetail = new System.Windows.Forms.ToolStripMenuItem(); this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog(); this.panel1.SuspendLayout(); this.panel3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); this.contextMenuStrip2.SuspendLayout(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.table1)).BeginInit(); this.contextMenuStrip1.SuspendLayout(); this.SuspendLayout(); // // panel1 // this.panel1.BackColor = System.Drawing.Color.DimGray; this.panel1.Controls.Add(this.label1); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(910, 39); this.panel1.TabIndex = 7; // // label1 // this.label1.AutoSize = true; this.label1.Dock = System.Windows.Forms.DockStyle.Fill; this.label1.Font = new System.Drawing.Font("DilleniaUPC", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.ForeColor = System.Drawing.Color.White; this.label1.Location = new System.Drawing.Point(0, 0); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(72, 38); this.label1.TabIndex = 0; this.label1.Text = "รายงาน"; // // panel3 // this.panel3.Controls.Add(this.pictureBox1); this.panel3.Controls.Add(this.panel2); this.panel3.Controls.Add(this.groupBox1); this.panel3.Dock = System.Windows.Forms.DockStyle.Left; this.panel3.Location = new System.Drawing.Point(0, 39); this.panel3.Name = "panel3"; this.panel3.Padding = new System.Windows.Forms.Padding(7, 10, 7, 0); this.panel3.Size = new System.Drawing.Size(247, 443); this.panel3.TabIndex = 10; // // pictureBox1 // this.pictureBox1.ContextMenuStrip = this.contextMenuStrip2; this.pictureBox1.Dock = System.Windows.Forms.DockStyle.Top; this.pictureBox1.Image = global::PowerPOS_Online.Properties.Resources.daily; this.pictureBox1.Location = new System.Drawing.Point(7, 102); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size(233, 348); this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.pictureBox1.TabIndex = 2; this.pictureBox1.TabStop = false; // // contextMenuStrip2 // this.contextMenuStrip2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.mniSaveImage }); this.contextMenuStrip2.Name = "contextMenuStrip2"; this.contextMenuStrip2.Size = new System.Drawing.Size(135, 26); // // mniSaveImage // this.mniSaveImage.Image = global::PowerPOS_Online.Properties.Resources.disk_return_black; this.mniSaveImage.Name = "mniSaveImage"; this.mniSaveImage.Size = new System.Drawing.Size(134, 22); this.mniSaveImage.Text = "บันทึกรูปภาพ"; this.mniSaveImage.Click += new System.EventHandler(this.mniSaveImage_Click); // // panel2 // this.panel2.Dock = System.Windows.Forms.DockStyle.Top; this.panel2.Location = new System.Drawing.Point(7, 92); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(233, 10); this.panel2.TabIndex = 3; // // groupBox1 // this.groupBox1.Controls.Add(this.dtpStartDate); this.groupBox1.Controls.Add(this.cbbReportType); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Top; this.groupBox1.Location = new System.Drawing.Point(7, 10); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(233, 82); this.groupBox1.TabIndex = 1; this.groupBox1.TabStop = false; this.groupBox1.Text = "ค้นหาข้อมูล"; // // dtpStartDate // this.dtpStartDate.CustomFormat = "dd MMMM yyyy"; this.dtpStartDate.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.dtpStartDate.Format = System.Windows.Forms.DateTimePickerFormat.Custom; this.dtpStartDate.Location = new System.Drawing.Point(14, 50); this.dtpStartDate.Name = "dtpStartDate"; this.dtpStartDate.Size = new System.Drawing.Size(204, 22); this.dtpStartDate.TabIndex = 1; this.dtpStartDate.ValueChanged += new System.EventHandler(this.dtpStartDate_ValueChanged); // // cbbReportType // this.cbbReportType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbbReportType.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.cbbReportType.FormattingEnabled = true; this.cbbReportType.Items.AddRange(new object[] { "สรุปยอดขายรายวัน", "รายงานสถิติ" }); this.cbbReportType.Location = new System.Drawing.Point(14, 19); this.cbbReportType.Name = "cbbReportType"; this.cbbReportType.Size = new System.Drawing.Size(204, 24); this.cbbReportType.TabIndex = 0; this.cbbReportType.SelectedIndexChanged += new System.EventHandler(this.CheckChange); // // columnModel1 // this.columnModel1.Columns.AddRange(new XPTable.Models.Column[] { this.textColumn1, this.textColumn5, this.textColumn2, this.textColumn3, this.textColumn4, this.numberColumn1 }); // // textColumn1 // this.textColumn1.Alignment = XPTable.Models.ColumnAlignment.Center; this.textColumn1.Editable = false; this.textColumn1.IsTextTrimmed = false; this.textColumn1.Text = "ที่"; this.textColumn1.Width = 40; // // textColumn5 // this.textColumn5.Alignment = XPTable.Models.ColumnAlignment.Center; this.textColumn5.Editable = false; this.textColumn5.IsTextTrimmed = false; this.textColumn5.Text = "วันที่ขาย"; this.textColumn5.Width = 150; // // textColumn2 // this.textColumn2.Alignment = XPTable.Models.ColumnAlignment.Center; this.textColumn2.Editable = false; this.textColumn2.IsTextTrimmed = false; this.textColumn2.Text = "เลขที่ขาย"; this.textColumn2.Width = 150; // // textColumn3 // this.textColumn3.Editable = false; this.textColumn3.IsTextTrimmed = false; this.textColumn3.Text = "ลูกค้า"; this.textColumn3.Width = 250; // // textColumn4 // this.textColumn4.Alignment = XPTable.Models.ColumnAlignment.Center; this.textColumn4.IsTextTrimmed = false; this.textColumn4.Text = "มือถือ"; this.textColumn4.Width = 110; // // numberColumn1 // this.numberColumn1.Alignment = XPTable.Models.ColumnAlignment.Right; this.numberColumn1.Editable = false; this.numberColumn1.Format = "#,##0.00"; this.numberColumn1.IsTextTrimmed = false; this.numberColumn1.Text = "ยอดขาย"; this.numberColumn1.Width = 100; // // table1 // this.table1.BorderColor = System.Drawing.Color.Black; this.table1.ColumnModel = this.columnModel1; this.table1.ContextMenuStrip = this.contextMenuStrip1; this.table1.DataMember = null; this.table1.DataSourceColumnBinder = dataSourceColumnBinder1; this.table1.Dock = System.Windows.Forms.DockStyle.Fill; dragDropRenderer1.ForeColor = System.Drawing.Color.Red; this.table1.DragDropRenderer = dragDropRenderer1; this.table1.EnableHeaderContextMenu = false; this.table1.FullRowSelect = true; this.table1.GridLines = XPTable.Models.GridLines.Both; this.table1.GridLinesContrainedToData = false; this.table1.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.table1.Location = new System.Drawing.Point(247, 39); this.table1.Name = "table1"; this.table1.NoItemsText = ""; this.table1.SelectionStyle = XPTable.Models.SelectionStyle.Grid; this.table1.Size = new System.Drawing.Size(663, 443); this.table1.TabIndex = 11; this.table1.TableModel = this.tableModel1; this.table1.Text = "table1"; this.table1.UnfocusedBorderColor = System.Drawing.Color.Black; this.table1.CellClick += new XPTable.Events.CellMouseEventHandler(this.table1_CellClick); this.table1.CellDoubleClick += new XPTable.Events.CellMouseEventHandler(this.table1_CellDoubleClick); // // contextMenuStrip1 // this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.miPrintReceipt, this.miDetail }); this.contextMenuStrip1.Name = "contextMenuStrip1"; this.contextMenuStrip1.Size = new System.Drawing.Size(158, 48); // // miPrintReceipt // this.miPrintReceipt.Image = global::PowerPOS_Online.Properties.Resources.printer; this.miPrintReceipt.Name = "miPrintReceipt"; this.miPrintReceipt.Size = new System.Drawing.Size(157, 22); this.miPrintReceipt.Text = "พิมพ์ใบเสร็จรับเงิน"; this.miPrintReceipt.Click += new System.EventHandler(this.miPrintReceipt_Click); // // miDetail // this.miDetail.Image = global::PowerPOS_Online.Properties.Resources.table_money; this.miDetail.Name = "miDetail"; this.miDetail.Size = new System.Drawing.Size(157, 22); this.miDetail.Text = "รายละเอียดการขาย"; this.miDetail.Click += new System.EventHandler(this.miDetail_Click); // // saveFileDialog1 // this.saveFileDialog1.DefaultExt = "png"; // // UcReport // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.table1); this.Controls.Add(this.panel3); this.Controls.Add(this.panel1); this.Name = "UcReport"; this.Size = new System.Drawing.Size(910, 482); this.Load += new System.EventHandler(this.UcReport_Load); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.panel3.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); this.contextMenuStrip2.ResumeLayout(false); this.groupBox1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.table1)).EndInit(); this.contextMenuStrip1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { XPTable.Models.DataSourceColumnBinder dataSourceColumnBinder1 = new XPTable.Models.DataSourceColumnBinder(); XPTable.Renderers.DragDropRenderer dragDropRenderer1 = new XPTable.Renderers.DragDropRenderer(); this.tableModel1 = new XPTable.Models.TableModel(); this.Barcode = new XPTable.Models.TextColumn(); this.No = new XPTable.Models.TextColumn(); this.columnModel1 = new XPTable.Models.ColumnModel(); this.imageColumn1 = new XPTable.Models.ImageColumn(); this.table1 = new XPTable.Models.Table(); this.panel2 = new System.Windows.Forms.Panel(); this.panel3 = new System.Windows.Forms.Panel(); this.label3 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.pictureBox2 = new System.Windows.Forms.PictureBox(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.btnCancel = new System.Windows.Forms.Button(); this.lblOrderNo = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.panel1 = new System.Windows.Forms.Panel(); this.lblProductName = new System.Windows.Forms.Label(); this.lblProduct = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.table1)).BeginInit(); this.panel2.SuspendLayout(); this.panel3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // Barcode // this.Barcode.IsTextTrimmed = false; this.Barcode.Text = "บาร์โค้ด"; this.Barcode.Width = 300; // // No // this.No.IsTextTrimmed = false; this.No.Text = "ที่"; this.No.Width = 40; // // columnModel1 // this.columnModel1.Columns.AddRange(new XPTable.Models.Column[] { this.imageColumn1, this.No, this.Barcode }); // // imageColumn1 // this.imageColumn1.Alignment = XPTable.Models.ColumnAlignment.Center; this.imageColumn1.IsTextTrimmed = false; this.imageColumn1.Width = 30; // // table1 // this.table1.BorderColor = System.Drawing.Color.Black; this.table1.ColumnModel = this.columnModel1; this.table1.DataMember = null; this.table1.DataSourceColumnBinder = dataSourceColumnBinder1; this.table1.Dock = System.Windows.Forms.DockStyle.Fill; dragDropRenderer1.ForeColor = System.Drawing.Color.Red; this.table1.DragDropRenderer = dragDropRenderer1; this.table1.EnableHeaderContextMenu = false; this.table1.FullRowSelect = true; this.table1.GridLines = XPTable.Models.GridLines.Both; this.table1.GridLinesContrainedToData = false; this.table1.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.table1.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; this.table1.Location = new System.Drawing.Point(0, 0); this.table1.Name = "table1"; this.table1.NoItemsText = ""; this.table1.SelectionStyle = XPTable.Models.SelectionStyle.Grid; this.table1.Size = new System.Drawing.Size(536, 300); this.table1.TabIndex = 13; this.table1.TableModel = this.tableModel1; this.table1.Text = "table1"; this.table1.UnfocusedBorderColor = System.Drawing.Color.Black; // // panel2 // this.panel2.Controls.Add(this.table1); this.panel2.Controls.Add(this.panel3); this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; this.panel2.Location = new System.Drawing.Point(0, 92); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(536, 346); this.panel2.TabIndex = 3; // // panel3 // this.panel3.Controls.Add(this.label3); this.panel3.Controls.Add(this.label2); this.panel3.Controls.Add(this.pictureBox2); this.panel3.Controls.Add(this.pictureBox1); this.panel3.Controls.Add(this.btnCancel); this.panel3.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel3.Location = new System.Drawing.Point(0, 300); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(536, 46); this.panel3.TabIndex = 14; // // label3 // this.label3.AutoSize = true; this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.label3.Location = new System.Drawing.Point(194, 18); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(143, 16); this.label3.TabIndex = 19; this.label3.Text = "บาร์โค้ดที่ยังไม่ได้รับเข้าระบบ"; // // label2 // this.label2.AutoSize = true; this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.label2.Location = new System.Drawing.Point(36, 17); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(125, 16); this.label2.TabIndex = 18; this.label2.Text = "บาร์โค้ดที่รับเข้าระบบแล้ว"; // // pictureBox2 // this.pictureBox2.Image = global::PowerPOS_Online.Properties.Resources.clock; this.pictureBox2.Location = new System.Drawing.Point(170, 15); this.pictureBox2.Name = "pictureBox2"; this.pictureBox2.Size = new System.Drawing.Size(20, 20); this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.pictureBox2.TabIndex = 17; this.pictureBox2.TabStop = false; // // pictureBox1 // this.pictureBox1.Image = global::PowerPOS_Online.Properties.Resources.accept; this.pictureBox1.Location = new System.Drawing.Point(12, 14); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size(20, 20); this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.pictureBox1.TabIndex = 16; this.pictureBox1.TabStop = false; // // btnCancel // this.btnCancel.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.btnCancel.Image = global::PowerPOS_Online.Properties.Resources.arrow_circle_225_left; this.btnCancel.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btnCancel.Location = new System.Drawing.Point(458, 9); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(66, 32); this.btnCancel.TabIndex = 15; this.btnCancel.Text = "ยกเลิก"; this.btnCancel.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.btnCancel.UseVisualStyleBackColor = true; this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); // // lblOrderNo // this.lblOrderNo.AutoSize = true; this.lblOrderNo.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.lblOrderNo.Location = new System.Drawing.Point(88, 13); this.lblOrderNo.Name = "lblOrderNo"; this.lblOrderNo.Size = new System.Drawing.Size(74, 16); this.lblOrderNo.TabIndex = 3; this.lblOrderNo.Text = "lblOrderNo"; // // label1 // this.label1.AutoSize = true; this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.label1.Location = new System.Drawing.Point(6, 13); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(76, 16); this.label1.TabIndex = 0; this.label1.Text = "เลขที่ใบสั่งซื้อ :"; // // panel1 // this.panel1.Controls.Add(this.lblProductName); this.panel1.Controls.Add(this.lblProduct); this.panel1.Controls.Add(this.label5); this.panel1.Controls.Add(this.label6); this.panel1.Controls.Add(this.lblOrderNo); this.panel1.Controls.Add(this.label1); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(536, 92); this.panel1.TabIndex = 2; // // lblProductName // this.lblProductName.AutoSize = true; this.lblProductName.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.lblProductName.Location = new System.Drawing.Point(88, 64); this.lblProductName.Name = "lblProductName"; this.lblProductName.Size = new System.Drawing.Size(105, 16); this.lblProductName.TabIndex = 8; this.lblProductName.Text = "lblProductName"; // // lblProduct // this.lblProduct.AutoSize = true; this.lblProduct.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.lblProduct.Location = new System.Drawing.Point(88, 39); this.lblProduct.Name = "lblProduct"; this.lblProduct.Size = new System.Drawing.Size(68, 16); this.lblProduct.TabIndex = 7; this.lblProduct.Text = "lblProduct"; // // label5 // this.label5.AutoSize = true; this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.label5.Location = new System.Drawing.Point(29, 64); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(53, 16); this.label5.TabIndex = 6; this.label5.Text = "ชื่อสินค้า :"; // // label6 // this.label6.AutoSize = true; this.label6.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.label6.Location = new System.Drawing.Point(21, 39); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(61, 16); this.label6.TabIndex = 5; this.label6.Text = "รหัสสินค้า :"; // // FmOrderDetail // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(536, 438); this.Controls.Add(this.panel2); this.Controls.Add(this.panel1); this.Name = "FmOrderDetail"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "รายละเอียด"; this.Load += new System.EventHandler(this.FmOrderDetail_Load); ((System.ComponentModel.ISupportInitialize)(this.table1)).EndInit(); this.panel2.ResumeLayout(false); this.panel3.ResumeLayout(false); this.panel3.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { XPTable.Models.DataSourceColumnBinder dataSourceColumnBinder2 = new XPTable.Models.DataSourceColumnBinder(); XPTable.Renderers.DragDropRenderer dragDropRenderer2 = new XPTable.Renderers.DragDropRenderer(); this.tableModel1 = new XPTable.Models.TableModel(); this.label1 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.lblProductName = new System.Windows.Forms.Label(); this.ProductName = new XPTable.Models.TextColumn(); this.ProductCode = new XPTable.Models.TextColumn(); this.columnModel1 = new XPTable.Models.ColumnModel(); this.No = new XPTable.Models.TextColumn(); this.panel2 = new System.Windows.Forms.Panel(); this.table1 = new XPTable.Models.Table(); this.panel3 = new System.Windows.Forms.Panel(); this.btnSave = new System.Windows.Forms.Button(); this.btnCancel = new System.Windows.Forms.Button(); this.gbHeader = new System.Windows.Forms.GroupBox(); this.txtAmount = new System.Windows.Forms.TextBox(); this.panel1 = new System.Windows.Forms.Panel(); this.panel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.table1)).BeginInit(); this.panel3.SuspendLayout(); this.gbHeader.SuspendLayout(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // label1 // this.label1.AutoSize = true; this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.label1.Location = new System.Drawing.Point(8, 13); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(99, 18); this.label1.TabIndex = 0; this.label1.Text = "สินค้าที่ต้องการ :"; // // label3 // this.label3.AutoSize = true; this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.label3.Location = new System.Drawing.Point(8, 37); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(118, 18); this.label3.TabIndex = 2; this.label3.Text = "กรุณากรอกจำนวน :"; // // lblProductName // this.lblProductName.AutoSize = true; this.lblProductName.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.lblProductName.Location = new System.Drawing.Point(103, 13); this.lblProductName.Name = "lblProductName"; this.lblProductName.Size = new System.Drawing.Size(151, 18); this.lblProductName.TabIndex = 3; this.lblProductName.Text = "กรุณาเลือกสินค้าที่ต้องการ"; // // ProductName // this.ProductName.IsTextTrimmed = false; this.ProductName.Text = "ชื่อสินค้า"; this.ProductName.Width = 400; // // ProductCode // this.ProductCode.IsTextTrimmed = false; this.ProductCode.Text = "รหัสสินค้า"; this.ProductCode.Width = 90; // // columnModel1 // this.columnModel1.Columns.AddRange(new XPTable.Models.Column[] { this.No, this.ProductCode, this.ProductName }); // // No // this.No.IsTextTrimmed = false; this.No.Text = "ที่"; this.No.Width = 40; // // panel2 // this.panel2.Controls.Add(this.table1); this.panel2.Controls.Add(this.panel3); this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; this.panel2.Location = new System.Drawing.Point(0, 78); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(539, 314); this.panel2.TabIndex = 3; // // table1 // this.table1.BorderColor = System.Drawing.Color.Black; this.table1.ColumnModel = this.columnModel1; this.table1.DataMember = null; this.table1.DataSourceColumnBinder = dataSourceColumnBinder2; this.table1.Dock = System.Windows.Forms.DockStyle.Fill; dragDropRenderer2.ForeColor = System.Drawing.Color.Red; this.table1.DragDropRenderer = dragDropRenderer2; this.table1.EnableHeaderContextMenu = false; this.table1.FullRowSelect = true; this.table1.GridLines = XPTable.Models.GridLines.Both; this.table1.GridLinesContrainedToData = false; this.table1.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.table1.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; this.table1.Location = new System.Drawing.Point(0, 0); this.table1.Name = "table1"; this.table1.NoItemsText = ""; this.table1.SelectionStyle = XPTable.Models.SelectionStyle.Grid; this.table1.Size = new System.Drawing.Size(539, 276); this.table1.TabIndex = 13; this.table1.TableModel = this.tableModel1; this.table1.Text = "table1"; this.table1.UnfocusedBorderColor = System.Drawing.Color.Black; this.table1.CellClick += new XPTable.Events.CellMouseEventHandler(this.table1_CellClick); // // panel3 // this.panel3.Controls.Add(this.btnSave); this.panel3.Controls.Add(this.btnCancel); this.panel3.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel3.Location = new System.Drawing.Point(0, 276); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(539, 38); this.panel3.TabIndex = 14; // // btnSave // this.btnSave.Enabled = false; this.btnSave.Image = global::PowerPOS_Online.Properties.Resources.disk_return_black; this.btnSave.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btnSave.Location = new System.Drawing.Point(352, 3); this.btnSave.Margin = new System.Windows.Forms.Padding(4); this.btnSave.Name = "btnSave"; this.btnSave.Padding = new System.Windows.Forms.Padding(7, 0, 7, 0); this.btnSave.Size = new System.Drawing.Size(102, 33); this.btnSave.TabIndex = 35; this.btnSave.Text = "บันทึกข้อมูล"; this.btnSave.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.btnSave.UseVisualStyleBackColor = true; this.btnSave.Click += new System.EventHandler(this.btnSave_Click); // // btnCancel // this.btnCancel.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.btnCancel.Image = global::PowerPOS_Online.Properties.Resources.arrow_circle_225_left; this.btnCancel.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btnCancel.Location = new System.Drawing.Point(461, 3); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(66, 32); this.btnCancel.TabIndex = 16; this.btnCancel.Text = "ยกเลิก"; this.btnCancel.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.btnCancel.UseVisualStyleBackColor = true; this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); // // gbHeader // this.gbHeader.Controls.Add(this.txtAmount); this.gbHeader.Controls.Add(this.label1); this.gbHeader.Controls.Add(this.label3); this.gbHeader.Controls.Add(this.lblProductName); this.gbHeader.Location = new System.Drawing.Point(8, 3); this.gbHeader.Name = "gbHeader"; this.gbHeader.Size = new System.Drawing.Size(524, 63); this.gbHeader.TabIndex = 8; this.gbHeader.TabStop = false; // // txtAmount // this.txtAmount.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F); this.txtAmount.Location = new System.Drawing.Point(132, 34); this.txtAmount.Name = "txtAmount"; this.txtAmount.Size = new System.Drawing.Size(78, 24); this.txtAmount.TabIndex = 4; this.txtAmount.TextChanged += new System.EventHandler(this.txtAmount_TextChanged); this.txtAmount.Enter += new System.EventHandler(this.txtAmount_Enter); this.txtAmount.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtAmount_KeyDown); // // panel1 // this.panel1.Controls.Add(this.gbHeader); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(539, 78); this.panel1.TabIndex = 2; // // FmSelectProduct // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(539, 392); this.Controls.Add(this.panel2); this.Controls.Add(this.panel1); this.Name = "FmSelectProduct"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "เลือกสินค้า"; this.Load += new System.EventHandler(this.FmSelectProduct_Load); this.panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.table1)).EndInit(); this.panel3.ResumeLayout(false); this.gbHeader.ResumeLayout(false); this.gbHeader.PerformLayout(); this.panel1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { XPTable.Models.DataSourceColumnBinder dataSourceColumnBinder1 = new XPTable.Models.DataSourceColumnBinder(); XPTable.Renderers.DragDropRenderer dragDropRenderer1 = new XPTable.Renderers.DragDropRenderer(); this.panel1 = new System.Windows.Forms.Panel(); this.gbHeader = new System.Windows.Forms.GroupBox(); this.label1 = new System.Windows.Forms.Label(); this.lblTotal = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.lblCustomer = new System.Windows.Forms.Label(); this.lblSellNo = new System.Windows.Forms.Label(); this.lblSellDate = new System.Windows.Forms.Label(); this.panel2 = new System.Windows.Forms.Panel(); this.table1 = new XPTable.Models.Table(); this.columnModel1 = new XPTable.Models.ColumnModel(); this.No = new XPTable.Models.TextColumn(); this.ProductCode = new XPTable.Models.TextColumn(); this.ProductName = new XPTable.Models.TextColumn(); this.Price = new XPTable.Models.NumberColumn(); this.Quantity = new XPTable.Models.NumberColumn(); this.Total = new XPTable.Models.NumberColumn(); this.tableModel1 = new XPTable.Models.TableModel(); this.panel3 = new System.Windows.Forms.Panel(); this.btnCancel = new System.Windows.Forms.Button(); this.panel1.SuspendLayout(); this.gbHeader.SuspendLayout(); this.panel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.table1)).BeginInit(); this.panel3.SuspendLayout(); this.SuspendLayout(); // // panel1 // this.panel1.Controls.Add(this.gbHeader); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(722, 78); this.panel1.TabIndex = 0; // // gbHeader // this.gbHeader.Controls.Add(this.label1); this.gbHeader.Controls.Add(this.lblTotal); this.gbHeader.Controls.Add(this.label2); this.gbHeader.Controls.Add(this.label5); this.gbHeader.Controls.Add(this.label3); this.gbHeader.Controls.Add(this.lblCustomer); this.gbHeader.Controls.Add(this.lblSellNo); this.gbHeader.Controls.Add(this.lblSellDate); this.gbHeader.Location = new System.Drawing.Point(12, 3); this.gbHeader.Name = "gbHeader"; this.gbHeader.Size = new System.Drawing.Size(707, 63); this.gbHeader.TabIndex = 8; this.gbHeader.TabStop = false; // // label1 // this.label1.AutoSize = true; this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.label1.Location = new System.Drawing.Point(34, 13); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(87, 18); this.label1.TabIndex = 0; this.label1.Text = "เลขที่การขาย :"; // // lblTotal // this.lblTotal.AutoSize = true; this.lblTotal.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.lblTotal.Location = new System.Drawing.Point(433, 37); this.lblTotal.Name = "lblTotal"; this.lblTotal.Size = new System.Drawing.Size(55, 18); this.lblTotal.TabIndex = 7; this.lblTotal.Text = "lblTotal"; // // label2 // this.label2.AutoSize = true; this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.label2.Location = new System.Drawing.Point(364, 13); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(63, 18); this.label2.TabIndex = 1; this.label2.Text = "วันที่ขาย :"; // // label5 // this.label5.AutoSize = true; this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.label5.Location = new System.Drawing.Point(364, 37); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(63, 18); this.label5.TabIndex = 6; this.label5.Text = "ยอดรวม :"; // // label3 // this.label3.AutoSize = true; this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.label3.Location = new System.Drawing.Point(33, 37); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(45, 18); this.label3.TabIndex = 2; this.label3.Text = "ลูกค้า :"; // // lblCustomer // this.lblCustomer.AutoSize = true; this.lblCustomer.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.lblCustomer.Location = new System.Drawing.Point(85, 37); this.lblCustomer.Name = "lblCustomer"; this.lblCustomer.Size = new System.Drawing.Size(88, 18); this.lblCustomer.TabIndex = 5; this.lblCustomer.Text = "lblCustomer"; // // lblSellNo // this.lblSellNo.AutoSize = true; this.lblSellNo.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.lblSellNo.Location = new System.Drawing.Point(120, 13); this.lblSellNo.Name = "lblSellNo"; this.lblSellNo.Size = new System.Drawing.Size(66, 18); this.lblSellNo.TabIndex = 3; this.lblSellNo.Text = "lblSellNo"; // // lblSellDate // this.lblSellDate.AutoSize = true; this.lblSellDate.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.lblSellDate.Location = new System.Drawing.Point(433, 13); this.lblSellDate.Name = "lblSellDate"; this.lblSellDate.Size = new System.Drawing.Size(77, 18); this.lblSellDate.TabIndex = 4; this.lblSellDate.Text = "lblSellDate"; // // panel2 // this.panel2.Controls.Add(this.table1); this.panel2.Controls.Add(this.panel3); this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; this.panel2.Location = new System.Drawing.Point(0, 78); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(722, 379); this.panel2.TabIndex = 1; // // table1 // this.table1.BorderColor = System.Drawing.Color.Black; this.table1.ColumnModel = this.columnModel1; this.table1.DataMember = null; this.table1.DataSourceColumnBinder = dataSourceColumnBinder1; this.table1.Dock = System.Windows.Forms.DockStyle.Fill; dragDropRenderer1.ForeColor = System.Drawing.Color.Red; this.table1.DragDropRenderer = dragDropRenderer1; this.table1.EnableHeaderContextMenu = false; this.table1.FullRowSelect = true; this.table1.GridLines = XPTable.Models.GridLines.Both; this.table1.GridLinesContrainedToData = false; this.table1.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.table1.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; this.table1.Location = new System.Drawing.Point(0, 0); this.table1.Name = "table1"; this.table1.NoItemsText = ""; this.table1.SelectionStyle = XPTable.Models.SelectionStyle.Grid; this.table1.Size = new System.Drawing.Size(722, 341); this.table1.TabIndex = 13; this.table1.TableModel = this.tableModel1; this.table1.Text = "table1"; this.table1.UnfocusedBorderColor = System.Drawing.Color.Black; // // columnModel1 // this.columnModel1.Columns.AddRange(new XPTable.Models.Column[] { this.No, this.ProductCode, this.ProductName, this.Price, this.Quantity, this.Total }); // // No // this.No.IsTextTrimmed = false; this.No.Text = "ที่"; this.No.Width = 40; // // ProductCode // this.ProductCode.IsTextTrimmed = false; this.ProductCode.Text = "รหัสสินค้า"; this.ProductCode.Width = 90; // // ProductName // this.ProductName.IsTextTrimmed = false; this.ProductName.Text = "ชื่อสินค้า"; this.ProductName.Width = 250; // // Price // this.Price.Alignment = XPTable.Models.ColumnAlignment.Right; this.Price.IsTextTrimmed = false; this.Price.Text = "ราคา"; // // Quantity // this.Quantity.Alignment = XPTable.Models.ColumnAlignment.Right; this.Quantity.IsTextTrimmed = false; this.Quantity.Text = "จำนวน"; // // Total // this.Total.Alignment = XPTable.Models.ColumnAlignment.Right; this.Total.IsTextTrimmed = false; this.Total.Text = "รวม"; // // panel3 // this.panel3.Controls.Add(this.btnCancel); this.panel3.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel3.Location = new System.Drawing.Point(0, 341); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(722, 38); this.panel3.TabIndex = 14; // // btnCancel // this.btnCancel.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.btnCancel.Image = global::PowerPOS_Online.Properties.Resources.arrow_circle_225_left; this.btnCancel.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btnCancel.Location = new System.Drawing.Point(646, 3); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(66, 32); this.btnCancel.TabIndex = 16; this.btnCancel.Text = "ยกเลิก"; this.btnCancel.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.btnCancel.UseVisualStyleBackColor = true; this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); // // FmSellDetial // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(722, 457); this.Controls.Add(this.panel2); this.Controls.Add(this.panel1); this.Name = "FmSellDetial"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "รายละเอียดการขาย"; this.Load += new System.EventHandler(this.FmSellDetial_Load); this.panel1.ResumeLayout(false); this.gbHeader.ResumeLayout(false); this.gbHeader.PerformLayout(); this.panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.table1)).EndInit(); this.panel3.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { XPTable.Models.DataSourceColumnBinder dataSourceColumnBinder1 = new XPTable.Models.DataSourceColumnBinder(); XPTable.Renderers.DragDropRenderer dragDropRenderer1 = new XPTable.Renderers.DragDropRenderer(); XPTable.Models.DataSourceColumnBinder dataSourceColumnBinder2 = new XPTable.Models.DataSourceColumnBinder(); XPTable.Renderers.DragDropRenderer dragDropRenderer2 = new XPTable.Renderers.DragDropRenderer(); this.SaveButton = new System.Windows.Forms.Button(); this.table1 = new XPTable.Models.Table(); this.XpTableGlobal = new XPTable.Models.Table(); this.button2 = new System.Windows.Forms.Button(); this.label1 = new System.Windows.Forms.Label(); this.button1 = new System.Windows.Forms.Button(); this.button3 = new System.Windows.Forms.Button(); ((System.ComponentModel.ISupportInitialize)(this.table1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.XpTableGlobal)).BeginInit(); this.SuspendLayout(); // // SaveButton // this.SaveButton.Location = new System.Drawing.Point(463, 614); this.SaveButton.Margin = new System.Windows.Forms.Padding(2); this.SaveButton.Name = "SaveButton"; this.SaveButton.Size = new System.Drawing.Size(82, 25); this.SaveButton.TabIndex = 1; this.SaveButton.Text = "Save"; this.SaveButton.UseVisualStyleBackColor = true; this.SaveButton.Click += new System.EventHandler(this.button1_Click); // // table1 // this.table1.BorderColor = System.Drawing.Color.Black; this.table1.DataMember = null; this.table1.DataSourceColumnBinder = dataSourceColumnBinder1; dragDropRenderer1.ForeColor = System.Drawing.Color.Red; this.table1.DragDropRenderer = dragDropRenderer1; this.table1.GridLinesContrainedToData = false; this.table1.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.table1.Location = new System.Drawing.Point(0, 94); this.table1.MultiSelect = true; this.table1.Name = "table1"; this.table1.Size = new System.Drawing.Size(984, 515); this.table1.TabIndex = 0; this.table1.Text = "table1"; this.table1.UnfocusedBorderColor = System.Drawing.Color.Black; // // XpTableGlobal // this.XpTableGlobal.BorderColor = System.Drawing.Color.Black; this.XpTableGlobal.DataMember = null; this.XpTableGlobal.DataSourceColumnBinder = dataSourceColumnBinder2; dragDropRenderer2.ForeColor = System.Drawing.Color.Red; this.XpTableGlobal.DragDropRenderer = dragDropRenderer2; this.XpTableGlobal.GridLinesContrainedToData = false; this.XpTableGlobal.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.XpTableGlobal.Location = new System.Drawing.Point(0, 3); this.XpTableGlobal.MultiSelect = true; this.XpTableGlobal.Name = "XpTableGlobal"; this.XpTableGlobal.Size = new System.Drawing.Size(984, 55); this.XpTableGlobal.TabIndex = 2; this.XpTableGlobal.Text = "table2"; this.XpTableGlobal.UnfocusedBorderColor = System.Drawing.Color.Black; // // button2 // this.button2.Location = new System.Drawing.Point(348, 64); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(269, 23); this.button2.TabIndex = 4; this.button2.Text = "Change selected"; this.button2.UseVisualStyleBackColor = true; this.button2.Click += new System.EventHandler(this.button2_Click); // // label1 // this.label1.AutoSize = true; this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.Location = new System.Drawing.Point(630, 69); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(108, 13); this.label1.TabIndex = 5; this.label1.Text = "Click save afterwards"; // // button1 // this.button1.Location = new System.Drawing.Point(29, 64); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(75, 23); this.button1.TabIndex = 6; this.button1.Text = "Import tasks"; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.button1_Click_1); // // button3 // this.button3.Location = new System.Drawing.Point(791, 65); this.button3.Name = "button3"; this.button3.Size = new System.Drawing.Size(124, 23); this.button3.TabIndex = 7; this.button3.Text = "Save new vill settings"; this.button3.UseVisualStyleBackColor = true; this.button3.Click += new System.EventHandler(this.button3_Click); // // OverviewUc // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.button3); this.Controls.Add(this.button1); this.Controls.Add(this.label1); this.Controls.Add(this.button2); this.Controls.Add(this.XpTableGlobal); this.Controls.Add(this.SaveButton); this.Controls.Add(this.table1); this.Name = "OverviewUc"; this.Size = new System.Drawing.Size(988, 646); ((System.ComponentModel.ISupportInitialize)(this.table1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.XpTableGlobal)).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() { XPTable.Models.DataSourceColumnBinder dataSourceColumnBinder1 = new XPTable.Models.DataSourceColumnBinder(); XPTable.Renderers.DragDropRenderer dragDropRenderer1 = new XPTable.Renderers.DragDropRenderer(); XPTable.Models.DataSourceColumnBinder dataSourceColumnBinder2 = new XPTable.Models.DataSourceColumnBinder(); XPTable.Renderers.DragDropRenderer dragDropRenderer2 = new XPTable.Renderers.DragDropRenderer(); this.SaveButton = new System.Windows.Forms.Button(); this.table1 = new XPTable.Models.Table(); this.XpTableGlobal = new XPTable.Models.Table(); this.button2 = new System.Windows.Forms.Button(); this.label1 = new System.Windows.Forms.Label(); this.button1 = new System.Windows.Forms.Button(); this.villId = new XPTable.Models.TextColumn(); this.vill = new XPTable.Models.TextColumn(); this.type = new XPTable.Models.ComboBoxColumn(); this.barracks = new XPTable.Models.ComboBoxColumn(); this.gb = new XPTable.Models.CheckBoxColumn(); this.stable = new XPTable.Models.ComboBoxColumn(); this.gs = new XPTable.Models.CheckBoxColumn(); ((System.ComponentModel.ISupportInitialize)(this.table1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.XpTableGlobal)).BeginInit(); this.SuspendLayout(); // // SaveButton // this.SaveButton.Location = new System.Drawing.Point(457, 589); this.SaveButton.Margin = new System.Windows.Forms.Padding(2); this.SaveButton.Name = "SaveButton"; this.SaveButton.Size = new System.Drawing.Size(82, 25); this.SaveButton.TabIndex = 1; this.SaveButton.Text = "Save"; this.SaveButton.UseVisualStyleBackColor = true; this.SaveButton.Click += new System.EventHandler(this.button1_Click); // // table1 // this.table1.BorderColor = System.Drawing.Color.Black; this.table1.DataMember = null; this.table1.DataSourceColumnBinder = dataSourceColumnBinder1; dragDropRenderer1.ForeColor = System.Drawing.Color.Red; this.table1.DragDropRenderer = dragDropRenderer1; this.table1.GridLinesContrainedToData = false; this.table1.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.table1.Location = new System.Drawing.Point(0, 94); this.table1.MultiSelect = true; this.table1.Name = "table1"; this.table1.Size = new System.Drawing.Size(984, 492); this.table1.TabIndex = 0; this.table1.Text = "table1"; this.table1.UnfocusedBorderColor = System.Drawing.Color.Black; // // XpTableGlobal // this.XpTableGlobal.BorderColor = System.Drawing.Color.Black; this.XpTableGlobal.DataMember = null; this.XpTableGlobal.DataSourceColumnBinder = dataSourceColumnBinder2; dragDropRenderer2.ForeColor = System.Drawing.Color.Red; this.XpTableGlobal.DragDropRenderer = dragDropRenderer2; this.XpTableGlobal.GridLinesContrainedToData = false; this.XpTableGlobal.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.XpTableGlobal.Location = new System.Drawing.Point(0, 3); this.XpTableGlobal.MultiSelect = true; this.XpTableGlobal.Name = "XpTableGlobal"; this.XpTableGlobal.Size = new System.Drawing.Size(984, 55); this.XpTableGlobal.TabIndex = 2; this.XpTableGlobal.Text = "table2"; this.XpTableGlobal.UnfocusedBorderColor = System.Drawing.Color.Black; // // button2 // this.button2.Location = new System.Drawing.Point(348, 64); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(269, 23); this.button2.TabIndex = 4; this.button2.Text = "Change selected"; this.button2.UseVisualStyleBackColor = true; this.button2.Click += new System.EventHandler(this.button2_Click); // // label1 // this.label1.AutoSize = true; this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.Location = new System.Drawing.Point(630, 69); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(108, 13); this.label1.TabIndex = 5; this.label1.Text = "Click save afterwards"; // // button1 // this.button1.Location = new System.Drawing.Point(29, 64); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(75, 23); this.button1.TabIndex = 6; this.button1.Text = "Import tasks"; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.button1_Click_1); // // villId // this.villId.Editable = false; this.villId.IsTextTrimmed = false; this.villId.Text = "Id"; this.villId.ToolTipText = "Village Id"; this.villId.Width = 40; // // vill // this.vill.IsTextTrimmed = false; this.vill.Text = "Village"; this.vill.ToolTipText = "Village name"; this.vill.Width = 120; // // type // this.type.IsTextTrimmed = false; this.type.Text = "Type"; this.type.ToolTipText = "Type of the village"; this.type.Width = 100; // // barracks // this.barracks.IsTextTrimmed = false; this.barracks.Text = "Barracks"; this.barracks.ToolTipText = "Troops to train in Barracks"; this.barracks.Width = 100; // // gb // this.gb.IsTextTrimmed = false; this.gb.Text = "GB"; this.gb.ToolTipText = "Train troops in Great Barracks"; this.gb.Width = 40; // // stable // this.stable.IsTextTrimmed = false; this.stable.Text = "Stable"; this.stable.ToolTipText = "Troops to train in Stable"; this.stable.Width = 100; // // gs // this.gs.IsTextTrimmed = false; this.gs.Text = "GS"; this.gs.ToolTipText = "Train troops in Great Stable"; this.gs.Width = 40; // // OverviewUc // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.button1); this.Controls.Add(this.label1); this.Controls.Add(this.button2); this.Controls.Add(this.XpTableGlobal); this.Controls.Add(this.SaveButton); this.Controls.Add(this.table1); this.Name = "OverviewUc"; this.Size = new System.Drawing.Size(988, 617); ((System.ComponentModel.ISupportInitialize)(this.table1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.XpTableGlobal)).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() { XPTable.Models.DataSourceColumnBinder dataSourceColumnBinder9 = new XPTable.Models.DataSourceColumnBinder(); XPTable.Renderers.DragDropRenderer dragDropRenderer9 = new XPTable.Renderers.DragDropRenderer(); this.btnCreateCode = new System.Windows.Forms.Button(); this.tableList = new XPTable.Models.Table(); this.panel1 = new System.Windows.Forms.Panel(); ((System.ComponentModel.ISupportInitialize)(this.tableList)).BeginInit(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // btnCreateCode // this.btnCreateCode.Location = new System.Drawing.Point(27, 18); this.btnCreateCode.Name = "btnCreateCode"; this.btnCreateCode.Size = new System.Drawing.Size(90, 33); this.btnCreateCode.TabIndex = 0; this.btnCreateCode.Text = "生成代码"; this.btnCreateCode.UseVisualStyleBackColor = true; this.btnCreateCode.Click += new System.EventHandler(this.btnCreateCode_Click); // // tableList // this.tableList.BorderColor = System.Drawing.Color.Black; this.tableList.DataMember = null; this.tableList.DataSourceColumnBinder = dataSourceColumnBinder9; this.tableList.Dock = System.Windows.Forms.DockStyle.Top; dragDropRenderer9.ForeColor = System.Drawing.Color.Red; this.tableList.DragDropRenderer = dragDropRenderer9; this.tableList.GridLinesContrainedToData = false; this.tableList.Location = new System.Drawing.Point(0, 0); this.tableList.Name = "tableList"; this.tableList.Size = new System.Drawing.Size(1007, 279); this.tableList.TabIndex = 12; this.tableList.Text = "table1"; this.tableList.UnfocusedBorderColor = System.Drawing.Color.Black; // // panel1 // this.panel1.AutoSize = true; this.panel1.BackColor = System.Drawing.SystemColors.ButtonFace; this.panel1.Controls.Add(this.btnCreateCode); this.panel1.Location = new System.Drawing.Point(0, 282); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(1007, 74); this.panel1.TabIndex = 13; // // Form_TableDetail // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1007, 537); this.Controls.Add(this.panel1); this.Controls.Add(this.tableList); this.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.Name = "Form_TableDetail"; this.Text = "Form_TableDetail"; ((System.ComponentModel.ISupportInitialize)(this.tableList)).EndInit(); this.panel1.ResumeLayout(false); 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() { XPTable.Models.DataSourceColumnBinder dataSourceColumnBinder1 = new XPTable.Models.DataSourceColumnBinder(); XPTable.Renderers.DragDropRenderer dragDropRenderer1 = new XPTable.Renderers.DragDropRenderer(); this.panel2 = new System.Windows.Forms.Panel(); this.table1 = new XPTable.Models.Table(); this.columnModel1 = new XPTable.Models.ColumnModel(); this.No = new XPTable.Models.TextColumn(); this.SellNo = new XPTable.Models.TextColumn(); this.Customer = new XPTable.Models.TextColumn(); this.Price = new XPTable.Models.NumberColumn(); this.Quantity = new XPTable.Models.NumberColumn(); this.SellPrice = new XPTable.Models.NumberColumn(); this.tableModel1 = new XPTable.Models.TableModel(); this.panel3 = new System.Windows.Forms.Panel(); this.btnCancel = new System.Windows.Forms.Button(); this.panel1 = new System.Windows.Forms.Panel(); this.gbHeader = new System.Windows.Forms.GroupBox(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.lblProduct = new System.Windows.Forms.Label(); this.lblName = new System.Windows.Forms.Label(); this.SellDate = new XPTable.Models.TextColumn(); this.cost = new XPTable.Models.NumberColumn(); this.PriceCost = new XPTable.Models.NumberColumn(); this.panel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.table1)).BeginInit(); this.panel3.SuspendLayout(); this.panel1.SuspendLayout(); this.gbHeader.SuspendLayout(); this.SuspendLayout(); // // panel2 // this.panel2.Controls.Add(this.table1); this.panel2.Controls.Add(this.panel3); this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; this.panel2.Location = new System.Drawing.Point(0, 58); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(799, 365); this.panel2.TabIndex = 3; // // table1 // this.table1.BorderColor = System.Drawing.Color.Black; this.table1.ColumnModel = this.columnModel1; this.table1.DataMember = null; this.table1.DataSourceColumnBinder = dataSourceColumnBinder1; this.table1.Dock = System.Windows.Forms.DockStyle.Fill; dragDropRenderer1.ForeColor = System.Drawing.Color.Red; this.table1.DragDropRenderer = dragDropRenderer1; this.table1.EnableHeaderContextMenu = false; this.table1.FullRowSelect = true; this.table1.GridLines = XPTable.Models.GridLines.Both; this.table1.GridLinesContrainedToData = false; this.table1.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.table1.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; this.table1.Location = new System.Drawing.Point(0, 0); this.table1.Name = "table1"; this.table1.NoItemsText = ""; this.table1.SelectionStyle = XPTable.Models.SelectionStyle.Grid; this.table1.Size = new System.Drawing.Size(799, 323); this.table1.TabIndex = 15; this.table1.TableModel = this.tableModel1; this.table1.Text = "table1"; this.table1.UnfocusedBorderColor = System.Drawing.Color.Black; this.table1.CellDoubleClick += new XPTable.Events.CellMouseEventHandler(this.table1_CellDoubleClick); // // columnModel1 // this.columnModel1.Columns.AddRange(new XPTable.Models.Column[] { this.No, this.SellNo, this.SellDate, this.Customer, this.Price, this.Quantity, this.SellPrice, this.cost, this.PriceCost}); // // No // this.No.Alignment = XPTable.Models.ColumnAlignment.Center; this.No.Editable = false; this.No.IsTextTrimmed = false; this.No.Text = "ที่"; this.No.Width = 40; // // SellNo // this.SellNo.Editable = false; this.SellNo.IsTextTrimmed = false; this.SellNo.Text = "เลขที่ขาย"; this.SellNo.Width = 100; // // Customer // this.Customer.Editable = false; this.Customer.IsTextTrimmed = false; this.Customer.Text = "ลูกค้า"; this.Customer.Width = 130; // // Price // this.Price.Alignment = XPTable.Models.ColumnAlignment.Right; this.Price.Editable = false; this.Price.IsTextTrimmed = false; this.Price.Text = "ราคา"; this.Price.Width = 100; // // Quantity // this.Quantity.Alignment = XPTable.Models.ColumnAlignment.Right; this.Quantity.Editable = false; this.Quantity.IsTextTrimmed = false; this.Quantity.Text = "จำนวน"; this.Quantity.Width = 80; // // SellPrice // this.SellPrice.Alignment = XPTable.Models.ColumnAlignment.Right; this.SellPrice.Editable = false; this.SellPrice.IsTextTrimmed = false; this.SellPrice.Text = "ราคาขาย"; this.SellPrice.Width = 100; // // panel3 // this.panel3.Controls.Add(this.btnCancel); this.panel3.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel3.Location = new System.Drawing.Point(0, 323); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(799, 42); this.panel3.TabIndex = 14; // // btnCancel // this.btnCancel.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.btnCancel.Image = global::PowerPOS_Online.Properties.Resources.arrow_circle_225_left; this.btnCancel.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btnCancel.Location = new System.Drawing.Point(724, 6); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(66, 32); this.btnCancel.TabIndex = 16; this.btnCancel.Text = "ยกเลิก"; this.btnCancel.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.btnCancel.UseVisualStyleBackColor = true; this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); // // panel1 // this.panel1.Controls.Add(this.gbHeader); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(799, 58); this.panel1.TabIndex = 2; // // gbHeader // this.gbHeader.Controls.Add(this.label1); this.gbHeader.Controls.Add(this.label2); this.gbHeader.Controls.Add(this.lblProduct); this.gbHeader.Controls.Add(this.lblName); this.gbHeader.Location = new System.Drawing.Point(9, 3); this.gbHeader.Name = "gbHeader"; this.gbHeader.Size = new System.Drawing.Size(781, 46); this.gbHeader.TabIndex = 8; this.gbHeader.TabStop = false; // // label1 // this.label1.AutoSize = true; this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.label1.Location = new System.Drawing.Point(11, 16); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(71, 18); this.label1.TabIndex = 0; this.label1.Text = "รหัสสินค้า :"; // // label2 // this.label2.AutoSize = true; this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.label2.Location = new System.Drawing.Point(191, 16); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(63, 18); this.label2.TabIndex = 1; this.label2.Text = "ชื่อสินค้า :"; // // lblProduct // this.lblProduct.AutoSize = true; this.lblProduct.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.lblProduct.Location = new System.Drawing.Point(88, 16); this.lblProduct.Name = "lblProduct"; this.lblProduct.Size = new System.Drawing.Size(74, 18); this.lblProduct.TabIndex = 3; this.lblProduct.Text = "lblProduct"; // // lblName // this.lblName.AutoSize = true; this.lblName.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.lblName.Location = new System.Drawing.Point(260, 16); this.lblName.Name = "lblName"; this.lblName.Size = new System.Drawing.Size(62, 18); this.lblName.TabIndex = 4; this.lblName.Text = "lblName"; // // SellDate // this.SellDate.Editable = false; this.SellDate.IsTextTrimmed = false; this.SellDate.Text = "วันที่ขาย"; this.SellDate.Width = 150; // // cost // this.cost.IsTextTrimmed = false; this.cost.Visible = false; // // PriceCost // this.PriceCost.IsTextTrimmed = false; this.PriceCost.Visible = false; // // FmReturnSellDetail // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(799, 423); this.Controls.Add(this.panel2); this.Controls.Add(this.panel1); this.Name = "FmReturnSellDetail"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "เลือกบิลที่ต้องการรับคืน"; this.Load += new System.EventHandler(this.ReturnSellDetail_Load); this.panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.table1)).EndInit(); this.panel3.ResumeLayout(false); this.panel1.ResumeLayout(false); this.gbHeader.ResumeLayout(false); this.gbHeader.PerformLayout(); this.ResumeLayout(false); }
/// <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.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmMain)); XPTable.Models.DataSourceColumnBinder dataSourceColumnBinder2 = new XPTable.Models.DataSourceColumnBinder(); XPTable.Renderers.DragDropRenderer dragDropRenderer2 = new XPTable.Renderers.DragDropRenderer(); System.Windows.Forms.TreeNode treeNode5 = new System.Windows.Forms.TreeNode("All"); System.Windows.Forms.TreeNode treeNode6 = new System.Windows.Forms.TreeNode("Test"); System.Windows.Forms.TreeNode treeNode7 = new System.Windows.Forms.TreeNode("Incomplete", new System.Windows.Forms.TreeNode[] { treeNode6}); System.Windows.Forms.TreeNode treeNode8 = new System.Windows.Forms.TreeNode("Complete"); this.menuStrip = new System.Windows.Forms.MenuStrip(); this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.addURLToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator(); this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.editToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.helloToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.aboutLittleDownloadManagerToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.newToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.statusStrip = new System.Windows.Forms.StatusStrip(); this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel(); this.columnModel = new XPTable.Models.ColumnModel(); this.colNumPriority = new XPTable.Models.NumberColumn(); this.colTxtLocalFilename = new XPTable.Models.TextColumn(); this.colTxtFilesize = new XPTable.Models.TextColumn(); this.colPgbProgress = new XPTable.Models.ProgressBarColumn(); this.colTxtStatus = new XPTable.Models.TextColumn(); this.colTxtSpeed = new XPTable.Models.TextColumn(); this.colTxtETA = new XPTable.Models.TextColumn(); this.colTxtURL = new XPTable.Models.TextColumn(); this.colTxtLocalPath = new XPTable.Models.TextColumn(); this.colTxtComment = new XPTable.Models.TextColumn(); this.toolStrip = new System.Windows.Forms.ToolStrip(); this.tsbAddUrl = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.tsbDownload = new System.Windows.Forms.ToolStripButton(); this.tsbForceDownload = new System.Windows.Forms.ToolStripButton(); this.tsbStop = new System.Windows.Forms.ToolStripButton(); this.tsbPriorityDown = new System.Windows.Forms.ToolStripButton(); this.tsbPriorityUp = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator(); this.tsbOpen = new System.Windows.Forms.ToolStripButton(); this.tsbDelete = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.tsbValidateLinks = new System.Windows.Forms.ToolStripButton(); this.tsbCopyToClipboard = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); this.tsbOptions = new System.Windows.Forms.ToolStripButton(); this.tsbScheduler = new System.Windows.Forms.ToolStripButton(); this.tsbWebsite = new System.Windows.Forms.ToolStripButton(); this.tsbSearch = new System.Windows.Forms.ToolStripButton(); this.tstbSearch = new System.Windows.Forms.ToolStripTextBox(); this.table = new XPTable.Models.Table(); this.tableModel = new XPTable.Models.TableModel(); this.splitContainer1 = new System.Windows.Forms.SplitContainer(); this.tvCategories = new System.Windows.Forms.TreeView(); this.mnuTable = new System.Windows.Forms.ContextMenuStrip(this.components); this.mnuTableCopyLinksToClipboard = new System.Windows.Forms.ToolStripMenuItem(); this.menuStrip.SuspendLayout(); this.statusStrip.SuspendLayout(); this.toolStrip.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.table)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout(); this.splitContainer1.SuspendLayout(); this.mnuTable.SuspendLayout(); this.SuspendLayout(); // // menuStrip // this.menuStrip.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.World); this.menuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.fileToolStripMenuItem, this.editToolStripMenuItem, this.helpToolStripMenuItem}); this.menuStrip.Location = new System.Drawing.Point(0, 0); this.menuStrip.Name = "menuStrip"; this.menuStrip.Size = new System.Drawing.Size(785, 24); this.menuStrip.TabIndex = 0; this.menuStrip.Text = "menuStrip1"; this.menuStrip.ItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this.menuStrip1_ItemClicked); // // fileToolStripMenuItem // this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.addURLToolStripMenuItem, this.toolStripMenuItem1, this.exitToolStripMenuItem}); this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20); this.fileToolStripMenuItem.Text = "File"; this.fileToolStripMenuItem.Click += new System.EventHandler(this.fileToolStripMenuItem_Click); // // addURLToolStripMenuItem // this.addURLToolStripMenuItem.Name = "addURLToolStripMenuItem"; this.addURLToolStripMenuItem.Size = new System.Drawing.Size(120, 22); this.addURLToolStripMenuItem.Text = "Add URL"; this.addURLToolStripMenuItem.Click += new System.EventHandler(this.addURLToolStripMenuItem_Click); // // toolStripMenuItem1 // this.toolStripMenuItem1.Name = "toolStripMenuItem1"; this.toolStripMenuItem1.Size = new System.Drawing.Size(117, 6); // // exitToolStripMenuItem // this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; this.exitToolStripMenuItem.Size = new System.Drawing.Size(120, 22); this.exitToolStripMenuItem.Text = "Exit"; this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click); // // editToolStripMenuItem // this.editToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.helloToolStripMenuItem}); this.editToolStripMenuItem.Name = "editToolStripMenuItem"; this.editToolStripMenuItem.Size = new System.Drawing.Size(39, 20); this.editToolStripMenuItem.Text = "Edit"; this.editToolStripMenuItem.Click += new System.EventHandler(this.editToolStripMenuItem_Click); // // helloToolStripMenuItem // this.helloToolStripMenuItem.Name = "helloToolStripMenuItem"; this.helloToolStripMenuItem.Size = new System.Drawing.Size(102, 22); this.helloToolStripMenuItem.Text = "Hello"; this.helloToolStripMenuItem.Click += new System.EventHandler(this.helloToolStripMenuItem_Click); // // helpToolStripMenuItem // this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.aboutLittleDownloadManagerToolStripMenuItem}); this.helpToolStripMenuItem.Name = "helpToolStripMenuItem"; this.helpToolStripMenuItem.Size = new System.Drawing.Size(44, 20); this.helpToolStripMenuItem.Text = "Help"; // // aboutLittleDownloadManagerToolStripMenuItem // this.aboutLittleDownloadManagerToolStripMenuItem.Name = "aboutLittleDownloadManagerToolStripMenuItem"; this.aboutLittleDownloadManagerToolStripMenuItem.Size = new System.Drawing.Size(243, 22); this.aboutLittleDownloadManagerToolStripMenuItem.Text = "About Little Download Manager"; this.aboutLittleDownloadManagerToolStripMenuItem.Click += new System.EventHandler(this.aboutLittleDownloadManagerToolStripMenuItem_Click); // // newToolStripMenuItem // this.newToolStripMenuItem.Name = "newToolStripMenuItem"; this.newToolStripMenuItem.Size = new System.Drawing.Size(32, 19); // // statusStrip // this.statusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripStatusLabel1}); this.statusStrip.Location = new System.Drawing.Point(0, 497); this.statusStrip.Name = "statusStrip"; this.statusStrip.Size = new System.Drawing.Size(785, 22); this.statusStrip.TabIndex = 4; this.statusStrip.Text = "statusStrip1"; this.statusStrip.ItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this.statusStrip1_ItemClicked); // // toolStripStatusLabel1 // this.toolStripStatusLabel1.Name = "toolStripStatusLabel1"; this.toolStripStatusLabel1.Size = new System.Drawing.Size(118, 17); this.toolStripStatusLabel1.Text = "toolStripStatusLabel1"; // // columnModel // this.columnModel.Columns.AddRange(new XPTable.Models.Column[] { this.colNumPriority, this.colTxtLocalFilename, this.colTxtFilesize, this.colPgbProgress, this.colTxtStatus, this.colTxtSpeed, this.colTxtETA, this.colTxtURL, this.colTxtLocalPath, this.colTxtComment}); this.columnModel.HeaderHeight = 24; // // colNumPriority // this.colNumPriority.Alignment = XPTable.Models.ColumnAlignment.Center; this.colNumPriority.Editable = false; this.colNumPriority.ImageOnRight = true; this.colNumPriority.IsTextTrimmed = false; this.colNumPriority.Maximum = new decimal(new int[] { 0, 0, 0, 0}); this.colNumPriority.Text = "#"; this.colNumPriority.ToolTipText = "Priority"; this.colNumPriority.Width = 30; // // colTxtLocalFilename // this.colTxtLocalFilename.Editable = false; this.colTxtLocalFilename.IsTextTrimmed = false; this.colTxtLocalFilename.Text = "Local Filename"; this.colTxtLocalFilename.Width = 190; // // colTxtFilesize // this.colTxtFilesize.Editable = false; this.colTxtFilesize.IsTextTrimmed = false; this.colTxtFilesize.Text = "Size"; this.colTxtFilesize.Width = 65; // // colPgbProgress // this.colPgbProgress.IsTextTrimmed = false; this.colPgbProgress.Text = "Progress"; this.colPgbProgress.Width = 120; // // colTxtStatus // this.colTxtStatus.Editable = false; this.colTxtStatus.IsTextTrimmed = false; this.colTxtStatus.Text = "Status"; this.colTxtStatus.Width = 95; // // colTxtSpeed // this.colTxtSpeed.Editable = false; this.colTxtSpeed.IsTextTrimmed = false; this.colTxtSpeed.Text = "Speed"; this.colTxtSpeed.Width = 65; // // colTxtETA // this.colTxtETA.Editable = false; this.colTxtETA.IsTextTrimmed = false; this.colTxtETA.Text = "ETA"; this.colTxtETA.Width = 65; // // colTxtURL // this.colTxtURL.Editable = false; this.colTxtURL.IsTextTrimmed = false; this.colTxtURL.Text = "URL"; this.colTxtURL.Width = 240; // // colTxtLocalPath // this.colTxtLocalPath.Editable = false; this.colTxtLocalPath.IsTextTrimmed = false; this.colTxtLocalPath.Text = "Local Path"; this.colTxtLocalPath.Width = 240; // // colTxtComment // this.colTxtComment.IsTextTrimmed = false; this.colTxtComment.Text = "Comment"; this.colTxtComment.ToolTipText = "Right click an item and press \'Edit Comment\' to set/change comment."; this.colTxtComment.Width = 220; // // toolStrip // this.toolStrip.AutoSize = false; this.toolStrip.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.World); this.toolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tsbAddUrl, this.toolStripSeparator1, this.tsbDownload, this.tsbForceDownload, this.tsbStop, this.tsbPriorityDown, this.tsbPriorityUp, this.toolStripSeparator5, this.tsbOpen, this.tsbDelete, this.toolStripSeparator2, this.tsbValidateLinks, this.tsbCopyToClipboard, this.toolStripSeparator4, this.tsbOptions, this.tsbScheduler, this.tsbWebsite, this.tsbSearch, this.tstbSearch}); this.toolStrip.Location = new System.Drawing.Point(0, 24); this.toolStrip.Name = "toolStrip"; this.toolStrip.Size = new System.Drawing.Size(785, 37); this.toolStrip.TabIndex = 6; this.toolStrip.Text = "toolStrip1"; // // tsbAddUrl // this.tsbAddUrl.AutoSize = false; this.tsbAddUrl.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.tsbAddUrl.Image = ((System.Drawing.Image)(resources.GetObject("tsbAddUrl.Image"))); this.tsbAddUrl.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.tsbAddUrl.ImageTransparentColor = System.Drawing.Color.Magenta; this.tsbAddUrl.Name = "tsbAddUrl"; this.tsbAddUrl.Size = new System.Drawing.Size(36, 36); this.tsbAddUrl.Text = "Add URL"; this.tsbAddUrl.Click += new System.EventHandler(this.toolStripButton1_Click); // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(6, 37); // // tsbDownload // this.tsbDownload.AutoSize = false; this.tsbDownload.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.tsbDownload.Image = ((System.Drawing.Image)(resources.GetObject("tsbDownload.Image"))); this.tsbDownload.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.tsbDownload.ImageTransparentColor = System.Drawing.Color.Magenta; this.tsbDownload.Name = "tsbDownload"; this.tsbDownload.Size = new System.Drawing.Size(36, 36); this.tsbDownload.Text = "toolStripButton2"; this.tsbDownload.ToolTipText = "Download/Queue"; // // tsbForceDownload // this.tsbForceDownload.AutoSize = false; this.tsbForceDownload.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.tsbForceDownload.Image = ((System.Drawing.Image)(resources.GetObject("tsbForceDownload.Image"))); this.tsbForceDownload.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.tsbForceDownload.ImageTransparentColor = System.Drawing.Color.Magenta; this.tsbForceDownload.Name = "tsbForceDownload"; this.tsbForceDownload.Size = new System.Drawing.Size(36, 36); this.tsbForceDownload.Text = "toolStripButton9"; this.tsbForceDownload.ToolTipText = "Force Download"; // // tsbStop // this.tsbStop.AutoSize = false; this.tsbStop.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.tsbStop.Image = ((System.Drawing.Image)(resources.GetObject("tsbStop.Image"))); this.tsbStop.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.tsbStop.ImageTransparentColor = System.Drawing.Color.Magenta; this.tsbStop.Name = "tsbStop"; this.tsbStop.Size = new System.Drawing.Size(36, 36); this.tsbStop.Text = "toolStripButton3"; this.tsbStop.ToolTipText = "Stop"; // // tsbPriorityDown // this.tsbPriorityDown.AutoSize = false; this.tsbPriorityDown.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.tsbPriorityDown.Image = ((System.Drawing.Image)(resources.GetObject("tsbPriorityDown.Image"))); this.tsbPriorityDown.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.tsbPriorityDown.ImageTransparentColor = System.Drawing.Color.Magenta; this.tsbPriorityDown.Name = "tsbPriorityDown"; this.tsbPriorityDown.Size = new System.Drawing.Size(36, 36); this.tsbPriorityDown.Text = "toolStripButton13"; this.tsbPriorityDown.ToolTipText = "Lower Priority"; this.tsbPriorityDown.Click += new System.EventHandler(this.tsbPriorityDown_Click); // // tsbPriorityUp // this.tsbPriorityUp.AutoSize = false; this.tsbPriorityUp.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.tsbPriorityUp.Image = ((System.Drawing.Image)(resources.GetObject("tsbPriorityUp.Image"))); this.tsbPriorityUp.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.tsbPriorityUp.ImageTransparentColor = System.Drawing.Color.Magenta; this.tsbPriorityUp.Name = "tsbPriorityUp"; this.tsbPriorityUp.Size = new System.Drawing.Size(36, 36); this.tsbPriorityUp.Text = "toolStripButton12"; this.tsbPriorityUp.ToolTipText = "Raise Priority"; this.tsbPriorityUp.Click += new System.EventHandler(this.tsbPriorityUp_Click); // // toolStripSeparator5 // this.toolStripSeparator5.Name = "toolStripSeparator5"; this.toolStripSeparator5.Size = new System.Drawing.Size(6, 37); // // tsbOpen // this.tsbOpen.AutoSize = false; this.tsbOpen.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.tsbOpen.Image = ((System.Drawing.Image)(resources.GetObject("tsbOpen.Image"))); this.tsbOpen.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.tsbOpen.ImageTransparentColor = System.Drawing.Color.Magenta; this.tsbOpen.Name = "tsbOpen"; this.tsbOpen.Size = new System.Drawing.Size(36, 36); this.tsbOpen.Text = "toolStripButton5"; this.tsbOpen.ToolTipText = "Open File"; // // tsbDelete // this.tsbDelete.AutoSize = false; this.tsbDelete.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.tsbDelete.Image = ((System.Drawing.Image)(resources.GetObject("tsbDelete.Image"))); this.tsbDelete.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.tsbDelete.ImageTransparentColor = System.Drawing.Color.Magenta; this.tsbDelete.Name = "tsbDelete"; this.tsbDelete.Size = new System.Drawing.Size(36, 36); this.tsbDelete.Text = "toolStripButton4"; this.tsbDelete.ToolTipText = "Delete"; this.tsbDelete.Click += new System.EventHandler(this.tsbDelete_Click); // // toolStripSeparator2 // this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new System.Drawing.Size(6, 37); // // tsbValidateLinks // this.tsbValidateLinks.AutoSize = false; this.tsbValidateLinks.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.tsbValidateLinks.Image = ((System.Drawing.Image)(resources.GetObject("tsbValidateLinks.Image"))); this.tsbValidateLinks.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.tsbValidateLinks.ImageTransparentColor = System.Drawing.Color.Magenta; this.tsbValidateLinks.Name = "tsbValidateLinks"; this.tsbValidateLinks.Size = new System.Drawing.Size(36, 36); this.tsbValidateLinks.Text = "toolStripButton10"; this.tsbValidateLinks.ToolTipText = "Validate Links"; this.tsbValidateLinks.Click += new System.EventHandler(this.tsbValidateLinks_Click); // // tsbCopyToClipboard // this.tsbCopyToClipboard.AutoSize = false; this.tsbCopyToClipboard.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.tsbCopyToClipboard.Image = ((System.Drawing.Image)(resources.GetObject("tsbCopyToClipboard.Image"))); this.tsbCopyToClipboard.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.tsbCopyToClipboard.ImageTransparentColor = System.Drawing.Color.Magenta; this.tsbCopyToClipboard.Name = "tsbCopyToClipboard"; this.tsbCopyToClipboard.Size = new System.Drawing.Size(36, 36); this.tsbCopyToClipboard.Text = "toolStripButton8"; this.tsbCopyToClipboard.ToolTipText = "Copy Selected Links To Clipboard"; this.tsbCopyToClipboard.Click += new System.EventHandler(this.tsbCopyToClipboard_Click); // // toolStripSeparator4 // this.toolStripSeparator4.Name = "toolStripSeparator4"; this.toolStripSeparator4.Size = new System.Drawing.Size(6, 37); // // tsbOptions // this.tsbOptions.AutoSize = false; this.tsbOptions.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.tsbOptions.Image = ((System.Drawing.Image)(resources.GetObject("tsbOptions.Image"))); this.tsbOptions.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.tsbOptions.ImageTransparentColor = System.Drawing.Color.Magenta; this.tsbOptions.Name = "tsbOptions"; this.tsbOptions.Size = new System.Drawing.Size(36, 36); this.tsbOptions.Text = "toolStripButton6"; this.tsbOptions.ToolTipText = "Options"; // // tsbScheduler // this.tsbScheduler.AutoSize = false; this.tsbScheduler.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.tsbScheduler.Image = ((System.Drawing.Image)(resources.GetObject("tsbScheduler.Image"))); this.tsbScheduler.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.tsbScheduler.ImageTransparentColor = System.Drawing.Color.Magenta; this.tsbScheduler.Name = "tsbScheduler"; this.tsbScheduler.Size = new System.Drawing.Size(36, 36); this.tsbScheduler.Text = "toolStripButton7"; this.tsbScheduler.ToolTipText = "Scheduler"; // // tsbWebsite // this.tsbWebsite.AutoSize = false; this.tsbWebsite.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.tsbWebsite.Image = ((System.Drawing.Image)(resources.GetObject("tsbWebsite.Image"))); this.tsbWebsite.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.tsbWebsite.ImageTransparentColor = System.Drawing.Color.Magenta; this.tsbWebsite.Name = "tsbWebsite"; this.tsbWebsite.Size = new System.Drawing.Size(36, 36); this.tsbWebsite.Text = "toolStripButton11"; this.tsbWebsite.ToolTipText = "Visit Application\'s Website"; this.tsbWebsite.Click += new System.EventHandler(this.tsbWebsite_Click); // // tsbSearch // this.tsbSearch.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; this.tsbSearch.AutoSize = false; this.tsbSearch.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.tsbSearch.Image = ((System.Drawing.Image)(resources.GetObject("tsbSearch.Image"))); this.tsbSearch.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.tsbSearch.ImageTransparentColor = System.Drawing.Color.Magenta; this.tsbSearch.Name = "tsbSearch"; this.tsbSearch.Size = new System.Drawing.Size(36, 36); this.tsbSearch.Text = "Run Search"; // // tstbSearch // this.tstbSearch.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; this.tstbSearch.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.tstbSearch.Name = "tstbSearch"; this.tstbSearch.Size = new System.Drawing.Size(150, 37); this.tstbSearch.ToolTipText = "Search Text"; // // table // this.table.BorderColor = System.Drawing.Color.Black; this.table.ColumnModel = this.columnModel; this.table.ContextMenuStrip = this.mnuTable; this.table.DataMember = null; this.table.DataSourceColumnBinder = dataSourceColumnBinder2; this.table.Dock = System.Windows.Forms.DockStyle.Fill; dragDropRenderer2.ForeColor = System.Drawing.Color.Red; this.table.DragDropRenderer = dragDropRenderer2; this.table.EnableToolTips = true; this.table.FullRowSelect = true; this.table.GridLines = XPTable.Models.GridLines.Both; this.table.GridLinesContrainedToData = false; this.table.Location = new System.Drawing.Point(0, 0); this.table.MultiSelect = true; this.table.Name = "table"; this.table.NoItemsText = ""; this.table.ShowSelectionRectangle = false; this.table.Size = new System.Drawing.Size(607, 437); this.table.TabIndex = 0; this.table.TableModel = this.tableModel; this.table.Text = "table1"; this.table.UnfocusedBorderColor = System.Drawing.Color.Black; // // tableModel // this.tableModel.RowHeight = 18; // // splitContainer1 // this.splitContainer1.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.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1; this.splitContainer1.Location = new System.Drawing.Point(0, 60); this.splitContainer1.Name = "splitContainer1"; // // splitContainer1.Panel1 // this.splitContainer1.Panel1.Controls.Add(this.tvCategories); // // splitContainer1.Panel2 // this.splitContainer1.Panel2.Controls.Add(this.table); this.splitContainer1.Size = new System.Drawing.Size(785, 437); this.splitContainer1.SplitterDistance = 174; this.splitContainer1.TabIndex = 7; this.splitContainer1.TabStop = false; this.splitContainer1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.splitContainer1_MouseDown); this.splitContainer1.MouseUp += new System.Windows.Forms.MouseEventHandler(this.splitContainer1_MouseUp); // // tvCategories // this.tvCategories.Dock = System.Windows.Forms.DockStyle.Fill; this.tvCategories.FullRowSelect = true; this.tvCategories.HideSelection = false; this.tvCategories.ItemHeight = 22; this.tvCategories.Location = new System.Drawing.Point(0, 0); this.tvCategories.Name = "tvCategories"; treeNode5.Name = "Node0"; treeNode5.Text = "All"; treeNode6.Name = "Node5"; treeNode6.Text = "Test"; treeNode7.Name = "Node1"; treeNode7.Text = "Incomplete"; treeNode8.Name = "Node2"; treeNode8.Text = "Complete"; this.tvCategories.Nodes.AddRange(new System.Windows.Forms.TreeNode[] { treeNode5, treeNode7, treeNode8}); this.tvCategories.ShowLines = false; this.tvCategories.Size = new System.Drawing.Size(174, 437); this.tvCategories.TabIndex = 0; this.tvCategories.BeforeSelect += new System.Windows.Forms.TreeViewCancelEventHandler(this.treeView1_BeforeSelect); this.tvCategories.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterSelect); // // mnuTable // this.mnuTable.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.mnuTableCopyLinksToClipboard}); this.mnuTable.Name = "mnuTable"; this.mnuTable.Size = new System.Drawing.Size(252, 26); // // mnuTableCopyLinksToClipboard // this.mnuTableCopyLinksToClipboard.Name = "mnuTableCopyLinksToClipboard"; this.mnuTableCopyLinksToClipboard.Size = new System.Drawing.Size(251, 22); this.mnuTableCopyLinksToClipboard.Text = "Copy Selected Links To Clipboard"; this.mnuTableCopyLinksToClipboard.Click += new System.EventHandler(this.mnuTableCopyLinksToClipboard_Click); // // frmMain // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(785, 519); this.Controls.Add(this.splitContainer1); this.Controls.Add(this.toolStrip); this.Controls.Add(this.statusStrip); this.Controls.Add(this.menuStrip); this.MainMenuStrip = this.menuStrip; this.Name = "frmMain"; this.Text = "Little Download Manager v0.1"; this.Load += new System.EventHandler(this.frmMain_Load); this.menuStrip.ResumeLayout(false); this.menuStrip.PerformLayout(); this.statusStrip.ResumeLayout(false); this.statusStrip.PerformLayout(); this.toolStrip.ResumeLayout(false); this.toolStrip.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.table)).EndInit(); this.splitContainer1.Panel1.ResumeLayout(false); this.splitContainer1.Panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit(); this.splitContainer1.ResumeLayout(false); this.mnuTable.ResumeLayout(false); 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() { XPTable.Models.DataSourceColumnBinder dataSourceColumnBinder1 = new XPTable.Models.DataSourceColumnBinder(); XPTable.Renderers.DragDropRenderer dragDropRenderer1 = new XPTable.Renderers.DragDropRenderer(); XPTable.Models.Row row1 = new XPTable.Models.Row(); XPTable.Models.Cell cell1 = new XPTable.Models.Cell(); XPTable.Models.CellStyle cellStyle1 = new XPTable.Models.CellStyle(); XPTable.Models.Cell cell2 = new XPTable.Models.Cell(); XPTable.Models.CellStyle cellStyle2 = new XPTable.Models.CellStyle(); XPTable.Models.Cell cell3 = new XPTable.Models.Cell(); XPTable.Models.CellStyle cellStyle3 = new XPTable.Models.CellStyle(); this.table1 = new XPTable.Models.Table(); this.columnModel1 = new XPTable.Models.ColumnModel(); this.textColumn1 = new XPTable.Models.TextColumn(); this.textColumn2 = new XPTable.Models.TextColumn(); this.textColumn3 = new XPTable.Models.TextColumn(); this.tableModel1 = new XPTable.Models.TableModel(); this.textColumn4 = new XPTable.Models.TextColumn(); this.textColumn5 = new XPTable.Models.TextColumn(); this.textColumn6 = new XPTable.Models.TextColumn(); this.textColumn7 = new XPTable.Models.TextColumn(); this.textColumn8 = new XPTable.Models.TextColumn(); this.textColumn9 = new XPTable.Models.TextColumn(); this.textColumn10 = new XPTable.Models.TextColumn(); this.textColumn11 = new XPTable.Models.TextColumn(); this.textColumn12 = new XPTable.Models.TextColumn(); this.textColumn13 = new XPTable.Models.TextColumn(); this.textColumn14 = new XPTable.Models.TextColumn(); ((System.ComponentModel.ISupportInitialize)(this.table1)).BeginInit(); this.SuspendLayout(); // // table1 // this.table1.BorderColor = System.Drawing.Color.Black; this.table1.ColumnModel = this.columnModel1; this.table1.DataMember = null; this.table1.DataSourceColumnBinder = dataSourceColumnBinder1; this.table1.Dock = System.Windows.Forms.DockStyle.Fill; dragDropRenderer1.ForeColor = System.Drawing.Color.Red; this.table1.DragDropRenderer = dragDropRenderer1; this.table1.GridLinesContrainedToData = false; this.table1.Location = new System.Drawing.Point(0, 0); this.table1.Name = "table1"; this.table1.Size = new System.Drawing.Size(856, 481); this.table1.TabIndex = 0; this.table1.TableModel = this.tableModel1; this.table1.Text = "table1"; this.table1.UnfocusedBorderColor = System.Drawing.Color.Black; // // columnModel1 // this.columnModel1.Columns.AddRange(new XPTable.Models.Column[] { this.textColumn1, this.textColumn2, this.textColumn3, this.textColumn4, this.textColumn5, this.textColumn6, this.textColumn7, this.textColumn8, this.textColumn9, this.textColumn10, this.textColumn11, this.textColumn12, this.textColumn13, this.textColumn14 }); // // textColumn1 // this.textColumn1.IsTextTrimmed = false; this.textColumn1.Text = "a"; // // textColumn2 // this.textColumn2.IsTextTrimmed = false; this.textColumn2.Text = "b"; // // textColumn3 // this.textColumn3.IsTextTrimmed = false; this.textColumn3.Text = "c"; // // tableModel1 // cellStyle1.Alignment = XPTable.Models.ColumnAlignment.Left; cellStyle1.BackColor = System.Drawing.Color.Empty; cellStyle1.Font = null; cellStyle1.ForeColor = System.Drawing.Color.Empty; cellStyle1.LineAlignment = XPTable.Models.RowAlignment.Top; cellStyle1.Padding = new XPTable.Models.CellPadding(0, 0, 0, 0); cellStyle1.WordWrap = false; cell1.CellStyle = cellStyle1; cell1.ContentWidth = 53; cell1.Text = "sdsafasdf"; cell1.WordWrap = false; cellStyle2.Alignment = XPTable.Models.ColumnAlignment.Left; cellStyle2.BackColor = System.Drawing.Color.Empty; cellStyle2.Font = null; cellStyle2.ForeColor = System.Drawing.Color.Empty; cellStyle2.LineAlignment = XPTable.Models.RowAlignment.Top; cellStyle2.Padding = new XPTable.Models.CellPadding(0, 0, 0, 0); cellStyle2.WordWrap = false; cell2.CellStyle = cellStyle2; cell2.ContentWidth = 72; cell2.Text = "asdgsadhgsd"; cell2.WordWrap = false; cellStyle3.Alignment = XPTable.Models.ColumnAlignment.Left; cellStyle3.BackColor = System.Drawing.Color.Empty; cellStyle3.Font = null; cellStyle3.ForeColor = System.Drawing.Color.Empty; cellStyle3.LineAlignment = XPTable.Models.RowAlignment.Top; cellStyle3.Padding = new XPTable.Models.CellPadding(0, 0, 0, 0); cellStyle3.WordWrap = false; cell3.CellStyle = cellStyle3; cell3.ContentWidth = 78; cell3.Text = "asdgsadhgsad"; cell3.WordWrap = false; row1.Cells.AddRange(new XPTable.Models.Cell[] { cell1, cell2, cell3 }); row1.ChildIndex = 0; row1.ExpandSubRows = true; row1.Height = 15; this.tableModel1.Rows.AddRange(new XPTable.Models.Row[] { row1 }); // // textColumn4 // this.textColumn4.IsTextTrimmed = false; this.textColumn4.Text = "d"; // // textColumn5 // this.textColumn5.IsTextTrimmed = false; this.textColumn5.Text = "e"; // // textColumn6 // this.textColumn6.IsTextTrimmed = false; this.textColumn6.Text = "f"; // // textColumn7 // this.textColumn7.IsTextTrimmed = false; this.textColumn7.Text = "g"; // // textColumn8 // this.textColumn8.IsTextTrimmed = false; this.textColumn8.Text = "h"; // // textColumn9 // this.textColumn9.IsTextTrimmed = false; this.textColumn9.Text = "i"; // // textColumn10 // this.textColumn10.IsTextTrimmed = false; this.textColumn10.Text = "j"; // // textColumn11 // this.textColumn11.IsTextTrimmed = false; this.textColumn11.Text = "k"; // // textColumn12 // this.textColumn12.IsTextTrimmed = false; this.textColumn12.Text = "l"; // // textColumn13 // this.textColumn13.IsTextTrimmed = false; this.textColumn13.Text = "m"; // // textColumn14 // this.textColumn14.IsTextTrimmed = false; this.textColumn14.Text = "n"; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(856, 481); this.Controls.Add(this.table1); this.Name = "Form1"; this.Text = "Form1"; ((System.ComponentModel.ISupportInitialize)(this.table1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { XPTable.Models.DataSourceColumnBinder dataSourceColumnBinder1 = new XPTable.Models.DataSourceColumnBinder(); XPTable.Renderers.DragDropRenderer dragDropRenderer1 = new XPTable.Renderers.DragDropRenderer(); XPTable.Models.Row row1 = new XPTable.Models.Row(); XPTable.Models.Cell cell1 = new XPTable.Models.Cell(); XPTable.Models.CellStyle cellStyle1 = new XPTable.Models.CellStyle(); XPTable.Models.Cell cell2 = new XPTable.Models.Cell(); XPTable.Models.CellStyle cellStyle2 = new XPTable.Models.CellStyle(); XPTable.Models.Cell cell3 = new XPTable.Models.Cell(); XPTable.Models.CellStyle cellStyle3 = new XPTable.Models.CellStyle(); this.table1 = new XPTable.Models.Table(); this.columnModel1 = new XPTable.Models.ColumnModel(); this.textColumn1 = new XPTable.Models.TextColumn(); this.textColumn2 = new XPTable.Models.TextColumn(); this.textColumn3 = new XPTable.Models.TextColumn(); this.tableModel1 = new XPTable.Models.TableModel(); this.textColumn4 = new XPTable.Models.TextColumn(); this.textColumn5 = new XPTable.Models.TextColumn(); this.textColumn6 = new XPTable.Models.TextColumn(); this.textColumn7 = new XPTable.Models.TextColumn(); this.textColumn8 = new XPTable.Models.TextColumn(); this.textColumn9 = new XPTable.Models.TextColumn(); this.textColumn10 = new XPTable.Models.TextColumn(); this.textColumn11 = new XPTable.Models.TextColumn(); this.textColumn12 = new XPTable.Models.TextColumn(); this.textColumn13 = new XPTable.Models.TextColumn(); this.textColumn14 = new XPTable.Models.TextColumn(); ((System.ComponentModel.ISupportInitialize)(this.table1)).BeginInit(); this.SuspendLayout(); // // table1 // this.table1.BorderColor = System.Drawing.Color.Black; this.table1.ColumnModel = this.columnModel1; this.table1.DataMember = null; this.table1.DataSourceColumnBinder = dataSourceColumnBinder1; this.table1.Dock = System.Windows.Forms.DockStyle.Fill; dragDropRenderer1.ForeColor = System.Drawing.Color.Red; this.table1.DragDropRenderer = dragDropRenderer1; this.table1.GridLinesContrainedToData = false; this.table1.Location = new System.Drawing.Point(0, 0); this.table1.Name = "table1"; this.table1.Size = new System.Drawing.Size(856, 481); this.table1.TabIndex = 0; this.table1.TableModel = this.tableModel1; this.table1.Text = "table1"; this.table1.UnfocusedBorderColor = System.Drawing.Color.Black; // // columnModel1 // this.columnModel1.Columns.AddRange(new XPTable.Models.Column[] { this.textColumn1, this.textColumn2, this.textColumn3, this.textColumn4, this.textColumn5, this.textColumn6, this.textColumn7, this.textColumn8, this.textColumn9, this.textColumn10, this.textColumn11, this.textColumn12, this.textColumn13, this.textColumn14}); // // textColumn1 // this.textColumn1.IsTextTrimmed = false; this.textColumn1.Text = "a"; // // textColumn2 // this.textColumn2.IsTextTrimmed = false; this.textColumn2.Text = "b"; // // textColumn3 // this.textColumn3.IsTextTrimmed = false; this.textColumn3.Text = "c"; // // tableModel1 // cellStyle1.Alignment = XPTable.Models.ColumnAlignment.Left; cellStyle1.BackColor = System.Drawing.Color.Empty; cellStyle1.Font = null; cellStyle1.ForeColor = System.Drawing.Color.Empty; cellStyle1.LineAlignment = XPTable.Models.RowAlignment.Top; cellStyle1.Padding = new XPTable.Models.CellPadding(0, 0, 0, 0); cellStyle1.WordWrap = false; cell1.CellStyle = cellStyle1; cell1.ContentWidth = 53; cell1.Text = "sdsafasdf"; cell1.WordWrap = false; cellStyle2.Alignment = XPTable.Models.ColumnAlignment.Left; cellStyle2.BackColor = System.Drawing.Color.Empty; cellStyle2.Font = null; cellStyle2.ForeColor = System.Drawing.Color.Empty; cellStyle2.LineAlignment = XPTable.Models.RowAlignment.Top; cellStyle2.Padding = new XPTable.Models.CellPadding(0, 0, 0, 0); cellStyle2.WordWrap = false; cell2.CellStyle = cellStyle2; cell2.ContentWidth = 72; cell2.Text = "asdgsadhgsd"; cell2.WordWrap = false; cellStyle3.Alignment = XPTable.Models.ColumnAlignment.Left; cellStyle3.BackColor = System.Drawing.Color.Empty; cellStyle3.Font = null; cellStyle3.ForeColor = System.Drawing.Color.Empty; cellStyle3.LineAlignment = XPTable.Models.RowAlignment.Top; cellStyle3.Padding = new XPTable.Models.CellPadding(0, 0, 0, 0); cellStyle3.WordWrap = false; cell3.CellStyle = cellStyle3; cell3.ContentWidth = 78; cell3.Text = "asdgsadhgsad"; cell3.WordWrap = false; row1.Cells.AddRange(new XPTable.Models.Cell[] { cell1, cell2, cell3}); row1.ChildIndex = 0; row1.ExpandSubRows = true; row1.Height = 15; this.tableModel1.Rows.AddRange(new XPTable.Models.Row[] { row1}); // // textColumn4 // this.textColumn4.IsTextTrimmed = false; this.textColumn4.Text = "d"; // // textColumn5 // this.textColumn5.IsTextTrimmed = false; this.textColumn5.Text = "e"; // // textColumn6 // this.textColumn6.IsTextTrimmed = false; this.textColumn6.Text = "f"; // // textColumn7 // this.textColumn7.IsTextTrimmed = false; this.textColumn7.Text = "g"; // // textColumn8 // this.textColumn8.IsTextTrimmed = false; this.textColumn8.Text = "h"; // // textColumn9 // this.textColumn9.IsTextTrimmed = false; this.textColumn9.Text = "i"; // // textColumn10 // this.textColumn10.IsTextTrimmed = false; this.textColumn10.Text = "j"; // // textColumn11 // this.textColumn11.IsTextTrimmed = false; this.textColumn11.Text = "k"; // // textColumn12 // this.textColumn12.IsTextTrimmed = false; this.textColumn12.Text = "l"; // // textColumn13 // this.textColumn13.IsTextTrimmed = false; this.textColumn13.Text = "m"; // // textColumn14 // this.textColumn14.IsTextTrimmed = false; this.textColumn14.Text = "n"; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(856, 481); this.Controls.Add(this.table1); this.Name = "Form1"; this.Text = "Form1"; ((System.ComponentModel.ISupportInitialize)(this.table1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { XPTable.Models.DataSourceColumnBinder dataSourceColumnBinder1 = new XPTable.Models.DataSourceColumnBinder(); XPTable.Renderers.DragDropRenderer dragDropRenderer1 = new XPTable.Renderers.DragDropRenderer(); this.panel1 = new System.Windows.Forms.Panel(); this.label1 = new System.Windows.Forms.Label(); this.bwSearch = new System.ComponentModel.BackgroundWorker(); this.columnModel1 = new XPTable.Models.ColumnModel(); this.cNo = new XPTable.Models.TextColumn(); this.cSellDate = new XPTable.Models.TextColumn(); this.cCustomerName = new XPTable.Models.TextColumn(); this.cSellPrice = new XPTable.Models.TextColumn(); this.tableModel1 = new XPTable.Models.TableModel(); this.bwGetProduct = new System.ComponentModel.BackgroundWorker(); this.bwDownloadImage = new System.ComponentModel.BackgroundWorker(); this.bwGetShopName = new System.ComponentModel.BackgroundWorker(); this.bwGetCustomerName = new System.ComponentModel.BackgroundWorker(); this.btnReturn = new System.Windows.Forms.Button(); this.clCustomer = new XPTable.Models.TextColumn(); this.clReceivedDate = new XPTable.Models.TextColumn(); this.clShop = new XPTable.Models.TextColumn(); this.clSellDate = new XPTable.Models.TextColumn(); this.clNo = new XPTable.Models.TextColumn(); this.ptbProduct = new System.Windows.Forms.PictureBox(); this.txtBarcode = new System.Windows.Forms.TextBox(); this.lblName = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.lblStatus = new System.Windows.Forms.Label(); this.panel4 = new System.Windows.Forms.Panel(); this.lblWarrantyStatus = new System.Windows.Forms.Label(); this.lblWarranty = new System.Windows.Forms.Label(); this.panel2 = new System.Windows.Forms.Panel(); this.panel3 = new System.Windows.Forms.Panel(); this.pnlBarcode = new System.Windows.Forms.Panel(); this.table1 = new XPTable.Models.Table(); this.cAmount = new XPTable.Models.NumberColumn(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.ptbProduct)).BeginInit(); this.panel2.SuspendLayout(); this.panel3.SuspendLayout(); this.pnlBarcode.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.table1)).BeginInit(); this.SuspendLayout(); // // panel1 // this.panel1.BackColor = System.Drawing.Color.DimGray; this.panel1.Controls.Add(this.label1); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(970, 39); this.panel1.TabIndex = 0; // // label1 // this.label1.AutoSize = true; this.label1.Dock = System.Windows.Forms.DockStyle.Fill; this.label1.Font = new System.Drawing.Font("DilleniaUPC", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.ForeColor = System.Drawing.Color.White; this.label1.Location = new System.Drawing.Point(0, 0); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(101, 38); this.label1.TabIndex = 1; this.label1.Text = "รับคืนสินค้า"; // // bwSearch // this.bwSearch.DoWork += new System.ComponentModel.DoWorkEventHandler(this.bwSearch_DoWork); this.bwSearch.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.bwSearch_RunWorkerCompleted); // // columnModel1 // this.columnModel1.Columns.AddRange(new XPTable.Models.Column[] { this.cNo, this.cSellDate, this.cCustomerName, this.cAmount, this.cSellPrice}); // // cNo // this.cNo.IsTextTrimmed = false; this.cNo.Text = "ที่"; this.cNo.Width = 40; // // cSellDate // this.cSellDate.IsTextTrimmed = false; this.cSellDate.Text = "วันที่ขายสินค้า"; this.cSellDate.Width = 150; // // cCustomerName // this.cCustomerName.IsTextTrimmed = false; this.cCustomerName.Text = "ชื่อลูกค้า"; this.cCustomerName.Width = 250; // // cSellPrice // this.cSellPrice.Alignment = XPTable.Models.ColumnAlignment.Right; this.cSellPrice.IsTextTrimmed = false; this.cSellPrice.Text = "ราคาขาย"; this.cSellPrice.Width = 100; // // bwGetProduct // this.bwGetProduct.DoWork += new System.ComponentModel.DoWorkEventHandler(this.bwGetProduct_DoWork); this.bwGetProduct.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.bwGetProduct_RunWorkerCompleted); // // bwGetCustomerName // this.bwGetCustomerName.DoWork += new System.ComponentModel.DoWorkEventHandler(this.bwGetCustomerName_DoWork); this.bwGetCustomerName.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.bwGetCustomerName_RunWorkerCompleted); // // btnReturn // this.btnReturn.Dock = System.Windows.Forms.DockStyle.Top; this.btnReturn.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btnReturn.Location = new System.Drawing.Point(0, 94); this.btnReturn.Name = "btnReturn"; this.btnReturn.Padding = new System.Windows.Forms.Padding(20, 0, 20, 0); this.btnReturn.Size = new System.Drawing.Size(233, 33); this.btnReturn.TabIndex = 4; this.btnReturn.Text = "รับคืนสินค้า"; this.btnReturn.UseVisualStyleBackColor = true; this.btnReturn.Visible = false; this.btnReturn.Click += new System.EventHandler(this.btnReturn_Click); // // clCustomer // this.clCustomer.Editable = false; this.clCustomer.IsTextTrimmed = false; this.clCustomer.Text = "ชื่อลูกค้า"; this.clCustomer.Width = 200; // // clReceivedDate // this.clReceivedDate.Alignment = XPTable.Models.ColumnAlignment.Center; this.clReceivedDate.Editable = false; this.clReceivedDate.IsTextTrimmed = false; this.clReceivedDate.Text = "วันที่รับสินค้าเข้า"; this.clReceivedDate.Width = 180; // // clShop // this.clShop.Editable = false; this.clShop.IsTextTrimmed = false; this.clShop.Text = "ชื่อร้าน"; this.clShop.Width = 240; // // clSellDate // this.clSellDate.Alignment = XPTable.Models.ColumnAlignment.Center; this.clSellDate.Editable = false; this.clSellDate.IsTextTrimmed = false; this.clSellDate.Text = "วันที่ขายสินค้า"; this.clSellDate.Width = 180; // // clNo // this.clNo.Alignment = XPTable.Models.ColumnAlignment.Center; this.clNo.Editable = false; this.clNo.IsTextTrimmed = false; this.clNo.Text = "ที่"; this.clNo.Width = 40; // // ptbProduct // this.ptbProduct.Dock = System.Windows.Forms.DockStyle.Top; this.ptbProduct.Location = new System.Drawing.Point(0, 132); this.ptbProduct.Name = "ptbProduct"; this.ptbProduct.Size = new System.Drawing.Size(233, 233); this.ptbProduct.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.ptbProduct.TabIndex = 3; this.ptbProduct.TabStop = false; this.ptbProduct.Visible = false; // // txtBarcode // this.txtBarcode.BackColor = System.Drawing.Color.Azure; this.txtBarcode.Font = new System.Drawing.Font("Arial", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtBarcode.ForeColor = System.Drawing.Color.MidnightBlue; this.txtBarcode.Location = new System.Drawing.Point(0, 24); this.txtBarcode.Name = "txtBarcode"; this.txtBarcode.Size = new System.Drawing.Size(233, 29); this.txtBarcode.TabIndex = 1; this.txtBarcode.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.txtBarcode.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtBarcode_KeyDown); // // lblName // this.lblName.Dock = System.Windows.Forms.DockStyle.Top; this.lblName.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.lblName.Location = new System.Drawing.Point(0, 0); this.lblName.Name = "lblName"; this.lblName.Size = new System.Drawing.Size(233, 38); this.lblName.TabIndex = 0; this.lblName.Text = "Cable Charger for iPhone5/5s/6/6 PLUS (SCALE) Yellow - REMAX"; this.lblName.TextAlign = System.Drawing.ContentAlignment.TopCenter; this.lblName.Visible = false; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(-3, 8); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(44, 13); this.label2.TabIndex = 1; this.label2.Text = "บาร์โค้ด"; // // lblStatus // this.lblStatus.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblStatus.ForeColor = System.Drawing.Color.Green; this.lblStatus.Location = new System.Drawing.Point(14, 56); this.lblStatus.Name = "lblStatus"; this.lblStatus.Size = new System.Drawing.Size(204, 23); this.lblStatus.TabIndex = 2; this.lblStatus.Text = "ไม่พบข้อมูลสินค้าชิ้นนี้"; this.lblStatus.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.lblStatus.Visible = false; // // panel4 // this.panel4.Dock = System.Windows.Forms.DockStyle.Top; this.panel4.Location = new System.Drawing.Point(0, 127); this.panel4.Name = "panel4"; this.panel4.Size = new System.Drawing.Size(233, 5); this.panel4.TabIndex = 5; // // lblWarrantyStatus // this.lblWarrantyStatus.Dock = System.Windows.Forms.DockStyle.Top; this.lblWarrantyStatus.Font = new System.Drawing.Font("DilleniaUPC", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.lblWarrantyStatus.ForeColor = System.Drawing.Color.Red; this.lblWarrantyStatus.Location = new System.Drawing.Point(0, 58); this.lblWarrantyStatus.Name = "lblWarrantyStatus"; this.lblWarrantyStatus.Size = new System.Drawing.Size(233, 36); this.lblWarrantyStatus.TabIndex = 2; this.lblWarrantyStatus.Text = "หมดประกันแล้ว"; this.lblWarrantyStatus.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.lblWarrantyStatus.Visible = false; // // lblWarranty // this.lblWarranty.Dock = System.Windows.Forms.DockStyle.Top; this.lblWarranty.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.lblWarranty.ForeColor = System.Drawing.Color.SteelBlue; this.lblWarranty.Location = new System.Drawing.Point(0, 38); this.lblWarranty.Name = "lblWarranty"; this.lblWarranty.Size = new System.Drawing.Size(233, 20); this.lblWarranty.TabIndex = 1; this.lblWarranty.Text = "รับคืนภายใน 7 วัน (เหลืออีก 5 วัน)"; this.lblWarranty.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.lblWarranty.Visible = false; // // panel2 // this.panel2.Controls.Add(this.ptbProduct); this.panel2.Controls.Add(this.panel4); this.panel2.Controls.Add(this.btnReturn); this.panel2.Controls.Add(this.lblWarrantyStatus); this.panel2.Controls.Add(this.lblWarranty); this.panel2.Controls.Add(this.lblName); this.panel2.Dock = System.Windows.Forms.DockStyle.Top; this.panel2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.panel2.Location = new System.Drawing.Point(7, 89); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(233, 378); this.panel2.TabIndex = 9; // // panel3 // this.panel3.Controls.Add(this.panel2); this.panel3.Controls.Add(this.pnlBarcode); this.panel3.Dock = System.Windows.Forms.DockStyle.Left; this.panel3.Location = new System.Drawing.Point(0, 39); this.panel3.Name = "panel3"; this.panel3.Padding = new System.Windows.Forms.Padding(7, 7, 7, 0); this.panel3.Size = new System.Drawing.Size(247, 530); this.panel3.TabIndex = 15; // // pnlBarcode // this.pnlBarcode.Controls.Add(this.txtBarcode); this.pnlBarcode.Controls.Add(this.label2); this.pnlBarcode.Controls.Add(this.lblStatus); this.pnlBarcode.Dock = System.Windows.Forms.DockStyle.Top; this.pnlBarcode.Location = new System.Drawing.Point(7, 7); this.pnlBarcode.Name = "pnlBarcode"; this.pnlBarcode.Size = new System.Drawing.Size(233, 82); this.pnlBarcode.TabIndex = 8; // // table1 // this.table1.BorderColor = System.Drawing.Color.Black; this.table1.ColumnModel = this.columnModel1; this.table1.DataMember = null; this.table1.DataSourceColumnBinder = dataSourceColumnBinder1; this.table1.Dock = System.Windows.Forms.DockStyle.Fill; dragDropRenderer1.ForeColor = System.Drawing.Color.Red; this.table1.DragDropRenderer = dragDropRenderer1; this.table1.EnableHeaderContextMenu = false; this.table1.FullRowSelect = true; this.table1.GridLines = XPTable.Models.GridLines.Both; this.table1.GridLinesContrainedToData = false; this.table1.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; this.table1.Location = new System.Drawing.Point(247, 39); this.table1.Name = "table1"; this.table1.NoItemsText = ""; this.table1.SelectionStyle = XPTable.Models.SelectionStyle.Grid; this.table1.Size = new System.Drawing.Size(723, 530); this.table1.TabIndex = 17; this.table1.TableModel = this.tableModel1; this.table1.Text = "table1"; this.table1.UnfocusedBorderColor = System.Drawing.Color.Black; // // cAmount // this.cAmount.Alignment = XPTable.Models.ColumnAlignment.Center; this.cAmount.IsTextTrimmed = false; this.cAmount.Text = "จำนวนสินค้า"; // // UcReturn // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.table1); this.Controls.Add(this.panel3); this.Controls.Add(this.panel1); this.Name = "UcReturn"; this.Size = new System.Drawing.Size(970, 569); this.Load += new System.EventHandler(this.UcReturn_Load); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.ptbProduct)).EndInit(); this.panel2.ResumeLayout(false); this.panel3.ResumeLayout(false); this.pnlBarcode.ResumeLayout(false); this.pnlBarcode.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.table1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { XPTable.Models.DataSourceColumnBinder dataSourceColumnBinder1 = new XPTable.Models.DataSourceColumnBinder(); XPTable.Renderers.DragDropRenderer dragDropRenderer1 = new XPTable.Renderers.DragDropRenderer(); this.panel2 = new System.Windows.Forms.Panel(); this.panel3 = new System.Windows.Forms.Panel(); this.btnCancel = new System.Windows.Forms.Button(); this.table1 = new XPTable.Models.Table(); this.columnModel1 = new XPTable.Models.ColumnModel(); this.clNo = new XPTable.Models.TextColumn(); this.clClaimNo = new XPTable.Models.TextColumn(); this.clClaimDate = new XPTable.Models.TextColumn(); this.clBarcode = new XPTable.Models.TextColumn(); this.clBarcodeClaim = new XPTable.Models.TextColumn(); this.clPriceClaim = new XPTable.Models.NumberColumn(); this.clOffice = new XPTable.Models.ImageColumn(); this.tableModel1 = new XPTable.Models.TableModel(); this.bwSearch = new System.ComponentModel.BackgroundWorker(); this.panel2.SuspendLayout(); this.panel3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.table1)).BeginInit(); this.SuspendLayout(); // // panel2 // this.panel2.Controls.Add(this.table1); this.panel2.Controls.Add(this.panel3); this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; this.panel2.Location = new System.Drawing.Point(0, 0); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(790, 344); this.panel2.TabIndex = 1; // // panel3 // this.panel3.Controls.Add(this.btnCancel); this.panel3.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel3.Location = new System.Drawing.Point(0, 301); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(790, 43); this.panel3.TabIndex = 1; // // btnCancel // this.btnCancel.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.btnCancel.Image = global::PowerPOS_Online.Properties.Resources.arrow_circle_225_left; this.btnCancel.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btnCancel.Location = new System.Drawing.Point(704, 5); this.btnCancel.Margin = new System.Windows.Forms.Padding(4); this.btnCancel.Name = "btnCancel"; this.btnCancel.Padding = new System.Windows.Forms.Padding(7, 0, 7, 0); this.btnCancel.Size = new System.Drawing.Size(76, 32); this.btnCancel.TabIndex = 16; this.btnCancel.Text = "ยกเลิก"; this.btnCancel.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.btnCancel.UseVisualStyleBackColor = true; this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); // // table1 // this.table1.BorderColor = System.Drawing.Color.Black; this.table1.ColumnModel = this.columnModel1; this.table1.DataMember = null; this.table1.DataSourceColumnBinder = dataSourceColumnBinder1; this.table1.Dock = System.Windows.Forms.DockStyle.Fill; dragDropRenderer1.ForeColor = System.Drawing.Color.Red; this.table1.DragDropRenderer = dragDropRenderer1; this.table1.EnableHeaderContextMenu = false; this.table1.FullRowSelect = true; this.table1.GridLines = XPTable.Models.GridLines.Both; this.table1.GridLinesContrainedToData = false; this.table1.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; this.table1.Location = new System.Drawing.Point(0, 0); this.table1.Name = "table1"; this.table1.NoItemsText = ""; this.table1.SelectionStyle = XPTable.Models.SelectionStyle.Grid; this.table1.Size = new System.Drawing.Size(790, 301); this.table1.TabIndex = 15; this.table1.TableModel = this.tableModel1; this.table1.Text = "table1"; this.table1.UnfocusedBorderColor = System.Drawing.Color.Black; // // columnModel1 // this.columnModel1.Columns.AddRange(new XPTable.Models.Column[] { this.clNo, this.clClaimNo, this.clClaimDate, this.clBarcode, this.clBarcodeClaim, this.clPriceClaim, this.clOffice }); // // clNo // this.clNo.IsTextTrimmed = false; this.clNo.Text = "ที่"; this.clNo.Width = 30; // // clClaimNo // this.clClaimNo.IsTextTrimmed = false; this.clClaimNo.Text = "เลขที่การเคลม"; this.clClaimNo.Width = 100; // // clClaimDate // this.clClaimDate.IsTextTrimmed = false; this.clClaimDate.Text = "วันที่เคลมสินค้า"; this.clClaimDate.Width = 170; // // clBarcode // this.clBarcode.IsTextTrimmed = false; this.clBarcode.Text = "บาร์โค้ด"; this.clBarcode.Width = 150; // // clBarcodeClaim // this.clBarcodeClaim.IsTextTrimmed = false; this.clBarcodeClaim.Text = "บาร์โค้ดเคลม"; this.clBarcodeClaim.Width = 150; // // clPriceClaim // this.clPriceClaim.Alignment = XPTable.Models.ColumnAlignment.Right; this.clPriceClaim.IsTextTrimmed = false; this.clPriceClaim.Text = "คืนเงิน"; this.clPriceClaim.Width = 80; // // clOffice // this.clOffice.Alignment = XPTable.Models.ColumnAlignment.Center; this.clOffice.DrawText = false; this.clOffice.ImageOnRight = true; this.clOffice.IsTextTrimmed = false; this.clOffice.Text = "ส่งคืนสำนักงาน"; this.clOffice.Width = 100; // // bwSearch // this.bwSearch.DoWork += new System.ComponentModel.DoWorkEventHandler(this.bwSearch_DoWork); this.bwSearch.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.bwSearch_RunWorkerCompleted); // // FmClaimHistory // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(790, 344); this.Controls.Add(this.panel2); this.Name = "FmClaimHistory"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "ประวัติการเคลมสินค้า"; this.Load += new System.EventHandler(this.FmClaimHistory_Load); this.panel2.ResumeLayout(false); this.panel3.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.table1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { XPTable.Models.DataSourceColumnBinder dataSourceColumnBinder2 = new XPTable.Models.DataSourceColumnBinder(); XPTable.Renderers.DragDropRenderer dragDropRenderer2 = new XPTable.Renderers.DragDropRenderer(); this.panel1 = new System.Windows.Forms.Panel(); this.panel2 = new System.Windows.Forms.Panel(); this.table1 = new XPTable.Models.Table(); this.columnModel1 = new XPTable.Models.ColumnModel(); this.No = new XPTable.Models.TextColumn(); this.ProductCode = new XPTable.Models.TextColumn(); this.ProductName = new XPTable.Models.TextColumn(); this.tableModel1 = new XPTable.Models.TableModel(); this.Price = new XPTable.Models.NumberColumn(); this.Quantity = new XPTable.Models.NumberColumn(); this.Total = new XPTable.Models.NumberColumn(); this.panel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.table1)).BeginInit(); this.SuspendLayout(); // // panel1 // this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(705, 62); this.panel1.TabIndex = 0; // // panel2 // this.panel2.Controls.Add(this.table1); this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; this.panel2.Location = new System.Drawing.Point(0, 62); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(705, 332); this.panel2.TabIndex = 1; // // table1 // this.table1.BorderColor = System.Drawing.Color.Black; this.table1.ColumnModel = this.columnModel1; this.table1.DataMember = null; this.table1.DataSourceColumnBinder = dataSourceColumnBinder2; this.table1.Dock = System.Windows.Forms.DockStyle.Fill; dragDropRenderer2.ForeColor = System.Drawing.Color.Red; this.table1.DragDropRenderer = dragDropRenderer2; this.table1.EnableHeaderContextMenu = false; this.table1.FullRowSelect = true; this.table1.GridLines = XPTable.Models.GridLines.Both; this.table1.GridLinesContrainedToData = false; this.table1.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.table1.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; this.table1.Location = new System.Drawing.Point(0, 0); this.table1.Name = "table1"; this.table1.NoItemsText = ""; this.table1.SelectionStyle = XPTable.Models.SelectionStyle.Grid; this.table1.Size = new System.Drawing.Size(705, 332); this.table1.TabIndex = 13; this.table1.TableModel = this.tableModel1; this.table1.TabStop = false; this.table1.Text = "table1"; this.table1.UnfocusedBorderColor = System.Drawing.Color.Black; // // columnModel1 // this.columnModel1.Columns.AddRange(new XPTable.Models.Column[] { this.No, this.ProductCode, this.ProductName, this.Price, this.Quantity, this.Total}); // // No // this.No.IsTextTrimmed = false; this.No.Text = "ที่"; this.No.Width = 40; // // ProductCode // this.ProductCode.IsTextTrimmed = false; this.ProductCode.Text = "รหัสสินค้า"; this.ProductCode.Width = 90; // // ProductName // this.ProductName.IsTextTrimmed = false; this.ProductName.Text = "ชื่อสินค้า"; this.ProductName.Width = 250; // // Price // this.Price.Alignment = XPTable.Models.ColumnAlignment.Right; this.Price.IsTextTrimmed = false; this.Price.Text = "ราคา"; // // Quantity // this.Quantity.Alignment = XPTable.Models.ColumnAlignment.Right; this.Quantity.IsTextTrimmed = false; this.Quantity.Text = "จำนวน"; // // Total // this.Total.Alignment = XPTable.Models.ColumnAlignment.Right; this.Total.IsTextTrimmed = false; this.Total.Text = "รวม"; // // FmSellDetial // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(705, 394); this.Controls.Add(this.panel2); this.Controls.Add(this.panel1); this.Name = "FmSellDetial"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "รายละเอียดการขาย"; this.Load += new System.EventHandler(this.FmSellDetial_Load); this.panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.table1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { XPTable.Models.DataSourceColumnBinder dataSourceColumnBinder1 = new XPTable.Models.DataSourceColumnBinder(); XPTable.Renderers.DragDropRenderer dragDropRenderer1 = new XPTable.Renderers.DragDropRenderer(); XPTable.Models.DataSourceColumnBinder dataSourceColumnBinder2 = new XPTable.Models.DataSourceColumnBinder(); XPTable.Renderers.DragDropRenderer dragDropRenderer2 = new XPTable.Renderers.DragDropRenderer(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Main)); this.splitContainer1 = new System.Windows.Forms.SplitContainer(); this.splitContainer2 = new System.Windows.Forms.SplitContainer(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.tblChannelStatus = new XPTable.Models.Table(); this.tblChannelStatus_Columns = new XPTable.Models.ColumnModel(); this.imageColumn1 = new XPTable.Models.ImageColumn(); this.textColumn1 = new XPTable.Models.TextColumn(); this.textColumn2 = new XPTable.Models.TextColumn(); this.textColumn3 = new XPTable.Models.TextColumn(); this.tblChannelStatus_Model = new XPTable.Models.TableModel(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.tblOutstationStatus = new XPTable.Models.Table(); this.tblOutstationStatus_Columns = new XPTable.Models.ColumnModel(); this.imageColumn2 = new XPTable.Models.ImageColumn(); this.textColumn4 = new XPTable.Models.TextColumn(); this.textColumn5 = new XPTable.Models.TextColumn(); this.textColumn6 = new XPTable.Models.TextColumn(); this.tblOutstationStatus_Model = new XPTable.Models.TableModel(); this.toolStrip1 = new System.Windows.Forms.ToolStrip(); this.toolStripButton1 = new System.Windows.Forms.ToolStripButton(); this.toolStripButton2 = new System.Windows.Forms.ToolStripButton(); this.toolStripButton3 = new System.Windows.Forms.ToolStripDropDownButton(); this.channelsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.outstationsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.pointsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripButton4 = new System.Windows.Forms.ToolStripButton(); this.toolStripButton5 = new System.Windows.Forms.ToolStripButton(); ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit(); this.splitContainer2.Panel1.SuspendLayout(); this.splitContainer2.Panel2.SuspendLayout(); this.splitContainer2.SuspendLayout(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.tblChannelStatus)).BeginInit(); this.groupBox2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.tblOutstationStatus)).BeginInit(); this.toolStrip1.SuspendLayout(); this.SuspendLayout(); // // splitContainer1 // this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainer1.IsSplitterFixed = true; this.splitContainer1.Location = new System.Drawing.Point(0, 25); this.splitContainer1.Name = "splitContainer1"; // // splitContainer1.Panel1 // this.splitContainer1.Panel1.Controls.Add(this.splitContainer2); this.splitContainer1.Panel1.Padding = new System.Windows.Forms.Padding(6); this.splitContainer1.Size = new System.Drawing.Size(829, 449); this.splitContainer1.SplitterDistance = 758; this.splitContainer1.TabIndex = 1; // // splitContainer2 // this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainer2.Location = new System.Drawing.Point(6, 6); this.splitContainer2.Name = "splitContainer2"; this.splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal; // // splitContainer2.Panel1 // this.splitContainer2.Panel1.Controls.Add(this.groupBox1); // // splitContainer2.Panel2 // this.splitContainer2.Panel2.Controls.Add(this.groupBox2); this.splitContainer2.Size = new System.Drawing.Size(746, 437); this.splitContainer2.SplitterDistance = 201; this.splitContainer2.TabIndex = 1; // // groupBox1 // this.groupBox1.Controls.Add(this.tblChannelStatus); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox1.Location = new System.Drawing.Point(0, 0); this.groupBox1.Margin = new System.Windows.Forms.Padding(20); this.groupBox1.Name = "groupBox1"; this.groupBox1.Padding = new System.Windows.Forms.Padding(10); this.groupBox1.Size = new System.Drawing.Size(746, 201); this.groupBox1.TabIndex = 2; this.groupBox1.TabStop = false; this.groupBox1.Text = "Channels"; // // tblChannelStatus // this.tblChannelStatus.BorderColor = System.Drawing.Color.Black; this.tblChannelStatus.ColumnModel = this.tblChannelStatus_Columns; this.tblChannelStatus.DataMember = null; this.tblChannelStatus.DataSourceColumnBinder = dataSourceColumnBinder1; this.tblChannelStatus.Dock = System.Windows.Forms.DockStyle.Fill; dragDropRenderer1.ForeColor = System.Drawing.Color.Red; this.tblChannelStatus.DragDropRenderer = dragDropRenderer1; this.tblChannelStatus.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.tblChannelStatus.FullRowSelect = true; this.tblChannelStatus.GridLinesContrainedToData = false; this.tblChannelStatus.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.tblChannelStatus.Location = new System.Drawing.Point(10, 23); this.tblChannelStatus.Name = "tblChannelStatus"; this.tblChannelStatus.ShowSelectionRectangle = false; this.tblChannelStatus.Size = new System.Drawing.Size(726, 168); this.tblChannelStatus.TabIndex = 0; this.tblChannelStatus.TableModel = this.tblChannelStatus_Model; this.tblChannelStatus.Text = "table1"; this.tblChannelStatus.UnfocusedBorderColor = System.Drawing.Color.Black; // // tblChannelStatus_Columns // this.tblChannelStatus_Columns.Columns.AddRange(new XPTable.Models.Column[] { this.imageColumn1, this.textColumn1, this.textColumn2, this.textColumn3}); this.tblChannelStatus_Columns.HeaderHeight = 30; // // imageColumn1 // this.imageColumn1.IsTextTrimmed = false; // // textColumn1 // this.textColumn1.Editable = false; this.textColumn1.IsTextTrimmed = false; this.textColumn1.Text = "ID"; this.textColumn1.Width = 100; // // textColumn2 // this.textColumn2.Editable = false; this.textColumn2.IsTextTrimmed = false; this.textColumn2.Text = "Name"; this.textColumn2.Width = 150; // // textColumn3 // this.textColumn3.AutoResizeMode = XPTable.Models.ColumnAutoResizeMode.Grow; this.textColumn3.Editable = false; this.textColumn3.IsTextTrimmed = false; this.textColumn3.Text = "Status"; this.textColumn3.Width = 150; // // tblChannelStatus_Model // this.tblChannelStatus_Model.RowHeight = 30; // // groupBox2 // this.groupBox2.Controls.Add(this.tblOutstationStatus); this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox2.Location = new System.Drawing.Point(0, 0); this.groupBox2.Margin = new System.Windows.Forms.Padding(20); this.groupBox2.Name = "groupBox2"; this.groupBox2.Padding = new System.Windows.Forms.Padding(10); this.groupBox2.Size = new System.Drawing.Size(746, 232); this.groupBox2.TabIndex = 3; this.groupBox2.TabStop = false; this.groupBox2.Text = "Outstations"; // // tblOutstationStatus // this.tblOutstationStatus.BorderColor = System.Drawing.Color.Black; this.tblOutstationStatus.ColumnModel = this.tblOutstationStatus_Columns; this.tblOutstationStatus.DataMember = null; this.tblOutstationStatus.DataSourceColumnBinder = dataSourceColumnBinder2; this.tblOutstationStatus.Dock = System.Windows.Forms.DockStyle.Fill; dragDropRenderer2.ForeColor = System.Drawing.Color.Red; this.tblOutstationStatus.DragDropRenderer = dragDropRenderer2; this.tblOutstationStatus.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.tblOutstationStatus.GridLinesContrainedToData = false; this.tblOutstationStatus.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.tblOutstationStatus.Location = new System.Drawing.Point(10, 23); this.tblOutstationStatus.Name = "tblOutstationStatus"; this.tblOutstationStatus.Size = new System.Drawing.Size(726, 199); this.tblOutstationStatus.TabIndex = 0; this.tblOutstationStatus.TableModel = this.tblOutstationStatus_Model; this.tblOutstationStatus.Text = "table1"; this.tblOutstationStatus.UnfocusedBorderColor = System.Drawing.Color.Black; // // tblOutstationStatus_Columns // this.tblOutstationStatus_Columns.Columns.AddRange(new XPTable.Models.Column[] { this.imageColumn2, this.textColumn4, this.textColumn5, this.textColumn6}); this.tblOutstationStatus_Columns.HeaderHeight = 30; // // imageColumn2 // this.imageColumn2.IsTextTrimmed = false; // // textColumn4 // this.textColumn4.IsTextTrimmed = false; this.textColumn4.Text = "ID"; this.textColumn4.Width = 100; // // textColumn5 // this.textColumn5.IsTextTrimmed = false; this.textColumn5.Text = "Name"; this.textColumn5.Width = 150; // // textColumn6 // this.textColumn6.IsTextTrimmed = false; this.textColumn6.Text = "Status"; this.textColumn6.Width = 150; // // tblOutstationStatus_Model // this.tblOutstationStatus_Model.RowHeight = 30; // // toolStrip1 // this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripButton1, this.toolStripButton2, this.toolStripButton3, this.toolStripButton4, this.toolStripButton5}); this.toolStrip1.Location = new System.Drawing.Point(0, 0); this.toolStrip1.Name = "toolStrip1"; this.toolStrip1.Size = new System.Drawing.Size(829, 25); this.toolStrip1.TabIndex = 1; this.toolStrip1.Text = "toolStrip1"; // // toolStripButton1 // this.toolStripButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image"))); this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButton1.Name = "toolStripButton1"; this.toolStripButton1.Size = new System.Drawing.Size(35, 22); this.toolStripButton1.Text = "Start"; this.toolStripButton1.ToolTipText = "Start"; this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click); // // toolStripButton2 // this.toolStripButton2.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.toolStripButton2.Enabled = false; this.toolStripButton2.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton2.Image"))); this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButton2.Name = "toolStripButton2"; this.toolStripButton2.Size = new System.Drawing.Size(35, 22); this.toolStripButton2.Text = "Stop"; // // toolStripButton3 // this.toolStripButton3.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.toolStripButton3.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.channelsToolStripMenuItem, this.outstationsToolStripMenuItem, this.pointsToolStripMenuItem}); this.toolStripButton3.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton3.Image"))); this.toolStripButton3.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButton3.Name = "toolStripButton3"; this.toolStripButton3.Size = new System.Drawing.Size(117, 22); this.toolStripButton3.Text = "Edit Configuration"; // // channelsToolStripMenuItem // this.channelsToolStripMenuItem.Name = "channelsToolStripMenuItem"; this.channelsToolStripMenuItem.Size = new System.Drawing.Size(135, 22); this.channelsToolStripMenuItem.Text = "Channels"; this.channelsToolStripMenuItem.Click += new System.EventHandler(this.channelsToolStripMenuItem_Click); // // outstationsToolStripMenuItem // this.outstationsToolStripMenuItem.Name = "outstationsToolStripMenuItem"; this.outstationsToolStripMenuItem.Size = new System.Drawing.Size(135, 22); this.outstationsToolStripMenuItem.Text = "Outstations"; this.outstationsToolStripMenuItem.Click += new System.EventHandler(this.outstationsToolStripMenuItem_Click); // // pointsToolStripMenuItem // this.pointsToolStripMenuItem.Name = "pointsToolStripMenuItem"; this.pointsToolStripMenuItem.Size = new System.Drawing.Size(135, 22); this.pointsToolStripMenuItem.Text = "Points"; this.pointsToolStripMenuItem.Click += new System.EventHandler(this.pointsToolStripMenuItem_Click); // // toolStripButton4 // this.toolStripButton4.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.toolStripButton4.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton4.Image"))); this.toolStripButton4.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButton4.Name = "toolStripButton4"; this.toolStripButton4.Size = new System.Drawing.Size(63, 22); this.toolStripButton4.Text = "Show Log"; this.toolStripButton4.Click += new System.EventHandler(this.toolStripButton4_Click); // // toolStripButton5 // this.toolStripButton5.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.toolStripButton5.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton5.Image"))); this.toolStripButton5.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButton5.Name = "toolStripButton5"; this.toolStripButton5.Size = new System.Drawing.Size(93, 22); this.toolStripButton5.Text = "Point Summary"; this.toolStripButton5.Click += new System.EventHandler(this.toolStripButton5_Click); // // Main // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(829, 474); this.Controls.Add(this.splitContainer1); this.Controls.Add(this.toolStrip1); this.Name = "Main"; this.Text = "Main"; this.splitContainer1.Panel1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit(); this.splitContainer1.ResumeLayout(false); this.splitContainer2.Panel1.ResumeLayout(false); this.splitContainer2.Panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit(); this.splitContainer2.ResumeLayout(false); this.groupBox1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.tblChannelStatus)).EndInit(); this.groupBox2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.tblOutstationStatus)).EndInit(); this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { XPTable.Models.DataSourceColumnBinder dataSourceColumnBinder1 = new XPTable.Models.DataSourceColumnBinder(); XPTable.Renderers.DragDropRenderer dragDropRenderer1 = new XPTable.Renderers.DragDropRenderer(); this.panel1 = new System.Windows.Forms.Panel(); this.label1 = new System.Windows.Forms.Label(); this.panel2 = new System.Windows.Forms.Panel(); this.table1 = new XPTable.Models.Table(); this.columnModel1 = new XPTable.Models.ColumnModel(); this.clNo = new XPTable.Models.TextColumn(); this.clStatus = new XPTable.Models.ImageColumn(); this.clName = new XPTable.Models.TextColumn(); this.clLastname = new XPTable.Models.TextColumn(); this.clNickname = new XPTable.Models.TextColumn(); this.clUserGroup = new XPTable.Models.TextColumn(); this.clUsername = new XPTable.Models.TextColumn(); this.clMobile = new XPTable.Models.TextColumn(); this.clEmail = new XPTable.Models.TextColumn(); this.tableModel1 = new XPTable.Models.TableModel(); this.panel4 = new System.Windows.Forms.Panel(); this.checkBox1 = new System.Windows.Forms.CheckBox(); this.panel3 = new System.Windows.Forms.Panel(); this.btnCancelAddGroup = new System.Windows.Forms.Button(); this.btnDeleteGroup = new System.Windows.Forms.Button(); this.btnAddGroup = new System.Windows.Forms.Button(); this.panel5 = new System.Windows.Forms.Panel(); this.btnAddUser = new System.Windows.Forms.Button(); this.checkBox2 = new System.Windows.Forms.CheckBox(); this.cbxUserGroup = new System.Windows.Forms.ComboBox(); this.label2 = new System.Windows.Forms.Label(); this.txtUserGroup = new System.Windows.Forms.TextBox(); this.bwGetUserGroup = new System.ComponentModel.BackgroundWorker(); this.bwUpdateUserGroup = new System.ComponentModel.BackgroundWorker(); this.bwDeleteUserGroup = new System.ComponentModel.BackgroundWorker(); this.bwLoadData = new System.ComponentModel.BackgroundWorker(); this.bwUpdateData = new System.ComponentModel.BackgroundWorker(); this.bwDeleteData = new System.ComponentModel.BackgroundWorker(); this.bwAddData = new System.ComponentModel.BackgroundWorker(); this.panel1.SuspendLayout(); this.panel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.table1)).BeginInit(); this.panel4.SuspendLayout(); this.panel3.SuspendLayout(); this.panel5.SuspendLayout(); this.SuspendLayout(); // // panel1 // this.panel1.BackColor = System.Drawing.Color.DimGray; this.panel1.Controls.Add(this.label1); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(1071, 39); this.panel1.TabIndex = 8; // // label1 // this.label1.AutoSize = true; this.label1.Dock = System.Windows.Forms.DockStyle.Fill; this.label1.Font = new System.Drawing.Font("DilleniaUPC", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.ForeColor = System.Drawing.Color.White; this.label1.Location = new System.Drawing.Point(0, 0); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(156, 38); this.label1.TabIndex = 0; this.label1.Text = "ข้อมูลผู้ใช้งานระบบ"; // // panel2 // this.panel2.Controls.Add(this.table1); this.panel2.Controls.Add(this.panel4); this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; this.panel2.Location = new System.Drawing.Point(0, 39); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(1071, 468); this.panel2.TabIndex = 9; // // table1 // this.table1.BorderColor = System.Drawing.Color.Black; this.table1.ColumnModel = this.columnModel1; this.table1.DataMember = null; this.table1.DataSourceColumnBinder = dataSourceColumnBinder1; this.table1.Dock = System.Windows.Forms.DockStyle.Fill; dragDropRenderer1.ForeColor = System.Drawing.Color.Red; this.table1.DragDropRenderer = dragDropRenderer1; this.table1.EnableHeaderContextMenu = false; this.table1.FullRowSelect = true; this.table1.GridLines = XPTable.Models.GridLines.Both; this.table1.GridLinesContrainedToData = false; this.table1.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.table1.Location = new System.Drawing.Point(0, 44); this.table1.Name = "table1"; this.table1.NoItemsText = ""; this.table1.SelectionStyle = XPTable.Models.SelectionStyle.Grid; this.table1.Size = new System.Drawing.Size(1071, 424); this.table1.TabIndex = 13; this.table1.TableModel = this.tableModel1; this.table1.TabStop = false; this.table1.Text = "table1"; this.table1.UnfocusedBorderColor = System.Drawing.Color.Black; this.table1.CellDoubleClick += new XPTable.Events.CellMouseEventHandler(this.table1_CellDoubleClick); // // columnModel1 // this.columnModel1.Columns.AddRange(new XPTable.Models.Column[] { this.clNo, this.clStatus, this.clName, this.clLastname, this.clNickname, this.clUserGroup, this.clUsername, this.clMobile, this.clEmail}); // // clNo // this.clNo.Alignment = XPTable.Models.ColumnAlignment.Center; this.clNo.Editable = false; this.clNo.IsTextTrimmed = false; this.clNo.Resizable = false; this.clNo.Sortable = false; this.clNo.Text = "ที่"; this.clNo.Width = 40; // // clStatus // this.clStatus.Alignment = XPTable.Models.ColumnAlignment.Center; this.clStatus.DrawText = false; this.clStatus.IsTextTrimmed = false; this.clStatus.Resizable = false; this.clStatus.Sortable = false; this.clStatus.Width = 24; // // clName // this.clName.Editable = false; this.clName.IsTextTrimmed = false; this.clName.Text = "ชื่อ"; this.clName.Width = 150; // // clLastname // this.clLastname.Editable = false; this.clLastname.IsTextTrimmed = false; this.clLastname.Text = "นามสกุล"; this.clLastname.Width = 150; // // clNickname // this.clNickname.Alignment = XPTable.Models.ColumnAlignment.Center; this.clNickname.Editable = false; this.clNickname.IsTextTrimmed = false; this.clNickname.Text = "ชื่อเล่น"; this.clNickname.Width = 80; // // clUserGroup // this.clUserGroup.Alignment = XPTable.Models.ColumnAlignment.Center; this.clUserGroup.Editable = false; this.clUserGroup.IsTextTrimmed = false; this.clUserGroup.Text = "ประเภทผู้ใช้งาน"; this.clUserGroup.Width = 150; // // clUsername // this.clUsername.Alignment = XPTable.Models.ColumnAlignment.Center; this.clUsername.Editable = false; this.clUsername.IsTextTrimmed = false; this.clUsername.Text = "ชื่อผู้ใช้"; this.clUsername.Width = 100; // // clMobile // this.clMobile.Alignment = XPTable.Models.ColumnAlignment.Center; this.clMobile.Editable = false; this.clMobile.IsTextTrimmed = false; this.clMobile.Text = "เบอร์โทรศัพท์"; this.clMobile.Width = 115; // // clEmail // this.clEmail.Editable = false; this.clEmail.IsTextTrimmed = false; this.clEmail.Text = "อีเมล"; this.clEmail.Width = 240; // // panel4 // this.panel4.Controls.Add(this.checkBox1); this.panel4.Controls.Add(this.panel3); this.panel4.Controls.Add(this.panel5); this.panel4.Controls.Add(this.checkBox2); this.panel4.Controls.Add(this.cbxUserGroup); this.panel4.Controls.Add(this.label2); this.panel4.Controls.Add(this.txtUserGroup); this.panel4.Dock = System.Windows.Forms.DockStyle.Top; this.panel4.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.panel4.Location = new System.Drawing.Point(0, 0); this.panel4.Name = "panel4"; this.panel4.Size = new System.Drawing.Size(1071, 44); this.panel4.TabIndex = 0; // // checkBox1 // this.checkBox1.AutoSize = true; this.checkBox1.Location = new System.Drawing.Point(346, 13); this.checkBox1.Name = "checkBox1"; this.checkBox1.Size = new System.Drawing.Size(80, 20); this.checkBox1.TabIndex = 3; this.checkBox1.Text = "เข้าระบบได้"; this.checkBox1.UseVisualStyleBackColor = true; // // panel3 // this.panel3.Controls.Add(this.btnCancelAddGroup); this.panel3.Controls.Add(this.btnDeleteGroup); this.panel3.Controls.Add(this.btnAddGroup); this.panel3.Location = new System.Drawing.Point(277, 9); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(87, 26); this.panel3.TabIndex = 9; // // btnCancelAddGroup // this.btnCancelAddGroup.Dock = System.Windows.Forms.DockStyle.Left; this.btnCancelAddGroup.Image = global::PowerPOS_Online.Properties.Resources.arrow_circle_225_left; this.btnCancelAddGroup.Location = new System.Drawing.Point(56, 0); this.btnCancelAddGroup.Margin = new System.Windows.Forms.Padding(3, 3, 5, 3); this.btnCancelAddGroup.Name = "btnCancelAddGroup"; this.btnCancelAddGroup.Size = new System.Drawing.Size(28, 26); this.btnCancelAddGroup.TabIndex = 8; this.btnCancelAddGroup.UseVisualStyleBackColor = true; this.btnCancelAddGroup.Visible = false; this.btnCancelAddGroup.Click += new System.EventHandler(this.btnCancelAddGroup_Click); // // btnDeleteGroup // this.btnDeleteGroup.Dock = System.Windows.Forms.DockStyle.Left; this.btnDeleteGroup.Enabled = false; this.btnDeleteGroup.Image = global::PowerPOS_Online.Properties.Resources.minus_circle; this.btnDeleteGroup.Location = new System.Drawing.Point(28, 0); this.btnDeleteGroup.Name = "btnDeleteGroup"; this.btnDeleteGroup.Size = new System.Drawing.Size(28, 26); this.btnDeleteGroup.TabIndex = 9; this.btnDeleteGroup.UseVisualStyleBackColor = true; this.btnDeleteGroup.Click += new System.EventHandler(this.btnDeleteGroup_Click); // // btnAddGroup // this.btnAddGroup.Dock = System.Windows.Forms.DockStyle.Left; this.btnAddGroup.Image = global::PowerPOS_Online.Properties.Resources.plus_white; this.btnAddGroup.Location = new System.Drawing.Point(0, 0); this.btnAddGroup.Margin = new System.Windows.Forms.Padding(3, 3, 5, 3); this.btnAddGroup.Name = "btnAddGroup"; this.btnAddGroup.Size = new System.Drawing.Size(28, 26); this.btnAddGroup.TabIndex = 2; this.btnAddGroup.UseVisualStyleBackColor = true; this.btnAddGroup.Click += new System.EventHandler(this.btnAddGroup_Click); // // panel5 // this.panel5.Controls.Add(this.btnAddUser); this.panel5.Dock = System.Windows.Forms.DockStyle.Right; this.panel5.Location = new System.Drawing.Point(909, 0); this.panel5.Name = "panel5"; this.panel5.Size = new System.Drawing.Size(162, 44); this.panel5.TabIndex = 6; // // btnAddUser // this.btnAddUser.Image = global::PowerPOS_Online.Properties.Resources.plus_circle; this.btnAddUser.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btnAddUser.Location = new System.Drawing.Point(11, 6); this.btnAddUser.Name = "btnAddUser"; this.btnAddUser.Padding = new System.Windows.Forms.Padding(5, 0, 5, 0); this.btnAddUser.Size = new System.Drawing.Size(145, 33); this.btnAddUser.TabIndex = 5; this.btnAddUser.Text = "เพิ่มข้อมูลผู้ใช้งานใหม่"; this.btnAddUser.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.btnAddUser.UseVisualStyleBackColor = true; this.btnAddUser.Click += new System.EventHandler(this.btnAddUser_Click); // // checkBox2 // this.checkBox2.AutoSize = true; this.checkBox2.Location = new System.Drawing.Point(432, 13); this.checkBox2.Name = "checkBox2"; this.checkBox2.Size = new System.Drawing.Size(101, 20); this.checkBox2.TabIndex = 4; this.checkBox2.Text = "ยกเลิกการใช้งาน"; this.checkBox2.UseVisualStyleBackColor = true; // // cbxUserGroup // this.cbxUserGroup.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbxUserGroup.FormattingEnabled = true; this.cbxUserGroup.Items.AddRange(new object[] { "ทั้งหมด"}); this.cbxUserGroup.Location = new System.Drawing.Point(93, 10); this.cbxUserGroup.Name = "cbxUserGroup"; this.cbxUserGroup.Size = new System.Drawing.Size(182, 24); this.cbxUserGroup.TabIndex = 1; this.cbxUserGroup.SelectedIndexChanged += new System.EventHandler(this.cbxUserGroup_SelectedIndexChanged); // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(9, 13); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(82, 16); this.label2.TabIndex = 0; this.label2.Text = "ประเภทผู้ใช้งาน"; // // txtUserGroup // this.txtUserGroup.Location = new System.Drawing.Point(93, 11); this.txtUserGroup.Name = "txtUserGroup"; this.txtUserGroup.Size = new System.Drawing.Size(182, 22); this.txtUserGroup.TabIndex = 7; this.txtUserGroup.Visible = false; this.txtUserGroup.TextChanged += new System.EventHandler(this.txtUserGroup_TextChanged); // // bwGetUserGroup // this.bwGetUserGroup.DoWork += new System.ComponentModel.DoWorkEventHandler(this.bwGetUserGroup_DoWork); this.bwGetUserGroup.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.bwGetUserGroup_RunWorkerCompleted); // // bwUpdateUserGroup // this.bwUpdateUserGroup.DoWork += new System.ComponentModel.DoWorkEventHandler(this.bwUpdateUserGroup_DoWork); this.bwUpdateUserGroup.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.bwUpdateUserGroup_RunWorkerCompleted); // // bwDeleteUserGroup // this.bwDeleteUserGroup.DoWork += new System.ComponentModel.DoWorkEventHandler(this.bwDeleteUserGroup_DoWork); this.bwDeleteUserGroup.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.bwDeleteUserGroup_RunWorkerCompleted); // // bwLoadData // this.bwLoadData.DoWork += new System.ComponentModel.DoWorkEventHandler(this.bwLoadData_DoWork); this.bwLoadData.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.bwLoadData_RunWorkerCompleted); // // bwUpdateData // this.bwUpdateData.DoWork += new System.ComponentModel.DoWorkEventHandler(this.bwUpdateData_DoWork); this.bwUpdateData.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.bwUpdateData_RunWorkerCompleted); // // bwDeleteData // this.bwDeleteData.DoWork += new System.ComponentModel.DoWorkEventHandler(this.bwDeleteData_DoWork); this.bwDeleteData.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.bwDeleteData_RunWorkerCompleted); // // UcUser // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.panel2); this.Controls.Add(this.panel1); this.Name = "UcUser"; this.Size = new System.Drawing.Size(1071, 507); this.Load += new System.EventHandler(this.UcUser_Load); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.table1)).EndInit(); this.panel4.ResumeLayout(false); this.panel4.PerformLayout(); this.panel3.ResumeLayout(false); this.panel5.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { XPTable.Models.DataSourceColumnBinder dataSourceColumnBinder2 = new XPTable.Models.DataSourceColumnBinder(); XPTable.Renderers.DragDropRenderer dragDropRenderer2 = new XPTable.Renderers.DragDropRenderer(); this.table = new XPTable.Models.Table(); this.btnFilter = new System.Windows.Forms.Button(); this.txtFilter = new System.Windows.Forms.TextBox(); ((System.ComponentModel.ISupportInitialize)(this.table)).BeginInit(); this.SuspendLayout(); // // table // this.table.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.table.BorderColor = System.Drawing.Color.Black; this.table.DataMember = null; this.table.DataSourceColumnBinder = dataSourceColumnBinder2; dragDropRenderer2.ForeColor = System.Drawing.Color.Red; this.table.DragDropRenderer = dragDropRenderer2; this.table.GridLinesContrainedToData = false; this.table.Location = new System.Drawing.Point(12, 20); this.table.Name = "table"; this.table.Size = new System.Drawing.Size(456, 130); this.table.TabIndex = 0; this.table.Text = "table1"; this.table.UnfocusedBorderColor = System.Drawing.Color.Black; // // btnFilter // this.btnFilter.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnFilter.Location = new System.Drawing.Point(499, 127); this.btnFilter.Name = "btnFilter"; this.btnFilter.Size = new System.Drawing.Size(75, 23); this.btnFilter.TabIndex = 1; this.btnFilter.Text = "Filter"; this.btnFilter.UseVisualStyleBackColor = true; this.btnFilter.Click += new System.EventHandler(this.btnFilter_Click); // // txtFilter // this.txtFilter.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.txtFilter.Location = new System.Drawing.Point(474, 20); this.txtFilter.Multiline = true; this.txtFilter.Name = "txtFilter"; this.txtFilter.Size = new System.Drawing.Size(100, 101); this.txtFilter.TabIndex = 2; // // DemoCustom // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(586, 161); this.Controls.Add(this.txtFilter); this.Controls.Add(this.btnFilter); this.Controls.Add(this.table); this.Name = "DemoCustom"; this.Text = "DemoCustom"; this.Load += new System.EventHandler(this.Demo_Load); ((System.ComponentModel.ISupportInitialize)(this.table)).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() { XPTable.Models.DataSourceColumnBinder dataSourceColumnBinder7 = new XPTable.Models.DataSourceColumnBinder(); XPTable.Renderers.DragDropRenderer dragDropRenderer7 = new XPTable.Renderers.DragDropRenderer(); XPTable.Models.DataSourceColumnBinder dataSourceColumnBinder8 = new XPTable.Models.DataSourceColumnBinder(); XPTable.Renderers.DragDropRenderer dragDropRenderer8 = new XPTable.Renderers.DragDropRenderer(); this.SaveButton = new System.Windows.Forms.Button(); this.table1 = new XPTable.Models.Table(); this.XpTableGlobal = new XPTable.Models.Table(); this.button2 = new System.Windows.Forms.Button(); this.label1 = new System.Windows.Forms.Label(); this.button1 = new System.Windows.Forms.Button(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.numericUpDown1 = new System.Windows.Forms.NumericUpDown(); this.numericUpDown2 = new System.Windows.Forms.NumericUpDown(); this.minPopNatar = new System.Windows.Forms.NumericUpDown(); this.label4 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.table1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.XpTableGlobal)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.minPopNatar)).BeginInit(); this.SuspendLayout(); // // SaveButton // this.SaveButton.Location = new System.Drawing.Point(294, 599); this.SaveButton.Margin = new System.Windows.Forms.Padding(2); this.SaveButton.Name = "SaveButton"; this.SaveButton.Size = new System.Drawing.Size(82, 25); this.SaveButton.TabIndex = 1; this.SaveButton.Text = "Save"; this.SaveButton.UseVisualStyleBackColor = true; this.SaveButton.Click += new System.EventHandler(this.button1_Click); // // table1 // this.table1.BorderColor = System.Drawing.Color.Black; this.table1.DataMember = null; this.table1.DataSourceColumnBinder = dataSourceColumnBinder7; dragDropRenderer7.ForeColor = System.Drawing.Color.Red; this.table1.DragDropRenderer = dragDropRenderer7; this.table1.GridLinesContrainedToData = false; this.table1.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.table1.Location = new System.Drawing.Point(0, 82); this.table1.MultiSelect = true; this.table1.Name = "table1"; this.table1.Size = new System.Drawing.Size(657, 513); this.table1.TabIndex = 0; this.table1.Text = "table1"; this.table1.UnfocusedBorderColor = System.Drawing.Color.Black; // // XpTableGlobal // this.XpTableGlobal.BorderColor = System.Drawing.Color.Black; this.XpTableGlobal.DataMember = null; this.XpTableGlobal.DataSourceColumnBinder = dataSourceColumnBinder8; dragDropRenderer8.ForeColor = System.Drawing.Color.Red; this.XpTableGlobal.DragDropRenderer = dragDropRenderer8; this.XpTableGlobal.GridLinesContrainedToData = false; this.XpTableGlobal.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.XpTableGlobal.Location = new System.Drawing.Point(0, 3); this.XpTableGlobal.MultiSelect = true; this.XpTableGlobal.Name = "XpTableGlobal"; this.XpTableGlobal.Size = new System.Drawing.Size(657, 44); this.XpTableGlobal.TabIndex = 2; this.XpTableGlobal.Text = "table2"; this.XpTableGlobal.UnfocusedBorderColor = System.Drawing.Color.Black; // // button2 // this.button2.Location = new System.Drawing.Point(116, 52); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(269, 23); this.button2.TabIndex = 4; this.button2.Text = "Change selected"; this.button2.UseVisualStyleBackColor = true; this.button2.Click += new System.EventHandler(this.button2_Click); // // label1 // this.label1.AutoSize = true; this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.Location = new System.Drawing.Point(398, 57); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(108, 13); this.label1.TabIndex = 5; this.label1.Text = "Click save afterwards"; // // button1 // this.button1.Location = new System.Drawing.Point(813, 166); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(83, 23); this.button1.TabIndex = 6; this.button1.Text = "Send deff"; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.button1_Click_1); // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(810, 107); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(14, 13); this.label2.TabIndex = 140; this.label2.Text = "Y"; // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(810, 84); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(14, 13); this.label3.TabIndex = 139; this.label3.Text = "X"; // // numericUpDown1 // this.numericUpDown1.Location = new System.Drawing.Point(830, 105); this.numericUpDown1.Maximum = new decimal(new int[] { 400, 0, 0, 0 }); this.numericUpDown1.Minimum = new decimal(new int[] { 400, 0, 0, -2147483648 }); this.numericUpDown1.Name = "numericUpDown1"; this.numericUpDown1.Size = new System.Drawing.Size(75, 20); this.numericUpDown1.TabIndex = 138; // // numericUpDown2 // this.numericUpDown2.Location = new System.Drawing.Point(830, 82); this.numericUpDown2.Maximum = new decimal(new int[] { 400, 0, 0, 0 }); this.numericUpDown2.Minimum = new decimal(new int[] { 400, 0, 0, -2147483648 }); this.numericUpDown2.Name = "numericUpDown2"; this.numericUpDown2.Size = new System.Drawing.Size(75, 20); this.numericUpDown2.TabIndex = 137; // // minPopNatar // this.minPopNatar.Location = new System.Drawing.Point(813, 131); this.minPopNatar.Maximum = new decimal(new int[] { 9999999, 0, 0, 0 }); this.minPopNatar.Name = "minPopNatar"; this.minPopNatar.Size = new System.Drawing.Size(92, 20); this.minPopNatar.TabIndex = 141; // // label4 // this.label4.AutoSize = true; this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label4.Location = new System.Drawing.Point(753, 133); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(54, 15); this.label4.TabIndex = 142; this.label4.Text = "Max deff"; // // label5 // this.label5.AutoSize = true; this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label5.Location = new System.Drawing.Point(798, 151); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(107, 12); this.label5.TabIndex = 143; this.label5.Text = "If 0, send all deff at home"; // // label6 // this.label6.AutoSize = true; this.label6.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label6.Location = new System.Drawing.Point(754, 192); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(190, 12); this.label6.TabIndex = 144; this.label6.Text = "Will only send deff from villages of type \"Deff\""; // // DeffendingUc // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.label6); this.Controls.Add(this.label5); this.Controls.Add(this.label4); this.Controls.Add(this.minPopNatar); this.Controls.Add(this.label2); this.Controls.Add(this.label3); this.Controls.Add(this.numericUpDown1); this.Controls.Add(this.numericUpDown2); this.Controls.Add(this.button1); this.Controls.Add(this.label1); this.Controls.Add(this.button2); this.Controls.Add(this.XpTableGlobal); this.Controls.Add(this.SaveButton); this.Controls.Add(this.table1); this.Name = "DeffendingUc"; this.Size = new System.Drawing.Size(1011, 628); ((System.ComponentModel.ISupportInitialize)(this.table1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.XpTableGlobal)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.minPopNatar)).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() { XPTable.Models.DataSourceColumnBinder dataSourceColumnBinder1 = new XPTable.Models.DataSourceColumnBinder(); XPTable.Renderers.DragDropRenderer dragDropRenderer1 = new XPTable.Renderers.DragDropRenderer(); this.panel1 = new System.Windows.Forms.Panel(); this.label1 = new System.Windows.Forms.Label(); this.pnlLeft = new System.Windows.Forms.Panel(); this.gbOrder = new System.Windows.Forms.GroupBox(); this.cbbOrder = new System.Windows.Forms.ComboBox(); this.pnlBarcode = new System.Windows.Forms.Panel(); this.ptbProduct = new System.Windows.Forms.PictureBox(); this.txtBarcode = new System.Windows.Forms.TextBox(); this.label2 = new System.Windows.Forms.Label(); this.lblStatus = new System.Windows.Forms.Label(); this.gbCost = new System.Windows.Forms.GroupBox(); this.panel2 = new System.Windows.Forms.Panel(); this.nudCost = new System.Windows.Forms.NumericUpDown(); this.btnSave = new System.Windows.Forms.Button(); this.pnShip = new System.Windows.Forms.Panel(); this.rdbShip = new System.Windows.Forms.RadioButton(); this.rdbNonShip = new System.Windows.Forms.RadioButton(); this.label3 = new System.Windows.Forms.Label(); this.gbOrderNoSerial = new System.Windows.Forms.GroupBox(); this.progressBar2 = new System.Windows.Forms.ProgressBar(); this.cbbOrderNoSerial = new System.Windows.Forms.ComboBox(); this.gbOrderNo = new System.Windows.Forms.GroupBox(); this.progressBar1 = new System.Windows.Forms.ProgressBar(); this.cbbOrderNo = new System.Windows.Forms.ComboBox(); this.table1 = new XPTable.Models.Table(); this.columnModel1 = new XPTable.Models.ColumnModel(); this.clNo = new XPTable.Models.TextColumn(); this.clSku = new XPTable.Models.TextColumn(); this.clName = new XPTable.Models.TextColumn(); this.clQty = new XPTable.Models.TextColumn(); this.clReceived = new XPTable.Models.TextColumn(); this.clProgress = new XPTable.Models.ProgressBarColumn(); this.tableModel1 = new XPTable.Models.TableModel(); this.panel1.SuspendLayout(); this.pnlLeft.SuspendLayout(); this.gbOrder.SuspendLayout(); this.pnlBarcode.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.ptbProduct)).BeginInit(); this.gbCost.SuspendLayout(); this.panel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.nudCost)).BeginInit(); this.pnShip.SuspendLayout(); this.gbOrderNoSerial.SuspendLayout(); this.gbOrderNo.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.table1)).BeginInit(); this.SuspendLayout(); // // panel1 // this.panel1.BackColor = System.Drawing.Color.DimGray; this.panel1.Controls.Add(this.label1); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(999, 39); this.panel1.TabIndex = 5; // // label1 // this.label1.AutoSize = true; this.label1.Dock = System.Windows.Forms.DockStyle.Fill; this.label1.Font = new System.Drawing.Font("DilleniaUPC", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.ForeColor = System.Drawing.Color.White; this.label1.Location = new System.Drawing.Point(0, 0); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(142, 38); this.label1.TabIndex = 0; this.label1.Text = "รับสินค้าเข้าระบบ"; // // pnlLeft // this.pnlLeft.Controls.Add(this.gbOrder); this.pnlLeft.Controls.Add(this.pnlBarcode); this.pnlLeft.Controls.Add(this.gbCost); this.pnlLeft.Controls.Add(this.gbOrderNoSerial); this.pnlLeft.Controls.Add(this.gbOrderNo); this.pnlLeft.Dock = System.Windows.Forms.DockStyle.Left; this.pnlLeft.Location = new System.Drawing.Point(0, 39); this.pnlLeft.Name = "pnlLeft"; this.pnlLeft.Padding = new System.Windows.Forms.Padding(7, 10, 7, 0); this.pnlLeft.Size = new System.Drawing.Size(247, 709); this.pnlLeft.TabIndex = 6; // // gbOrder // this.gbOrder.Controls.Add(this.cbbOrder); this.gbOrder.Dock = System.Windows.Forms.DockStyle.Bottom; this.gbOrder.Location = new System.Drawing.Point(7, 657); this.gbOrder.Name = "gbOrder"; this.gbOrder.Size = new System.Drawing.Size(233, 52); this.gbOrder.TabIndex = 7; this.gbOrder.TabStop = false; this.gbOrder.Text = "ข้อมูลใบสั่งซื้อย้อนหลัง"; // // cbbOrder // this.cbbOrder.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbbOrder.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.cbbOrder.FormattingEnabled = true; this.cbbOrder.Items.AddRange(new object[] { "เลขที่ใบสั่งซื้อ" }); this.cbbOrder.Location = new System.Drawing.Point(14, 20); this.cbbOrder.Name = "cbbOrder"; this.cbbOrder.Size = new System.Drawing.Size(204, 24); this.cbbOrder.TabIndex = 0; this.cbbOrder.SelectedIndexChanged += new System.EventHandler(this.cbbOrder_SelectedIndexChanged); // // pnlBarcode // this.pnlBarcode.Controls.Add(this.ptbProduct); this.pnlBarcode.Controls.Add(this.txtBarcode); this.pnlBarcode.Controls.Add(this.label2); this.pnlBarcode.Controls.Add(this.lblStatus); this.pnlBarcode.Dock = System.Windows.Forms.DockStyle.Top; this.pnlBarcode.Location = new System.Drawing.Point(7, 263); this.pnlBarcode.Name = "pnlBarcode"; this.pnlBarcode.Size = new System.Drawing.Size(233, 353); this.pnlBarcode.TabIndex = 6; // // ptbProduct // this.ptbProduct.ImageLocation = ""; this.ptbProduct.Location = new System.Drawing.Point(16, 77); this.ptbProduct.Name = "ptbProduct"; this.ptbProduct.Size = new System.Drawing.Size(200, 200); this.ptbProduct.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.ptbProduct.TabIndex = 7; this.ptbProduct.TabStop = false; // // txtBarcode // this.txtBarcode.BackColor = System.Drawing.Color.Azure; this.txtBarcode.Font = new System.Drawing.Font("Arial", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtBarcode.ForeColor = System.Drawing.Color.MidnightBlue; this.txtBarcode.Location = new System.Drawing.Point(14, 21); this.txtBarcode.Name = "txtBarcode"; this.txtBarcode.Size = new System.Drawing.Size(204, 29); this.txtBarcode.TabIndex = 1; this.txtBarcode.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.txtBarcode.Enter += new System.EventHandler(this.txtBarcode_Enter); this.txtBarcode.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtBarcode_KeyDown); // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(15, 5); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(44, 13); this.label2.TabIndex = 1; this.label2.Text = "บาร์โค้ด"; // // lblStatus // this.lblStatus.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblStatus.ForeColor = System.Drawing.Color.Green; this.lblStatus.Location = new System.Drawing.Point(14, 53); this.lblStatus.Name = "lblStatus"; this.lblStatus.Size = new System.Drawing.Size(204, 23); this.lblStatus.TabIndex = 2; this.lblStatus.Text = "ไม่พบข้อมูลสินค้าชิ้นนี้"; this.lblStatus.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.lblStatus.Visible = false; // // gbCost // this.gbCost.Controls.Add(this.panel2); this.gbCost.Controls.Add(this.pnShip); this.gbCost.Controls.Add(this.label3); this.gbCost.Dock = System.Windows.Forms.DockStyle.Top; this.gbCost.Location = new System.Drawing.Point(7, 168); this.gbCost.Name = "gbCost"; this.gbCost.Size = new System.Drawing.Size(233, 95); this.gbCost.TabIndex = 5; this.gbCost.TabStop = false; this.gbCost.Visible = false; // // panel2 // this.panel2.Controls.Add(this.nudCost); this.panel2.Controls.Add(this.btnSave); this.panel2.Dock = System.Windows.Forms.DockStyle.Top; this.panel2.Location = new System.Drawing.Point(3, 52); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(227, 40); this.panel2.TabIndex = 10; // // nudCost // this.nudCost.BackColor = System.Drawing.Color.Azure; this.nudCost.Enabled = false; this.nudCost.Font = new System.Drawing.Font("Arial", 14.25F, System.Drawing.FontStyle.Bold); this.nudCost.ForeColor = System.Drawing.Color.MidnightBlue; this.nudCost.Location = new System.Drawing.Point(3, 4); this.nudCost.Maximum = new decimal(new int[] { 99999999, 0, 0, 0 }); this.nudCost.Name = "nudCost"; this.nudCost.Size = new System.Drawing.Size(120, 29); this.nudCost.TabIndex = 6; this.nudCost.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.nudCost.ThousandsSeparator = true; // // btnSave // this.btnSave.Image = global::PowerPOS_Online.Properties.Resources.disk_return_black; this.btnSave.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btnSave.Location = new System.Drawing.Point(136, 3); this.btnSave.Name = "btnSave"; this.btnSave.Padding = new System.Windows.Forms.Padding(5, 0, 5, 0); this.btnSave.Size = new System.Drawing.Size(75, 31); this.btnSave.TabIndex = 5; this.btnSave.Text = "บันทึก"; this.btnSave.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.btnSave.UseVisualStyleBackColor = true; this.btnSave.Click += new System.EventHandler(this.btnSave_Click); // // pnShip // this.pnShip.Controls.Add(this.rdbShip); this.pnShip.Controls.Add(this.rdbNonShip); this.pnShip.Dock = System.Windows.Forms.DockStyle.Top; this.pnShip.Location = new System.Drawing.Point(3, 29); this.pnShip.Name = "pnShip"; this.pnShip.Size = new System.Drawing.Size(227, 23); this.pnShip.TabIndex = 9; // // rdbShip // this.rdbShip.AutoSize = true; this.rdbShip.Location = new System.Drawing.Point(14, 4); this.rdbShip.Name = "rdbShip"; this.rdbShip.Size = new System.Drawing.Size(69, 17); this.rdbShip.TabIndex = 7; this.rdbShip.TabStop = true; this.rdbShip.Text = "มีค่าขนส่ง"; this.rdbShip.UseVisualStyleBackColor = true; this.rdbShip.CheckedChanged += new System.EventHandler(this.checkRadio); // // rdbNonShip // this.rdbNonShip.AutoSize = true; this.rdbNonShip.Location = new System.Drawing.Point(123, 5); this.rdbNonShip.Name = "rdbNonShip"; this.rdbNonShip.Size = new System.Drawing.Size(82, 17); this.rdbNonShip.TabIndex = 8; this.rdbNonShip.TabStop = true; this.rdbNonShip.Text = "ไม่มีค่าขนส่ง"; this.rdbNonShip.UseVisualStyleBackColor = true; this.rdbNonShip.CheckedChanged += new System.EventHandler(this.checkRadio); // // label3 // this.label3.Dock = System.Windows.Forms.DockStyle.Top; this.label3.Location = new System.Drawing.Point(3, 16); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(227, 13); this.label3.TabIndex = 4; this.label3.Text = "ค่าขนส่ง, ค่าดำเนินการต่างๆ สำหรับใบสั่งซื้อนี้"; this.label3.TextAlign = System.Drawing.ContentAlignment.TopCenter; // // gbOrderNoSerial // this.gbOrderNoSerial.Controls.Add(this.progressBar2); this.gbOrderNoSerial.Controls.Add(this.cbbOrderNoSerial); this.gbOrderNoSerial.Dock = System.Windows.Forms.DockStyle.Top; this.gbOrderNoSerial.Location = new System.Drawing.Point(7, 89); this.gbOrderNoSerial.Name = "gbOrderNoSerial"; this.gbOrderNoSerial.Size = new System.Drawing.Size(233, 79); this.gbOrderNoSerial.TabIndex = 8; this.gbOrderNoSerial.TabStop = false; this.gbOrderNoSerial.Text = "ข้อมูลใบสั่งซื้อ (สินค้าไม่ติดบาร์โค้ด Remax)"; // // progressBar2 // this.progressBar2.Location = new System.Drawing.Point(14, 49); this.progressBar2.Name = "progressBar2"; this.progressBar2.Size = new System.Drawing.Size(204, 23); this.progressBar2.Step = 1; this.progressBar2.TabIndex = 9; // // cbbOrderNoSerial // this.cbbOrderNoSerial.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbbOrderNoSerial.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.cbbOrderNoSerial.FormattingEnabled = true; this.cbbOrderNoSerial.Items.AddRange(new object[] { "เลขที่ใบสั่งซื้อ" }); this.cbbOrderNoSerial.Location = new System.Drawing.Point(14, 19); this.cbbOrderNoSerial.Name = "cbbOrderNoSerial"; this.cbbOrderNoSerial.Size = new System.Drawing.Size(204, 24); this.cbbOrderNoSerial.TabIndex = 0; this.cbbOrderNoSerial.SelectedIndexChanged += new System.EventHandler(this.cbbOrderNoSerial_SelectedIndexChanged); // // gbOrderNo // this.gbOrderNo.Controls.Add(this.progressBar1); this.gbOrderNo.Controls.Add(this.cbbOrderNo); this.gbOrderNo.Dock = System.Windows.Forms.DockStyle.Top; this.gbOrderNo.Location = new System.Drawing.Point(7, 10); this.gbOrderNo.Name = "gbOrderNo"; this.gbOrderNo.Size = new System.Drawing.Size(233, 79); this.gbOrderNo.TabIndex = 0; this.gbOrderNo.TabStop = false; this.gbOrderNo.Text = "ข้อมูลใบสั่งซื้อ"; // // progressBar1 // this.progressBar1.Location = new System.Drawing.Point(14, 49); this.progressBar1.Name = "progressBar1"; this.progressBar1.Size = new System.Drawing.Size(204, 23); this.progressBar1.Step = 1; this.progressBar1.TabIndex = 9; // // cbbOrderNo // this.cbbOrderNo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbbOrderNo.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.cbbOrderNo.FormattingEnabled = true; this.cbbOrderNo.Items.AddRange(new object[] { "เลขที่ใบสั่งซื้อ" }); this.cbbOrderNo.Location = new System.Drawing.Point(14, 19); this.cbbOrderNo.Name = "cbbOrderNo"; this.cbbOrderNo.Size = new System.Drawing.Size(204, 24); this.cbbOrderNo.TabIndex = 0; this.cbbOrderNo.SelectedIndexChanged += new System.EventHandler(this.cbbOrderNo_SelectedIndexChanged); // // table1 // this.table1.BorderColor = System.Drawing.Color.Black; this.table1.ColumnModel = this.columnModel1; this.table1.DataMember = null; this.table1.DataSourceColumnBinder = dataSourceColumnBinder1; this.table1.Dock = System.Windows.Forms.DockStyle.Fill; dragDropRenderer1.ForeColor = System.Drawing.Color.Red; this.table1.DragDropRenderer = dragDropRenderer1; this.table1.EnableHeaderContextMenu = false; this.table1.FullRowSelect = true; this.table1.GridLines = XPTable.Models.GridLines.Both; this.table1.GridLinesContrainedToData = false; this.table1.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; this.table1.Location = new System.Drawing.Point(247, 39); this.table1.Name = "table1"; this.table1.NoItemsText = ""; this.table1.SelectionStyle = XPTable.Models.SelectionStyle.Grid; this.table1.Size = new System.Drawing.Size(752, 709); this.table1.TabIndex = 7; this.table1.TableModel = this.tableModel1; this.table1.Text = "table1"; this.table1.UnfocusedBorderColor = System.Drawing.Color.Black; this.table1.CellDoubleClick += new XPTable.Events.CellMouseEventHandler(this.table1_CellDoubleClick); this.table1.EndSort += new XPTable.Events.ColumnEventHandler(this.table1_EndSort); // // columnModel1 // this.columnModel1.Columns.AddRange(new XPTable.Models.Column[] { this.clNo, this.clSku, this.clName, this.clQty, this.clReceived, this.clProgress }); // // clNo // this.clNo.Alignment = XPTable.Models.ColumnAlignment.Center; this.clNo.Editable = false; this.clNo.IsTextTrimmed = false; this.clNo.Resizable = false; this.clNo.Selectable = false; this.clNo.Text = "ที่"; this.clNo.Width = 40; // // clSku // this.clSku.Alignment = XPTable.Models.ColumnAlignment.Center; this.clSku.Editable = false; this.clSku.IsTextTrimmed = false; this.clSku.Text = "รหัสสินค้า"; this.clSku.Width = 80; // // clName // this.clName.Editable = false; this.clName.IsTextTrimmed = false; this.clName.Text = "ชื่อสินค้า"; this.clName.Width = 450; // // clQty // this.clQty.Alignment = XPTable.Models.ColumnAlignment.Center; this.clQty.Editable = false; this.clQty.IsTextTrimmed = false; this.clQty.Text = "จำนวน"; this.clQty.Width = 70; // // clReceived // this.clReceived.Alignment = XPTable.Models.ColumnAlignment.Center; this.clReceived.Editable = false; this.clReceived.IsTextTrimmed = false; this.clReceived.Text = "รับแล้ว"; this.clReceived.Width = 70; // // clProgress // this.clProgress.Alignment = XPTable.Models.ColumnAlignment.Center; this.clProgress.IsTextTrimmed = false; this.clProgress.Resizable = false; this.clProgress.Width = 100; // // tableModel1 // this.tableModel1.SelectionChanged += new XPTable.Events.SelectionEventHandler(this.tableModel1_SelectionChanged); // // UcReceiveProduct // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.table1); this.Controls.Add(this.pnlLeft); this.Controls.Add(this.panel1); this.Name = "UcReceiveProduct"; this.Size = new System.Drawing.Size(999, 748); this.Load += new System.EventHandler(this.UcReceiveProduct_Load); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.pnlLeft.ResumeLayout(false); this.gbOrder.ResumeLayout(false); this.pnlBarcode.ResumeLayout(false); this.pnlBarcode.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.ptbProduct)).EndInit(); this.gbCost.ResumeLayout(false); this.panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.nudCost)).EndInit(); this.pnShip.ResumeLayout(false); this.pnShip.PerformLayout(); this.gbOrderNoSerial.ResumeLayout(false); this.gbOrderNo.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.table1)).EndInit(); this.ResumeLayout(false); }
/// <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(); XPTable.Models.DataSourceColumnBinder dataSourceColumnBinder1 = new XPTable.Models.DataSourceColumnBinder(); XPTable.Renderers.DragDropRenderer dragDropRenderer1 = new XPTable.Renderers.DragDropRenderer(); this.panel1 = new System.Windows.Forms.Panel(); this.label1 = new System.Windows.Forms.Label(); this.panel3 = new System.Windows.Forms.Panel(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.contextMenuStrip2 = new System.Windows.Forms.ContextMenuStrip(this.components); this.mniSaveImage = new System.Windows.Forms.ToolStripMenuItem(); this.panel2 = new System.Windows.Forms.Panel(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.dtpStartDate = new System.Windows.Forms.DateTimePicker(); this.cbbReportType = new System.Windows.Forms.ComboBox(); this.tableModel1 = new XPTable.Models.TableModel(); this.columnModel1 = new XPTable.Models.ColumnModel(); this.textColumn1 = new XPTable.Models.TextColumn(); this.textColumn5 = new XPTable.Models.TextColumn(); this.textColumn2 = new XPTable.Models.TextColumn(); this.textColumn3 = new XPTable.Models.TextColumn(); this.textColumn4 = new XPTable.Models.TextColumn(); this.numberColumn1 = new XPTable.Models.NumberColumn(); this.table1 = new XPTable.Models.Table(); this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); this.miPrintReceipt = new System.Windows.Forms.ToolStripMenuItem(); this.miDetail = new System.Windows.Forms.ToolStripMenuItem(); this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog(); this.panel1.SuspendLayout(); this.panel3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); this.contextMenuStrip2.SuspendLayout(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.table1)).BeginInit(); this.contextMenuStrip1.SuspendLayout(); this.SuspendLayout(); // // panel1 // this.panel1.BackColor = System.Drawing.Color.DimGray; this.panel1.Controls.Add(this.label1); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(910, 39); this.panel1.TabIndex = 7; // // label1 // this.label1.AutoSize = true; this.label1.Dock = System.Windows.Forms.DockStyle.Fill; this.label1.Font = new System.Drawing.Font("DilleniaUPC", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.ForeColor = System.Drawing.Color.White; this.label1.Location = new System.Drawing.Point(0, 0); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(72, 38); this.label1.TabIndex = 0; this.label1.Text = "รายงาน"; // // panel3 // this.panel3.Controls.Add(this.pictureBox1); this.panel3.Controls.Add(this.panel2); this.panel3.Controls.Add(this.groupBox1); this.panel3.Dock = System.Windows.Forms.DockStyle.Left; this.panel3.Location = new System.Drawing.Point(0, 39); this.panel3.Name = "panel3"; this.panel3.Padding = new System.Windows.Forms.Padding(7, 10, 7, 0); this.panel3.Size = new System.Drawing.Size(247, 443); this.panel3.TabIndex = 10; // // pictureBox1 // this.pictureBox1.ContextMenuStrip = this.contextMenuStrip2; this.pictureBox1.Dock = System.Windows.Forms.DockStyle.Top; this.pictureBox1.Image = global::PowerPOS_Online.Properties.Resources.daily; this.pictureBox1.Location = new System.Drawing.Point(7, 102); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size(233, 348); this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.pictureBox1.TabIndex = 2; this.pictureBox1.TabStop = false; // // contextMenuStrip2 // this.contextMenuStrip2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.mniSaveImage}); this.contextMenuStrip2.Name = "contextMenuStrip2"; this.contextMenuStrip2.Size = new System.Drawing.Size(135, 26); // // mniSaveImage // this.mniSaveImage.Image = global::PowerPOS_Online.Properties.Resources.disk_return_black; this.mniSaveImage.Name = "mniSaveImage"; this.mniSaveImage.Size = new System.Drawing.Size(134, 22); this.mniSaveImage.Text = "บันทึกรูปภาพ"; this.mniSaveImage.Click += new System.EventHandler(this.mniSaveImage_Click); // // panel2 // this.panel2.Dock = System.Windows.Forms.DockStyle.Top; this.panel2.Location = new System.Drawing.Point(7, 92); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(233, 10); this.panel2.TabIndex = 3; // // groupBox1 // this.groupBox1.Controls.Add(this.dtpStartDate); this.groupBox1.Controls.Add(this.cbbReportType); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Top; this.groupBox1.Location = new System.Drawing.Point(7, 10); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(233, 82); this.groupBox1.TabIndex = 1; this.groupBox1.TabStop = false; this.groupBox1.Text = "ค้นหาข้อมูล"; // // dtpStartDate // this.dtpStartDate.CustomFormat = "dd MMMM yyyy"; this.dtpStartDate.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.dtpStartDate.Format = System.Windows.Forms.DateTimePickerFormat.Custom; this.dtpStartDate.Location = new System.Drawing.Point(14, 50); this.dtpStartDate.Name = "dtpStartDate"; this.dtpStartDate.Size = new System.Drawing.Size(204, 22); this.dtpStartDate.TabIndex = 1; this.dtpStartDate.ValueChanged += new System.EventHandler(this.dtpStartDate_ValueChanged); // // cbbReportType // this.cbbReportType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbbReportType.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.cbbReportType.FormattingEnabled = true; this.cbbReportType.Items.AddRange(new object[] { "สรุปยอดขายรายวัน", "รายงานสถิติ"}); this.cbbReportType.Location = new System.Drawing.Point(14, 19); this.cbbReportType.Name = "cbbReportType"; this.cbbReportType.Size = new System.Drawing.Size(204, 24); this.cbbReportType.TabIndex = 0; this.cbbReportType.SelectedIndexChanged += new System.EventHandler(this.CheckChange); // // columnModel1 // this.columnModel1.Columns.AddRange(new XPTable.Models.Column[] { this.textColumn1, this.textColumn5, this.textColumn2, this.textColumn3, this.textColumn4, this.numberColumn1}); // // textColumn1 // this.textColumn1.Alignment = XPTable.Models.ColumnAlignment.Center; this.textColumn1.Editable = false; this.textColumn1.IsTextTrimmed = false; this.textColumn1.Text = "ที่"; this.textColumn1.Width = 40; // // textColumn5 // this.textColumn5.Alignment = XPTable.Models.ColumnAlignment.Center; this.textColumn5.Editable = false; this.textColumn5.IsTextTrimmed = false; this.textColumn5.Text = "วันที่ขาย"; this.textColumn5.Width = 150; // // textColumn2 // this.textColumn2.Alignment = XPTable.Models.ColumnAlignment.Center; this.textColumn2.Editable = false; this.textColumn2.IsTextTrimmed = false; this.textColumn2.Text = "เลขที่ขาย"; this.textColumn2.Width = 150; // // textColumn3 // this.textColumn3.Editable = false; this.textColumn3.IsTextTrimmed = false; this.textColumn3.Text = "ลูกค้า"; this.textColumn3.Width = 250; // // textColumn4 // this.textColumn4.Alignment = XPTable.Models.ColumnAlignment.Center; this.textColumn4.IsTextTrimmed = false; this.textColumn4.Text = "มือถือ"; this.textColumn4.Width = 110; // // numberColumn1 // this.numberColumn1.Alignment = XPTable.Models.ColumnAlignment.Right; this.numberColumn1.Editable = false; this.numberColumn1.Format = "#,##0.00"; this.numberColumn1.IsTextTrimmed = false; this.numberColumn1.Text = "ยอดขาย"; this.numberColumn1.Width = 100; // // table1 // this.table1.BorderColor = System.Drawing.Color.Black; this.table1.ColumnModel = this.columnModel1; this.table1.ContextMenuStrip = this.contextMenuStrip1; this.table1.DataMember = null; this.table1.DataSourceColumnBinder = dataSourceColumnBinder1; this.table1.Dock = System.Windows.Forms.DockStyle.Fill; dragDropRenderer1.ForeColor = System.Drawing.Color.Red; this.table1.DragDropRenderer = dragDropRenderer1; this.table1.EnableHeaderContextMenu = false; this.table1.FullRowSelect = true; this.table1.GridLines = XPTable.Models.GridLines.Both; this.table1.GridLinesContrainedToData = false; this.table1.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.table1.Location = new System.Drawing.Point(247, 39); this.table1.Name = "table1"; this.table1.NoItemsText = ""; this.table1.SelectionStyle = XPTable.Models.SelectionStyle.Grid; this.table1.Size = new System.Drawing.Size(663, 443); this.table1.TabIndex = 11; this.table1.TableModel = this.tableModel1; this.table1.Text = "table1"; this.table1.UnfocusedBorderColor = System.Drawing.Color.Black; this.table1.CellClick += new XPTable.Events.CellMouseEventHandler(this.table1_CellClick); this.table1.CellDoubleClick += new XPTable.Events.CellMouseEventHandler(this.table1_CellDoubleClick); // // contextMenuStrip1 // this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.miPrintReceipt, this.miDetail}); this.contextMenuStrip1.Name = "contextMenuStrip1"; this.contextMenuStrip1.Size = new System.Drawing.Size(158, 48); // // miPrintReceipt // this.miPrintReceipt.Image = global::PowerPOS_Online.Properties.Resources.printer; this.miPrintReceipt.Name = "miPrintReceipt"; this.miPrintReceipt.Size = new System.Drawing.Size(157, 22); this.miPrintReceipt.Text = "พิมพ์ใบเสร็จรับเงิน"; this.miPrintReceipt.Click += new System.EventHandler(this.miPrintReceipt_Click); // // miDetail // this.miDetail.Image = global::PowerPOS_Online.Properties.Resources.table_money; this.miDetail.Name = "miDetail"; this.miDetail.Size = new System.Drawing.Size(157, 22); this.miDetail.Text = "รายละเอียดการขาย"; this.miDetail.Click += new System.EventHandler(this.miDetail_Click); // // saveFileDialog1 // this.saveFileDialog1.DefaultExt = "png"; // // UcReport // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.table1); this.Controls.Add(this.panel3); this.Controls.Add(this.panel1); this.Name = "UcReport"; this.Size = new System.Drawing.Size(910, 482); this.Load += new System.EventHandler(this.UcReport_Load); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.panel3.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); this.contextMenuStrip2.ResumeLayout(false); this.groupBox1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.table1)).EndInit(); this.contextMenuStrip1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { XPTable.Models.DataSourceColumnBinder dataSourceColumnBinder1 = new XPTable.Models.DataSourceColumnBinder(); XPTable.Renderers.DragDropRenderer dragDropRenderer1 = new XPTable.Renderers.DragDropRenderer(); this.label1 = new System.Windows.Forms.Label(); this.bt_ok = new System.Windows.Forms.Button(); this.cb_explode_attachments = new System.Windows.Forms.CheckBox(); this.tabControl1 = new System.Windows.Forms.TabControl(); this.tabPage1 = new System.Windows.Forms.TabPage(); this.table1 = new XPTable.Models.Table(); this.columnModel1 = new XPTable.Models.ColumnModel(); this.textColumn1 = new XPTable.Models.TextColumn(); this.textColumn2 = new XPTable.Models.TextColumn(); this.buttonColumn1 = new XPTable.Models.ButtonColumn(); this.tableModel1 = new XPTable.Models.TableModel(); this.tabPage2 = new System.Windows.Forms.TabPage(); this.cb_add_categories_in_name = new System.Windows.Forms.CheckBox(); this.cb_ask_path_too_long = new System.Windows.Forms.CheckBox(); this.cb_truncate = new System.Windows.Forms.CheckBox(); this.tabControl1.SuspendLayout(); this.tabPage1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.table1)).BeginInit(); this.tabPage2.SuspendLayout(); this.SuspendLayout(); // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(7, 4); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(212, 17); this.label1.TabIndex = 1; this.label1.Text = "LABEL_CONFIG_FOLDER_LIST"; // // bt_ok // this.bt_ok.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.bt_ok.Location = new System.Drawing.Point(892, 466); this.bt_ok.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.bt_ok.Name = "bt_ok"; this.bt_ok.Size = new System.Drawing.Size(75, 23); this.bt_ok.TabIndex = 2; this.bt_ok.Text = "BT_OK"; this.bt_ok.UseVisualStyleBackColor = true; this.bt_ok.Click += new System.EventHandler(this.Bt_ok_Click); // // cb_explode_attachments // this.cb_explode_attachments.AutoSize = true; this.cb_explode_attachments.Location = new System.Drawing.Point(7, 6); this.cb_explode_attachments.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.cb_explode_attachments.Name = "cb_explode_attachments"; this.cb_explode_attachments.Size = new System.Drawing.Size(232, 21); this.cb_explode_attachments.TabIndex = 3; this.cb_explode_attachments.Text = "CB_EXPLODE_ATTACHMENTS"; this.cb_explode_attachments.UseVisualStyleBackColor = true; // // tabControl1 // this.tabControl1.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.tabControl1.Controls.Add(this.tabPage1); this.tabControl1.Controls.Add(this.tabPage2); this.tabControl1.Location = new System.Drawing.Point(16, 15); this.tabControl1.Margin = new System.Windows.Forms.Padding(4); this.tabControl1.Name = "tabControl1"; this.tabControl1.SelectedIndex = 0; this.tabControl1.Size = new System.Drawing.Size(963, 446); this.tabControl1.TabIndex = 4; // // tabPage1 // this.tabPage1.Controls.Add(this.table1); this.tabPage1.Controls.Add(this.label1); this.tabPage1.Location = new System.Drawing.Point(4, 25); this.tabPage1.Margin = new System.Windows.Forms.Padding(4); this.tabPage1.Name = "tabPage1"; this.tabPage1.Padding = new System.Windows.Forms.Padding(4); this.tabPage1.Size = new System.Drawing.Size(955, 417); this.tabPage1.TabIndex = 0; this.tabPage1.Text = "TAB_FOLDERS"; this.tabPage1.UseVisualStyleBackColor = true; // // table1 // this.table1.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.table1.BorderColor = System.Drawing.Color.Black; this.table1.ColumnModel = this.columnModel1; this.table1.DataMember = null; this.table1.DataSourceColumnBinder = dataSourceColumnBinder1; dragDropRenderer1.ForeColor = System.Drawing.Color.Red; this.table1.DragDropRenderer = dragDropRenderer1; this.table1.GridLinesContrainedToData = false; this.table1.Location = new System.Drawing.Point(10, 37); this.table1.Name = "table1"; this.table1.Size = new System.Drawing.Size(942, 373); this.table1.TabIndex = 2; this.table1.TableModel = this.tableModel1; this.table1.Text = "table1"; this.table1.UnfocusedBorderColor = System.Drawing.Color.Black; this.table1.CellButtonClicked += new XPTable.Events.CellButtonEventHandler(this.table1_CellButtonClicked); // // columnModel1 // this.columnModel1.Columns.AddRange(new XPTable.Models.Column[] { this.textColumn1, this.textColumn2, this.buttonColumn1 }); // // textColumn1 // this.textColumn1.Editable = false; this.textColumn1.IsTextTrimmed = false; this.textColumn1.Text = "CONFIG_COLUMN_FOLDER_OUTLOOK"; this.textColumn1.Width = 250; // // textColumn2 // this.textColumn2.IsTextTrimmed = false; this.textColumn2.Text = "CONFIG_COLUMN_FOLDER_DISK"; this.textColumn2.Width = 650; // // buttonColumn1 // this.buttonColumn1.AutoResizeMode = XPTable.Models.ColumnAutoResizeMode.Shrink; this.buttonColumn1.FlatStyle = true; this.buttonColumn1.IsTextTrimmed = false; this.buttonColumn1.Resizable = false; this.buttonColumn1.Width = 30; // // tableModel1 // this.tableModel1.RowHeight = 20; // // tabPage2 // this.tabPage2.Controls.Add(this.cb_add_categories_in_name); this.tabPage2.Controls.Add(this.cb_ask_path_too_long); this.tabPage2.Controls.Add(this.cb_truncate); this.tabPage2.Controls.Add(this.cb_explode_attachments); this.tabPage2.Location = new System.Drawing.Point(4, 25); this.tabPage2.Margin = new System.Windows.Forms.Padding(4); this.tabPage2.Name = "tabPage2"; this.tabPage2.Padding = new System.Windows.Forms.Padding(4); this.tabPage2.Size = new System.Drawing.Size(955, 417); this.tabPage2.TabIndex = 1; this.tabPage2.Text = "TAB_PARAMS"; this.tabPage2.UseVisualStyleBackColor = true; // // cb_add_categories_in_name // this.cb_add_categories_in_name.AutoSize = true; this.cb_add_categories_in_name.Location = new System.Drawing.Point(8, 91); this.cb_add_categories_in_name.Name = "cb_add_categories_in_name"; this.cb_add_categories_in_name.Size = new System.Drawing.Size(250, 21); this.cb_add_categories_in_name.TabIndex = 6; this.cb_add_categories_in_name.Text = "CB_ADD_CATEGORIES_IN_NAME"; this.cb_add_categories_in_name.UseVisualStyleBackColor = true; // // cb_ask_path_too_long // this.cb_ask_path_too_long.AutoSize = true; this.cb_ask_path_too_long.Location = new System.Drawing.Point(7, 62); this.cb_ask_path_too_long.Margin = new System.Windows.Forms.Padding(4); this.cb_ask_path_too_long.Name = "cb_ask_path_too_long"; this.cb_ask_path_too_long.Size = new System.Drawing.Size(215, 21); this.cb_ask_path_too_long.TabIndex = 5; this.cb_ask_path_too_long.Text = "CB_ASK_PATH_TOO_LONG"; this.cb_ask_path_too_long.UseVisualStyleBackColor = true; // // cb_truncate // this.cb_truncate.AutoSize = true; this.cb_truncate.Location = new System.Drawing.Point(7, 33); this.cb_truncate.Margin = new System.Windows.Forms.Padding(4); this.cb_truncate.Name = "cb_truncate"; this.cb_truncate.Size = new System.Drawing.Size(263, 21); this.cb_truncate.TabIndex = 4; this.cb_truncate.Text = "CB_TRUNCATE_PATH_TOO_LONG"; this.cb_truncate.UseVisualStyleBackColor = true; // // ConfigForm // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(992, 501); this.Controls.Add(this.tabControl1); this.Controls.Add(this.bt_ok); this.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.Name = "ConfigForm"; this.Text = "CONFIG_FORM_TITLE"; this.tabControl1.ResumeLayout(false); this.tabPage1.ResumeLayout(false); this.tabPage1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.table1)).EndInit(); this.tabPage2.ResumeLayout(false); this.tabPage2.PerformLayout(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { XPTable.Models.DataSourceColumnBinder dataSourceColumnBinder1 = new XPTable.Models.DataSourceColumnBinder(); XPTable.Renderers.DragDropRenderer dragDropRenderer1 = new XPTable.Renderers.DragDropRenderer(); this.panel1 = new System.Windows.Forms.Panel(); this.lblRecords = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.panel3 = new System.Windows.Forms.Panel(); this.panel6 = new System.Windows.Forms.Panel(); this.btnAddCustomer = new System.Windows.Forms.Button(); this.gbOrderNo = new System.Windows.Forms.GroupBox(); this.btnSearch = new System.Windows.Forms.Button(); this.txtSearch = new System.Windows.Forms.TextBox(); this.tableModel1 = new XPTable.Models.TableModel(); this.columnModel1 = new XPTable.Models.ColumnModel(); this.clID = new XPTable.Models.TextColumn(); this.clName = new XPTable.Models.TextColumn(); this.clLastname = new XPTable.Models.TextColumn(); this.clNickname = new XPTable.Models.TextColumn(); this.clShopName = new XPTable.Models.TextColumn(); this.clSellPrice = new XPTable.Models.TextColumn(); this.clCredit = new XPTable.Models.TextColumn(); this.clCardNo = new XPTable.Models.TextColumn(); this.clMobile = new XPTable.Models.TextColumn(); this.clCitizendId = new XPTable.Models.TextColumn(); this.table1 = new XPTable.Models.Table(); this.panel1.SuspendLayout(); this.panel3.SuspendLayout(); this.panel6.SuspendLayout(); this.gbOrderNo.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.table1)).BeginInit(); this.SuspendLayout(); // // panel1 // this.panel1.BackColor = System.Drawing.Color.DimGray; this.panel1.Controls.Add(this.lblRecords); this.panel1.Controls.Add(this.label3); this.panel1.Controls.Add(this.label2); this.panel1.Controls.Add(this.label1); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(965, 39); this.panel1.TabIndex = 6; // // lblRecords // this.lblRecords.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.lblRecords.ForeColor = System.Drawing.Color.White; this.lblRecords.Location = new System.Drawing.Point(196, 13); this.lblRecords.Name = "lblRecords"; this.lblRecords.Size = new System.Drawing.Size(42, 16); this.lblRecords.TabIndex = 9; this.lblRecords.Text = "0"; this.lblRecords.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label3 // this.label3.AutoSize = true; this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F); this.label3.ForeColor = System.Drawing.Color.White; this.label3.Location = new System.Drawing.Point(236, 13); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(42, 16); this.label3.TabIndex = 8; this.label3.Text = "รายการ"; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label2 // this.label2.AutoSize = true; this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F); this.label2.ForeColor = System.Drawing.Color.White; this.label2.Location = new System.Drawing.Point(101, 13); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(99, 16); this.label2.TabIndex = 7; this.label2.Text = "ค้นพบข้อมูลทั้งหมด"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label1 // this.label1.AutoSize = true; this.label1.Dock = System.Windows.Forms.DockStyle.Fill; this.label1.Font = new System.Drawing.Font("DilleniaUPC", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.ForeColor = System.Drawing.Color.White; this.label1.Location = new System.Drawing.Point(0, 0); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(97, 38); this.label1.TabIndex = 0; this.label1.Text = "ข้อมูลลูกค้า"; // // panel3 // this.panel3.Controls.Add(this.panel6); this.panel3.Controls.Add(this.gbOrderNo); this.panel3.Dock = System.Windows.Forms.DockStyle.Left; this.panel3.Location = new System.Drawing.Point(0, 39); this.panel3.Name = "panel3"; this.panel3.Padding = new System.Windows.Forms.Padding(7, 10, 7, 0); this.panel3.Size = new System.Drawing.Size(247, 384); this.panel3.TabIndex = 9; // // panel6 // this.panel6.Controls.Add(this.btnAddCustomer); this.panel6.Dock = System.Windows.Forms.DockStyle.Top; this.panel6.Location = new System.Drawing.Point(7, 73); this.panel6.Name = "panel6"; this.panel6.Padding = new System.Windows.Forms.Padding(0, 10, 0, 0); this.panel6.Size = new System.Drawing.Size(233, 256); this.panel6.TabIndex = 11; // // btnAddCustomer // this.btnAddCustomer.Dock = System.Windows.Forms.DockStyle.Top; this.btnAddCustomer.Font = new System.Drawing.Font("Tahoma", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.btnAddCustomer.Image = global::PowerPOS_Online.Properties.Resources.plus_circle; this.btnAddCustomer.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btnAddCustomer.Location = new System.Drawing.Point(0, 10); this.btnAddCustomer.Name = "btnAddCustomer"; this.btnAddCustomer.Padding = new System.Windows.Forms.Padding(5, 0, 0, 0); this.btnAddCustomer.Size = new System.Drawing.Size(233, 38); this.btnAddCustomer.TabIndex = 11; this.btnAddCustomer.Text = "เพิ่มข้อมูลลูกค้า"; this.btnAddCustomer.UseVisualStyleBackColor = true; this.btnAddCustomer.Click += new System.EventHandler(this.btnAddCustomer_Click); // // gbOrderNo // this.gbOrderNo.Controls.Add(this.btnSearch); this.gbOrderNo.Controls.Add(this.txtSearch); this.gbOrderNo.Dock = System.Windows.Forms.DockStyle.Top; this.gbOrderNo.Location = new System.Drawing.Point(7, 10); this.gbOrderNo.Name = "gbOrderNo"; this.gbOrderNo.Size = new System.Drawing.Size(233, 63); this.gbOrderNo.TabIndex = 0; this.gbOrderNo.TabStop = false; this.gbOrderNo.Text = "ค้นหาข้อมูล"; // // btnSearch // this.btnSearch.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.btnSearch.Image = global::PowerPOS_Online.Properties.Resources.magnifier_left; this.btnSearch.Location = new System.Drawing.Point(190, 19); this.btnSearch.Name = "btnSearch"; this.btnSearch.Size = new System.Drawing.Size(31, 31); this.btnSearch.TabIndex = 4; this.btnSearch.UseVisualStyleBackColor = true; this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click); // // txtSearch // this.txtSearch.BackColor = System.Drawing.Color.Azure; this.txtSearch.Font = new System.Drawing.Font("Arial", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtSearch.ForeColor = System.Drawing.Color.MidnightBlue; this.txtSearch.Location = new System.Drawing.Point(14, 20); this.txtSearch.Name = "txtSearch"; this.txtSearch.Size = new System.Drawing.Size(170, 29); this.txtSearch.TabIndex = 1; this.txtSearch.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.txtSearch.KeyUp += new System.Windows.Forms.KeyEventHandler(this.txtSearch_KeyUp); // // columnModel1 // this.columnModel1.Columns.AddRange(new XPTable.Models.Column[] { this.clID, this.clName, this.clLastname, this.clNickname, this.clShopName, this.clSellPrice, this.clCredit, this.clCardNo, this.clMobile, this.clCitizendId }); // // clID // this.clID.IsTextTrimmed = false; this.clID.Visible = false; // // clName // this.clName.Editable = false; this.clName.IsTextTrimmed = false; this.clName.Text = "ชื่อ"; this.clName.Width = 100; // // clLastname // this.clLastname.Editable = false; this.clLastname.IsTextTrimmed = false; this.clLastname.Text = "นามสกุล"; this.clLastname.Width = 100; // // clNickname // this.clNickname.Alignment = XPTable.Models.ColumnAlignment.Center; this.clNickname.Editable = false; this.clNickname.IsTextTrimmed = false; this.clNickname.Text = "ชื่อเล่น"; this.clNickname.Width = 65; // // clShopName // this.clShopName.Editable = false; this.clShopName.IsTextTrimmed = false; this.clShopName.Text = "ชื่อร้าน"; this.clShopName.Width = 150; // // clSellPrice // this.clSellPrice.Alignment = XPTable.Models.ColumnAlignment.Center; this.clSellPrice.Editable = false; this.clSellPrice.IsTextTrimmed = false; this.clSellPrice.Text = "ราคาขาย"; // // clCredit // this.clCredit.Alignment = XPTable.Models.ColumnAlignment.Center; this.clCredit.Editable = false; this.clCredit.IsTextTrimmed = false; this.clCredit.Text = "เครดิต"; this.clCredit.Width = 60; // // clCardNo // this.clCardNo.Alignment = XPTable.Models.ColumnAlignment.Center; this.clCardNo.Editable = false; this.clCardNo.IsTextTrimmed = false; this.clCardNo.Text = "เลขที่บัตรสมาชิก"; this.clCardNo.Width = 115; // // clMobile // this.clMobile.Alignment = XPTable.Models.ColumnAlignment.Center; this.clMobile.Editable = false; this.clMobile.IsTextTrimmed = false; this.clMobile.Text = "มือถือ"; this.clMobile.Width = 100; // // clCitizendId // this.clCitizendId.Alignment = XPTable.Models.ColumnAlignment.Center; this.clCitizendId.Editable = false; this.clCitizendId.IsTextTrimmed = false; this.clCitizendId.Text = "เลขที่บัตรประชาชน"; this.clCitizendId.Width = 140; // // table1 // this.table1.BorderColor = System.Drawing.Color.Black; this.table1.ColumnModel = this.columnModel1; this.table1.DataMember = null; this.table1.DataSourceColumnBinder = dataSourceColumnBinder1; this.table1.Dock = System.Windows.Forms.DockStyle.Fill; dragDropRenderer1.ForeColor = System.Drawing.Color.Red; this.table1.DragDropRenderer = dragDropRenderer1; this.table1.EnableHeaderContextMenu = false; this.table1.FullRowSelect = true; this.table1.GridLines = XPTable.Models.GridLines.Both; this.table1.GridLinesContrainedToData = false; this.table1.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.table1.Location = new System.Drawing.Point(247, 39); this.table1.Name = "table1"; this.table1.NoItemsText = ""; this.table1.SelectionStyle = XPTable.Models.SelectionStyle.Grid; this.table1.Size = new System.Drawing.Size(718, 384); this.table1.TabIndex = 14; this.table1.TableModel = this.tableModel1; this.table1.TabStop = false; this.table1.Text = "table1"; this.table1.UnfocusedBorderColor = System.Drawing.Color.Black; this.table1.CellDoubleClick += new XPTable.Events.CellMouseEventHandler(this.table1_CellDoubleClick); // // UcCustomer // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.table1); this.Controls.Add(this.panel3); this.Controls.Add(this.panel1); this.Name = "UcCustomer"; this.Size = new System.Drawing.Size(965, 423); this.Load += new System.EventHandler(this.UcCustomer_Load); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.panel3.ResumeLayout(false); this.panel6.ResumeLayout(false); this.gbOrderNo.ResumeLayout(false); this.gbOrderNo.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.table1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { XPTable.Models.DataSourceColumnBinder dataSourceColumnBinder1 = new XPTable.Models.DataSourceColumnBinder(); XPTable.Renderers.DragDropRenderer dragDropRenderer1 = new XPTable.Renderers.DragDropRenderer(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmMain)); this.btn_start = new MetroFramework.Controls.MetroButton(); this.table = new XPTable.Models.Table(); this.columnModel = new XPTable.Models.ColumnModel(); this.tableModel = new XPTable.Models.TableModel(); this.btn_save_SIM = new MetroFramework.Controls.MetroButton(); this.btn_hide_show_SIM = new MetroFramework.Controls.MetroButton(); ((System.ComponentModel.ISupportInitialize)(this.table)).BeginInit(); this.SuspendLayout(); // // btn_start // this.btn_start.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; this.btn_start.FontSize = MetroFramework.MetroButtonSize.Tall; this.btn_start.Location = new System.Drawing.Point(65, 63); this.btn_start.Name = "btn_start"; this.btn_start.Size = new System.Drawing.Size(90, 25); this.btn_start.TabIndex = 0; this.btn_start.Text = "Read"; this.btn_start.UseSelectable = true; this.btn_start.Click += new System.EventHandler(this.btn_start_Click); // // table // this.table.BorderColor = System.Drawing.Color.Black; this.table.ColumnModel = this.columnModel; this.table.DataMember = null; this.table.DataSourceColumnBinder = dataSourceColumnBinder1; dragDropRenderer1.ForeColor = System.Drawing.Color.Red; this.table.DragDropRenderer = dragDropRenderer1; this.table.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.table.FullRowSelect = true; this.table.GridLines = XPTable.Models.GridLines.Rows; this.table.GridLinesContrainedToData = false; this.table.HeaderAlignWithColumn = true; this.table.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.table.Location = new System.Drawing.Point(15, 106); this.table.Name = "table"; this.table.Size = new System.Drawing.Size(930, 600); this.table.TabIndex = 3; this.table.TableModel = this.tableModel; this.table.Text = "table1"; this.table.UnfocusedBorderColor = System.Drawing.Color.Black; // // columnModel // this.columnModel.HeaderHeight = 30; // // tableModel // this.tableModel.RowHeight = 20; // // btn_save_SIM // this.btn_save_SIM.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; this.btn_save_SIM.FontSize = MetroFramework.MetroButtonSize.Tall; this.btn_save_SIM.Location = new System.Drawing.Point(370, 63); this.btn_save_SIM.Name = "btn_save_SIM"; this.btn_save_SIM.Size = new System.Drawing.Size(147, 25); this.btn_save_SIM.TabIndex = 1; this.btn_save_SIM.Text = "Save SIM Status"; this.btn_save_SIM.UseSelectable = true; this.btn_save_SIM.Click += new System.EventHandler(this.btn_save_SIM_Click); // // btn_hide_show_SIM // this.btn_hide_show_SIM.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; this.btn_hide_show_SIM.FontSize = MetroFramework.MetroButtonSize.Tall; this.btn_hide_show_SIM.Location = new System.Drawing.Point(732, 63); this.btn_hide_show_SIM.Name = "btn_hide_show_SIM"; this.btn_hide_show_SIM.Size = new System.Drawing.Size(150, 25); this.btn_hide_show_SIM.TabIndex = 2; this.btn_hide_show_SIM.Text = "Hide Blocked SIM"; this.btn_hide_show_SIM.UseSelectable = true; this.btn_hide_show_SIM.Click += new System.EventHandler(this.btn_hide_show_SIM_Click); // // frmMain // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BorderStyle = MetroFramework.Forms.MetroFormBorderStyle.FixedSingle; this.ClientSize = new System.Drawing.Size(960, 720); this.Controls.Add(this.btn_hide_show_SIM); this.Controls.Add(this.table); this.Controls.Add(this.btn_save_SIM); this.Controls.Add(this.btn_start); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.Name = "frmMain"; this.Resizable = false; this.ShadowType = MetroFramework.Forms.MetroFormShadowType.None; this.Text = "GPS Tracking Platform"; this.Load += new System.EventHandler(this.frmMain_Load); ((System.ComponentModel.ISupportInitialize)(this.table)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { XPTable.Models.DataSourceColumnBinder dataSourceColumnBinder1 = new XPTable.Models.DataSourceColumnBinder(); XPTable.Renderers.DragDropRenderer dragDropRenderer1 = new XPTable.Renderers.DragDropRenderer(); this.panel2 = new System.Windows.Forms.Panel(); this.table1 = new XPTable.Models.Table(); this.columnModel1 = new XPTable.Models.ColumnModel(); this.No = new XPTable.Models.TextColumn(); this.SellNo = new XPTable.Models.TextColumn(); this.Customer = new XPTable.Models.TextColumn(); this.Price = new XPTable.Models.NumberColumn(); this.Quantity = new XPTable.Models.NumberColumn(); this.SellPrice = new XPTable.Models.NumberColumn(); this.tableModel1 = new XPTable.Models.TableModel(); this.panel3 = new System.Windows.Forms.Panel(); this.btnCancel = new System.Windows.Forms.Button(); this.panel1 = new System.Windows.Forms.Panel(); this.gbHeader = new System.Windows.Forms.GroupBox(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.lblProduct = new System.Windows.Forms.Label(); this.lblName = new System.Windows.Forms.Label(); this.SellDate = new XPTable.Models.TextColumn(); this.cost = new XPTable.Models.NumberColumn(); this.PriceCost = new XPTable.Models.NumberColumn(); this.panel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.table1)).BeginInit(); this.panel3.SuspendLayout(); this.panel1.SuspendLayout(); this.gbHeader.SuspendLayout(); this.SuspendLayout(); // // panel2 // this.panel2.Controls.Add(this.table1); this.panel2.Controls.Add(this.panel3); this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; this.panel2.Location = new System.Drawing.Point(0, 58); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(799, 365); this.panel2.TabIndex = 3; // // table1 // this.table1.BorderColor = System.Drawing.Color.Black; this.table1.ColumnModel = this.columnModel1; this.table1.DataMember = null; this.table1.DataSourceColumnBinder = dataSourceColumnBinder1; this.table1.Dock = System.Windows.Forms.DockStyle.Fill; dragDropRenderer1.ForeColor = System.Drawing.Color.Red; this.table1.DragDropRenderer = dragDropRenderer1; this.table1.EnableHeaderContextMenu = false; this.table1.FullRowSelect = true; this.table1.GridLines = XPTable.Models.GridLines.Both; this.table1.GridLinesContrainedToData = false; this.table1.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.table1.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; this.table1.Location = new System.Drawing.Point(0, 0); this.table1.Name = "table1"; this.table1.NoItemsText = ""; this.table1.SelectionStyle = XPTable.Models.SelectionStyle.Grid; this.table1.Size = new System.Drawing.Size(799, 323); this.table1.TabIndex = 15; this.table1.TableModel = this.tableModel1; this.table1.Text = "table1"; this.table1.UnfocusedBorderColor = System.Drawing.Color.Black; this.table1.CellDoubleClick += new XPTable.Events.CellMouseEventHandler(this.table1_CellDoubleClick); // // columnModel1 // this.columnModel1.Columns.AddRange(new XPTable.Models.Column[] { this.No, this.SellNo, this.SellDate, this.Customer, this.Price, this.Quantity, this.SellPrice, this.cost, this.PriceCost }); // // No // this.No.Alignment = XPTable.Models.ColumnAlignment.Center; this.No.Editable = false; this.No.IsTextTrimmed = false; this.No.Text = "ที่"; this.No.Width = 40; // // SellNo // this.SellNo.Editable = false; this.SellNo.IsTextTrimmed = false; this.SellNo.Text = "เลขที่ขาย"; this.SellNo.Width = 100; // // Customer // this.Customer.Editable = false; this.Customer.IsTextTrimmed = false; this.Customer.Text = "ลูกค้า"; this.Customer.Width = 130; // // Price // this.Price.Alignment = XPTable.Models.ColumnAlignment.Right; this.Price.Editable = false; this.Price.IsTextTrimmed = false; this.Price.Text = "ราคา"; this.Price.Width = 100; // // Quantity // this.Quantity.Alignment = XPTable.Models.ColumnAlignment.Right; this.Quantity.Editable = false; this.Quantity.IsTextTrimmed = false; this.Quantity.Text = "จำนวน"; this.Quantity.Width = 80; // // SellPrice // this.SellPrice.Alignment = XPTable.Models.ColumnAlignment.Right; this.SellPrice.Editable = false; this.SellPrice.IsTextTrimmed = false; this.SellPrice.Text = "ราคาขาย"; this.SellPrice.Width = 100; // // panel3 // this.panel3.Controls.Add(this.btnCancel); this.panel3.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel3.Location = new System.Drawing.Point(0, 323); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(799, 42); this.panel3.TabIndex = 14; // // btnCancel // this.btnCancel.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.btnCancel.Image = global::PowerPOS_Online.Properties.Resources.arrow_circle_225_left; this.btnCancel.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btnCancel.Location = new System.Drawing.Point(724, 6); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(66, 32); this.btnCancel.TabIndex = 16; this.btnCancel.Text = "ยกเลิก"; this.btnCancel.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.btnCancel.UseVisualStyleBackColor = true; this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); // // panel1 // this.panel1.Controls.Add(this.gbHeader); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(799, 58); this.panel1.TabIndex = 2; // // gbHeader // this.gbHeader.Controls.Add(this.label1); this.gbHeader.Controls.Add(this.label2); this.gbHeader.Controls.Add(this.lblProduct); this.gbHeader.Controls.Add(this.lblName); this.gbHeader.Location = new System.Drawing.Point(9, 3); this.gbHeader.Name = "gbHeader"; this.gbHeader.Size = new System.Drawing.Size(781, 46); this.gbHeader.TabIndex = 8; this.gbHeader.TabStop = false; // // label1 // this.label1.AutoSize = true; this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.label1.Location = new System.Drawing.Point(11, 16); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(71, 18); this.label1.TabIndex = 0; this.label1.Text = "รหัสสินค้า :"; // // label2 // this.label2.AutoSize = true; this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.label2.Location = new System.Drawing.Point(191, 16); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(63, 18); this.label2.TabIndex = 1; this.label2.Text = "ชื่อสินค้า :"; // // lblProduct // this.lblProduct.AutoSize = true; this.lblProduct.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.lblProduct.Location = new System.Drawing.Point(88, 16); this.lblProduct.Name = "lblProduct"; this.lblProduct.Size = new System.Drawing.Size(74, 18); this.lblProduct.TabIndex = 3; this.lblProduct.Text = "lblProduct"; // // lblName // this.lblName.AutoSize = true; this.lblName.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.lblName.Location = new System.Drawing.Point(260, 16); this.lblName.Name = "lblName"; this.lblName.Size = new System.Drawing.Size(62, 18); this.lblName.TabIndex = 4; this.lblName.Text = "lblName"; // // SellDate // this.SellDate.Editable = false; this.SellDate.IsTextTrimmed = false; this.SellDate.Text = "วันที่ขาย"; this.SellDate.Width = 150; // // cost // this.cost.IsTextTrimmed = false; this.cost.Visible = false; // // PriceCost // this.PriceCost.IsTextTrimmed = false; this.PriceCost.Visible = false; // // FmReturnSellDetail // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(799, 423); this.Controls.Add(this.panel2); this.Controls.Add(this.panel1); this.Name = "FmReturnSellDetail"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "เลือกบิลที่ต้องการรับคืน"; this.Load += new System.EventHandler(this.ReturnSellDetail_Load); this.panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.table1)).EndInit(); this.panel3.ResumeLayout(false); this.panel1.ResumeLayout(false); this.gbHeader.ResumeLayout(false); this.gbHeader.PerformLayout(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { XPTable.Models.DataSourceColumnBinder dataSourceColumnBinder1 = new XPTable.Models.DataSourceColumnBinder(); XPTable.Renderers.DragDropRenderer dragDropRenderer1 = new XPTable.Renderers.DragDropRenderer(); this.panel2 = new System.Windows.Forms.Panel(); this.panel3 = new System.Windows.Forms.Panel(); this.btnCancel = new System.Windows.Forms.Button(); this.table1 = new XPTable.Models.Table(); this.columnModel1 = new XPTable.Models.ColumnModel(); this.clNo = new XPTable.Models.TextColumn(); this.clClaimNo = new XPTable.Models.TextColumn(); this.clClaimDate = new XPTable.Models.TextColumn(); this.clBarcode = new XPTable.Models.TextColumn(); this.clBarcodeClaim = new XPTable.Models.TextColumn(); this.clPriceClaim = new XPTable.Models.NumberColumn(); this.clOffice = new XPTable.Models.ImageColumn(); this.tableModel1 = new XPTable.Models.TableModel(); this.bwSearch = new System.ComponentModel.BackgroundWorker(); this.panel2.SuspendLayout(); this.panel3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.table1)).BeginInit(); this.SuspendLayout(); // // panel2 // this.panel2.Controls.Add(this.table1); this.panel2.Controls.Add(this.panel3); this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; this.panel2.Location = new System.Drawing.Point(0, 0); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(790, 344); this.panel2.TabIndex = 1; // // panel3 // this.panel3.Controls.Add(this.btnCancel); this.panel3.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel3.Location = new System.Drawing.Point(0, 301); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(790, 43); this.panel3.TabIndex = 1; // // btnCancel // this.btnCancel.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.btnCancel.Image = global::PowerPOS_Online.Properties.Resources.arrow_circle_225_left; this.btnCancel.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btnCancel.Location = new System.Drawing.Point(704, 5); this.btnCancel.Margin = new System.Windows.Forms.Padding(4); this.btnCancel.Name = "btnCancel"; this.btnCancel.Padding = new System.Windows.Forms.Padding(7, 0, 7, 0); this.btnCancel.Size = new System.Drawing.Size(76, 32); this.btnCancel.TabIndex = 16; this.btnCancel.Text = "ยกเลิก"; this.btnCancel.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.btnCancel.UseVisualStyleBackColor = true; this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); // // table1 // this.table1.BorderColor = System.Drawing.Color.Black; this.table1.ColumnModel = this.columnModel1; this.table1.DataMember = null; this.table1.DataSourceColumnBinder = dataSourceColumnBinder1; this.table1.Dock = System.Windows.Forms.DockStyle.Fill; dragDropRenderer1.ForeColor = System.Drawing.Color.Red; this.table1.DragDropRenderer = dragDropRenderer1; this.table1.EnableHeaderContextMenu = false; this.table1.FullRowSelect = true; this.table1.GridLines = XPTable.Models.GridLines.Both; this.table1.GridLinesContrainedToData = false; this.table1.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; this.table1.Location = new System.Drawing.Point(0, 0); this.table1.Name = "table1"; this.table1.NoItemsText = ""; this.table1.SelectionStyle = XPTable.Models.SelectionStyle.Grid; this.table1.Size = new System.Drawing.Size(790, 301); this.table1.TabIndex = 15; this.table1.TableModel = this.tableModel1; this.table1.Text = "table1"; this.table1.UnfocusedBorderColor = System.Drawing.Color.Black; // // columnModel1 // this.columnModel1.Columns.AddRange(new XPTable.Models.Column[] { this.clNo, this.clClaimNo, this.clClaimDate, this.clBarcode, this.clBarcodeClaim, this.clPriceClaim, this.clOffice}); // // clNo // this.clNo.IsTextTrimmed = false; this.clNo.Text = "ที่"; this.clNo.Width = 30; // // clClaimNo // this.clClaimNo.IsTextTrimmed = false; this.clClaimNo.Text = "เลขที่การเคลม"; this.clClaimNo.Width = 100; // // clClaimDate // this.clClaimDate.IsTextTrimmed = false; this.clClaimDate.Text = "วันที่เคลมสินค้า"; this.clClaimDate.Width = 170; // // clBarcode // this.clBarcode.IsTextTrimmed = false; this.clBarcode.Text = "บาร์โค้ด"; this.clBarcode.Width = 150; // // clBarcodeClaim // this.clBarcodeClaim.IsTextTrimmed = false; this.clBarcodeClaim.Text = "บาร์โค้ดเคลม"; this.clBarcodeClaim.Width = 150; // // clPriceClaim // this.clPriceClaim.Alignment = XPTable.Models.ColumnAlignment.Right; this.clPriceClaim.IsTextTrimmed = false; this.clPriceClaim.Text = "คืนเงิน"; this.clPriceClaim.Width = 80; // // clOffice // this.clOffice.Alignment = XPTable.Models.ColumnAlignment.Center; this.clOffice.DrawText = false; this.clOffice.ImageOnRight = true; this.clOffice.IsTextTrimmed = false; this.clOffice.Text = "ส่งคืนสำนักงาน"; this.clOffice.Width = 100; // // bwSearch // this.bwSearch.DoWork += new System.ComponentModel.DoWorkEventHandler(this.bwSearch_DoWork); this.bwSearch.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.bwSearch_RunWorkerCompleted); // // FmClaimHistory // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(790, 344); this.Controls.Add(this.panel2); this.Name = "FmClaimHistory"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "ประวัติการเคลมสินค้า"; this.Load += new System.EventHandler(this.FmClaimHistory_Load); this.panel2.ResumeLayout(false); this.panel3.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.table1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { XPTable.Models.DataSourceColumnBinder dataSourceColumnBinder1 = new XPTable.Models.DataSourceColumnBinder(); XPTable.Renderers.DragDropRenderer dragDropRenderer1 = new XPTable.Renderers.DragDropRenderer(); this.panel1 = new System.Windows.Forms.Panel(); this.label1 = new System.Windows.Forms.Label(); this.panel2 = new System.Windows.Forms.Panel(); this.table1 = new XPTable.Models.Table(); this.columnModel1 = new XPTable.Models.ColumnModel(); this.clNo = new XPTable.Models.TextColumn(); this.clStatus = new XPTable.Models.ImageColumn(); this.clName = new XPTable.Models.TextColumn(); this.clLastname = new XPTable.Models.TextColumn(); this.clNickname = new XPTable.Models.TextColumn(); this.clUserGroup = new XPTable.Models.TextColumn(); this.clUsername = new XPTable.Models.TextColumn(); this.clMobile = new XPTable.Models.TextColumn(); this.clEmail = new XPTable.Models.TextColumn(); this.tableModel1 = new XPTable.Models.TableModel(); this.panel4 = new System.Windows.Forms.Panel(); this.checkBox1 = new System.Windows.Forms.CheckBox(); this.panel3 = new System.Windows.Forms.Panel(); this.btnCancelAddGroup = new System.Windows.Forms.Button(); this.btnDeleteGroup = new System.Windows.Forms.Button(); this.btnAddGroup = new System.Windows.Forms.Button(); this.panel5 = new System.Windows.Forms.Panel(); this.btnAddUser = new System.Windows.Forms.Button(); this.checkBox2 = new System.Windows.Forms.CheckBox(); this.cbxUserGroup = new System.Windows.Forms.ComboBox(); this.label2 = new System.Windows.Forms.Label(); this.txtUserGroup = new System.Windows.Forms.TextBox(); this.bwGetUserGroup = new System.ComponentModel.BackgroundWorker(); this.bwUpdateUserGroup = new System.ComponentModel.BackgroundWorker(); this.bwDeleteUserGroup = new System.ComponentModel.BackgroundWorker(); this.bwLoadData = new System.ComponentModel.BackgroundWorker(); this.bwUpdateData = new System.ComponentModel.BackgroundWorker(); this.bwDeleteData = new System.ComponentModel.BackgroundWorker(); this.bwAddData = new System.ComponentModel.BackgroundWorker(); this.panel1.SuspendLayout(); this.panel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.table1)).BeginInit(); this.panel4.SuspendLayout(); this.panel3.SuspendLayout(); this.panel5.SuspendLayout(); this.SuspendLayout(); // // panel1 // this.panel1.BackColor = System.Drawing.Color.DimGray; this.panel1.Controls.Add(this.label1); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(1071, 39); this.panel1.TabIndex = 8; // // label1 // this.label1.AutoSize = true; this.label1.Dock = System.Windows.Forms.DockStyle.Fill; this.label1.Font = new System.Drawing.Font("DilleniaUPC", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.ForeColor = System.Drawing.Color.White; this.label1.Location = new System.Drawing.Point(0, 0); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(156, 38); this.label1.TabIndex = 0; this.label1.Text = "ข้อมูลผู้ใช้งานระบบ"; // // panel2 // this.panel2.Controls.Add(this.table1); this.panel2.Controls.Add(this.panel4); this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; this.panel2.Location = new System.Drawing.Point(0, 39); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(1071, 468); this.panel2.TabIndex = 9; // // table1 // this.table1.BorderColor = System.Drawing.Color.Black; this.table1.ColumnModel = this.columnModel1; this.table1.DataMember = null; this.table1.DataSourceColumnBinder = dataSourceColumnBinder1; this.table1.Dock = System.Windows.Forms.DockStyle.Fill; dragDropRenderer1.ForeColor = System.Drawing.Color.Red; this.table1.DragDropRenderer = dragDropRenderer1; this.table1.EnableHeaderContextMenu = false; this.table1.FullRowSelect = true; this.table1.GridLines = XPTable.Models.GridLines.Both; this.table1.GridLinesContrainedToData = false; this.table1.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.table1.Location = new System.Drawing.Point(0, 44); this.table1.Name = "table1"; this.table1.NoItemsText = ""; this.table1.SelectionStyle = XPTable.Models.SelectionStyle.Grid; this.table1.Size = new System.Drawing.Size(1071, 424); this.table1.TabIndex = 13; this.table1.TableModel = this.tableModel1; this.table1.TabStop = false; this.table1.Text = "table1"; this.table1.UnfocusedBorderColor = System.Drawing.Color.Black; this.table1.CellDoubleClick += new XPTable.Events.CellMouseEventHandler(this.table1_CellDoubleClick); // // columnModel1 // this.columnModel1.Columns.AddRange(new XPTable.Models.Column[] { this.clNo, this.clStatus, this.clName, this.clLastname, this.clNickname, this.clUserGroup, this.clUsername, this.clMobile, this.clEmail }); // // clNo // this.clNo.Alignment = XPTable.Models.ColumnAlignment.Center; this.clNo.Editable = false; this.clNo.IsTextTrimmed = false; this.clNo.Resizable = false; this.clNo.Sortable = false; this.clNo.Text = "ที่"; this.clNo.Width = 40; // // clStatus // this.clStatus.Alignment = XPTable.Models.ColumnAlignment.Center; this.clStatus.DrawText = false; this.clStatus.IsTextTrimmed = false; this.clStatus.Resizable = false; this.clStatus.Sortable = false; this.clStatus.Width = 24; // // clName // this.clName.Editable = false; this.clName.IsTextTrimmed = false; this.clName.Text = "ชื่อ"; this.clName.Width = 150; // // clLastname // this.clLastname.Editable = false; this.clLastname.IsTextTrimmed = false; this.clLastname.Text = "นามสกุล"; this.clLastname.Width = 150; // // clNickname // this.clNickname.Alignment = XPTable.Models.ColumnAlignment.Center; this.clNickname.Editable = false; this.clNickname.IsTextTrimmed = false; this.clNickname.Text = "ชื่อเล่น"; this.clNickname.Width = 80; // // clUserGroup // this.clUserGroup.Alignment = XPTable.Models.ColumnAlignment.Center; this.clUserGroup.Editable = false; this.clUserGroup.IsTextTrimmed = false; this.clUserGroup.Text = "ประเภทผู้ใช้งาน"; this.clUserGroup.Width = 150; // // clUsername // this.clUsername.Alignment = XPTable.Models.ColumnAlignment.Center; this.clUsername.Editable = false; this.clUsername.IsTextTrimmed = false; this.clUsername.Text = "ชื่อผู้ใช้"; this.clUsername.Width = 100; // // clMobile // this.clMobile.Alignment = XPTable.Models.ColumnAlignment.Center; this.clMobile.Editable = false; this.clMobile.IsTextTrimmed = false; this.clMobile.Text = "เบอร์โทรศัพท์"; this.clMobile.Width = 115; // // clEmail // this.clEmail.Editable = false; this.clEmail.IsTextTrimmed = false; this.clEmail.Text = "อีเมล"; this.clEmail.Width = 240; // // panel4 // this.panel4.Controls.Add(this.checkBox1); this.panel4.Controls.Add(this.panel3); this.panel4.Controls.Add(this.panel5); this.panel4.Controls.Add(this.checkBox2); this.panel4.Controls.Add(this.cbxUserGroup); this.panel4.Controls.Add(this.label2); this.panel4.Controls.Add(this.txtUserGroup); this.panel4.Dock = System.Windows.Forms.DockStyle.Top; this.panel4.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.panel4.Location = new System.Drawing.Point(0, 0); this.panel4.Name = "panel4"; this.panel4.Size = new System.Drawing.Size(1071, 44); this.panel4.TabIndex = 0; // // checkBox1 // this.checkBox1.AutoSize = true; this.checkBox1.Location = new System.Drawing.Point(346, 13); this.checkBox1.Name = "checkBox1"; this.checkBox1.Size = new System.Drawing.Size(80, 20); this.checkBox1.TabIndex = 3; this.checkBox1.Text = "เข้าระบบได้"; this.checkBox1.UseVisualStyleBackColor = true; // // panel3 // this.panel3.Controls.Add(this.btnCancelAddGroup); this.panel3.Controls.Add(this.btnDeleteGroup); this.panel3.Controls.Add(this.btnAddGroup); this.panel3.Location = new System.Drawing.Point(277, 9); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(87, 26); this.panel3.TabIndex = 9; // // btnCancelAddGroup // this.btnCancelAddGroup.Dock = System.Windows.Forms.DockStyle.Left; this.btnCancelAddGroup.Image = global::PowerPOS_Online.Properties.Resources.arrow_circle_225_left; this.btnCancelAddGroup.Location = new System.Drawing.Point(56, 0); this.btnCancelAddGroup.Margin = new System.Windows.Forms.Padding(3, 3, 5, 3); this.btnCancelAddGroup.Name = "btnCancelAddGroup"; this.btnCancelAddGroup.Size = new System.Drawing.Size(28, 26); this.btnCancelAddGroup.TabIndex = 8; this.btnCancelAddGroup.UseVisualStyleBackColor = true; this.btnCancelAddGroup.Visible = false; this.btnCancelAddGroup.Click += new System.EventHandler(this.btnCancelAddGroup_Click); // // btnDeleteGroup // this.btnDeleteGroup.Dock = System.Windows.Forms.DockStyle.Left; this.btnDeleteGroup.Enabled = false; this.btnDeleteGroup.Image = global::PowerPOS_Online.Properties.Resources.minus_circle; this.btnDeleteGroup.Location = new System.Drawing.Point(28, 0); this.btnDeleteGroup.Name = "btnDeleteGroup"; this.btnDeleteGroup.Size = new System.Drawing.Size(28, 26); this.btnDeleteGroup.TabIndex = 9; this.btnDeleteGroup.UseVisualStyleBackColor = true; this.btnDeleteGroup.Click += new System.EventHandler(this.btnDeleteGroup_Click); // // btnAddGroup // this.btnAddGroup.Dock = System.Windows.Forms.DockStyle.Left; this.btnAddGroup.Image = global::PowerPOS_Online.Properties.Resources.plus_white; this.btnAddGroup.Location = new System.Drawing.Point(0, 0); this.btnAddGroup.Margin = new System.Windows.Forms.Padding(3, 3, 5, 3); this.btnAddGroup.Name = "btnAddGroup"; this.btnAddGroup.Size = new System.Drawing.Size(28, 26); this.btnAddGroup.TabIndex = 2; this.btnAddGroup.UseVisualStyleBackColor = true; this.btnAddGroup.Click += new System.EventHandler(this.btnAddGroup_Click); // // panel5 // this.panel5.Controls.Add(this.btnAddUser); this.panel5.Dock = System.Windows.Forms.DockStyle.Right; this.panel5.Location = new System.Drawing.Point(909, 0); this.panel5.Name = "panel5"; this.panel5.Size = new System.Drawing.Size(162, 44); this.panel5.TabIndex = 6; // // btnAddUser // this.btnAddUser.Image = global::PowerPOS_Online.Properties.Resources.plus_circle; this.btnAddUser.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btnAddUser.Location = new System.Drawing.Point(11, 6); this.btnAddUser.Name = "btnAddUser"; this.btnAddUser.Padding = new System.Windows.Forms.Padding(5, 0, 5, 0); this.btnAddUser.Size = new System.Drawing.Size(145, 33); this.btnAddUser.TabIndex = 5; this.btnAddUser.Text = "เพิ่มข้อมูลผู้ใช้งานใหม่"; this.btnAddUser.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.btnAddUser.UseVisualStyleBackColor = true; this.btnAddUser.Click += new System.EventHandler(this.btnAddUser_Click); // // checkBox2 // this.checkBox2.AutoSize = true; this.checkBox2.Location = new System.Drawing.Point(432, 13); this.checkBox2.Name = "checkBox2"; this.checkBox2.Size = new System.Drawing.Size(101, 20); this.checkBox2.TabIndex = 4; this.checkBox2.Text = "ยกเลิกการใช้งาน"; this.checkBox2.UseVisualStyleBackColor = true; // // cbxUserGroup // this.cbxUserGroup.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbxUserGroup.FormattingEnabled = true; this.cbxUserGroup.Items.AddRange(new object[] { "ทั้งหมด" }); this.cbxUserGroup.Location = new System.Drawing.Point(93, 10); this.cbxUserGroup.Name = "cbxUserGroup"; this.cbxUserGroup.Size = new System.Drawing.Size(182, 24); this.cbxUserGroup.TabIndex = 1; this.cbxUserGroup.SelectedIndexChanged += new System.EventHandler(this.cbxUserGroup_SelectedIndexChanged); // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(9, 13); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(82, 16); this.label2.TabIndex = 0; this.label2.Text = "ประเภทผู้ใช้งาน"; // // txtUserGroup // this.txtUserGroup.Location = new System.Drawing.Point(93, 11); this.txtUserGroup.Name = "txtUserGroup"; this.txtUserGroup.Size = new System.Drawing.Size(182, 22); this.txtUserGroup.TabIndex = 7; this.txtUserGroup.Visible = false; this.txtUserGroup.TextChanged += new System.EventHandler(this.txtUserGroup_TextChanged); // // bwGetUserGroup // this.bwGetUserGroup.DoWork += new System.ComponentModel.DoWorkEventHandler(this.bwGetUserGroup_DoWork); this.bwGetUserGroup.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.bwGetUserGroup_RunWorkerCompleted); // // bwUpdateUserGroup // this.bwUpdateUserGroup.DoWork += new System.ComponentModel.DoWorkEventHandler(this.bwUpdateUserGroup_DoWork); this.bwUpdateUserGroup.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.bwUpdateUserGroup_RunWorkerCompleted); // // bwDeleteUserGroup // this.bwDeleteUserGroup.DoWork += new System.ComponentModel.DoWorkEventHandler(this.bwDeleteUserGroup_DoWork); this.bwDeleteUserGroup.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.bwDeleteUserGroup_RunWorkerCompleted); // // bwLoadData // this.bwLoadData.DoWork += new System.ComponentModel.DoWorkEventHandler(this.bwLoadData_DoWork); this.bwLoadData.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.bwLoadData_RunWorkerCompleted); // // bwUpdateData // this.bwUpdateData.DoWork += new System.ComponentModel.DoWorkEventHandler(this.bwUpdateData_DoWork); this.bwUpdateData.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.bwUpdateData_RunWorkerCompleted); // // bwDeleteData // this.bwDeleteData.DoWork += new System.ComponentModel.DoWorkEventHandler(this.bwDeleteData_DoWork); this.bwDeleteData.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.bwDeleteData_RunWorkerCompleted); // // UcUser // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.panel2); this.Controls.Add(this.panel1); this.Name = "UcUser"; this.Size = new System.Drawing.Size(1071, 507); this.Load += new System.EventHandler(this.UcUser_Load); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.table1)).EndInit(); this.panel4.ResumeLayout(false); this.panel4.PerformLayout(); this.panel3.ResumeLayout(false); this.panel5.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { XPTable.Models.DataSourceColumnBinder dataSourceColumnBinder1 = new XPTable.Models.DataSourceColumnBinder(); XPTable.Renderers.DragDropRenderer dragDropRenderer1 = new XPTable.Renderers.DragDropRenderer(); this.panel1 = new System.Windows.Forms.Panel(); this.lblRecords = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.panel3 = new System.Windows.Forms.Panel(); this.panel6 = new System.Windows.Forms.Panel(); this.btnAddCustomer = new System.Windows.Forms.Button(); this.gbOrderNo = new System.Windows.Forms.GroupBox(); this.btnSearch = new System.Windows.Forms.Button(); this.txtSearch = new System.Windows.Forms.TextBox(); this.tableModel1 = new XPTable.Models.TableModel(); this.columnModel1 = new XPTable.Models.ColumnModel(); this.clID = new XPTable.Models.TextColumn(); this.clName = new XPTable.Models.TextColumn(); this.clLastname = new XPTable.Models.TextColumn(); this.clNickname = new XPTable.Models.TextColumn(); this.clShopName = new XPTable.Models.TextColumn(); this.clSellPrice = new XPTable.Models.TextColumn(); this.clCredit = new XPTable.Models.TextColumn(); this.clCardNo = new XPTable.Models.TextColumn(); this.clMobile = new XPTable.Models.TextColumn(); this.clCitizendId = new XPTable.Models.TextColumn(); this.table1 = new XPTable.Models.Table(); this.panel1.SuspendLayout(); this.panel3.SuspendLayout(); this.panel6.SuspendLayout(); this.gbOrderNo.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.table1)).BeginInit(); this.SuspendLayout(); // // panel1 // this.panel1.BackColor = System.Drawing.Color.DimGray; this.panel1.Controls.Add(this.lblRecords); this.panel1.Controls.Add(this.label3); this.panel1.Controls.Add(this.label2); this.panel1.Controls.Add(this.label1); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(965, 39); this.panel1.TabIndex = 6; // // lblRecords // this.lblRecords.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.lblRecords.ForeColor = System.Drawing.Color.White; this.lblRecords.Location = new System.Drawing.Point(196, 13); this.lblRecords.Name = "lblRecords"; this.lblRecords.Size = new System.Drawing.Size(42, 16); this.lblRecords.TabIndex = 9; this.lblRecords.Text = "0"; this.lblRecords.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label3 // this.label3.AutoSize = true; this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F); this.label3.ForeColor = System.Drawing.Color.White; this.label3.Location = new System.Drawing.Point(236, 13); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(42, 16); this.label3.TabIndex = 8; this.label3.Text = "รายการ"; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label2 // this.label2.AutoSize = true; this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F); this.label2.ForeColor = System.Drawing.Color.White; this.label2.Location = new System.Drawing.Point(101, 13); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(99, 16); this.label2.TabIndex = 7; this.label2.Text = "ค้นพบข้อมูลทั้งหมด"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label1 // this.label1.AutoSize = true; this.label1.Dock = System.Windows.Forms.DockStyle.Fill; this.label1.Font = new System.Drawing.Font("DilleniaUPC", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.ForeColor = System.Drawing.Color.White; this.label1.Location = new System.Drawing.Point(0, 0); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(97, 38); this.label1.TabIndex = 0; this.label1.Text = "ข้อมูลลูกค้า"; // // panel3 // this.panel3.Controls.Add(this.panel6); this.panel3.Controls.Add(this.gbOrderNo); this.panel3.Dock = System.Windows.Forms.DockStyle.Left; this.panel3.Location = new System.Drawing.Point(0, 39); this.panel3.Name = "panel3"; this.panel3.Padding = new System.Windows.Forms.Padding(7, 10, 7, 0); this.panel3.Size = new System.Drawing.Size(247, 384); this.panel3.TabIndex = 9; // // panel6 // this.panel6.Controls.Add(this.btnAddCustomer); this.panel6.Dock = System.Windows.Forms.DockStyle.Top; this.panel6.Location = new System.Drawing.Point(7, 73); this.panel6.Name = "panel6"; this.panel6.Padding = new System.Windows.Forms.Padding(0, 10, 0, 0); this.panel6.Size = new System.Drawing.Size(233, 256); this.panel6.TabIndex = 11; // // btnAddCustomer // this.btnAddCustomer.Dock = System.Windows.Forms.DockStyle.Top; this.btnAddCustomer.Font = new System.Drawing.Font("Tahoma", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.btnAddCustomer.Image = global::PowerPOS_Online.Properties.Resources.plus_circle; this.btnAddCustomer.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btnAddCustomer.Location = new System.Drawing.Point(0, 10); this.btnAddCustomer.Name = "btnAddCustomer"; this.btnAddCustomer.Padding = new System.Windows.Forms.Padding(5, 0, 0, 0); this.btnAddCustomer.Size = new System.Drawing.Size(233, 38); this.btnAddCustomer.TabIndex = 11; this.btnAddCustomer.Text = "เพิ่มข้อมูลลูกค้า"; this.btnAddCustomer.UseVisualStyleBackColor = true; this.btnAddCustomer.Click += new System.EventHandler(this.btnAddCustomer_Click); // // gbOrderNo // this.gbOrderNo.Controls.Add(this.btnSearch); this.gbOrderNo.Controls.Add(this.txtSearch); this.gbOrderNo.Dock = System.Windows.Forms.DockStyle.Top; this.gbOrderNo.Location = new System.Drawing.Point(7, 10); this.gbOrderNo.Name = "gbOrderNo"; this.gbOrderNo.Size = new System.Drawing.Size(233, 63); this.gbOrderNo.TabIndex = 0; this.gbOrderNo.TabStop = false; this.gbOrderNo.Text = "ค้นหาข้อมูล"; // // btnSearch // this.btnSearch.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.btnSearch.Image = global::PowerPOS_Online.Properties.Resources.magnifier_left; this.btnSearch.Location = new System.Drawing.Point(190, 19); this.btnSearch.Name = "btnSearch"; this.btnSearch.Size = new System.Drawing.Size(31, 31); this.btnSearch.TabIndex = 4; this.btnSearch.UseVisualStyleBackColor = true; this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click); // // txtSearch // this.txtSearch.BackColor = System.Drawing.Color.Azure; this.txtSearch.Font = new System.Drawing.Font("Arial", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtSearch.ForeColor = System.Drawing.Color.MidnightBlue; this.txtSearch.Location = new System.Drawing.Point(14, 20); this.txtSearch.Name = "txtSearch"; this.txtSearch.Size = new System.Drawing.Size(170, 29); this.txtSearch.TabIndex = 1; this.txtSearch.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.txtSearch.KeyUp += new System.Windows.Forms.KeyEventHandler(this.txtSearch_KeyUp); // // columnModel1 // this.columnModel1.Columns.AddRange(new XPTable.Models.Column[] { this.clID, this.clName, this.clLastname, this.clNickname, this.clShopName, this.clSellPrice, this.clCredit, this.clCardNo, this.clMobile, this.clCitizendId}); // // clID // this.clID.IsTextTrimmed = false; this.clID.Visible = false; // // clName // this.clName.Editable = false; this.clName.IsTextTrimmed = false; this.clName.Text = "ชื่อ"; this.clName.Width = 100; // // clLastname // this.clLastname.Editable = false; this.clLastname.IsTextTrimmed = false; this.clLastname.Text = "นามสกุล"; this.clLastname.Width = 100; // // clNickname // this.clNickname.Alignment = XPTable.Models.ColumnAlignment.Center; this.clNickname.Editable = false; this.clNickname.IsTextTrimmed = false; this.clNickname.Text = "ชื่อเล่น"; this.clNickname.Width = 65; // // clShopName // this.clShopName.Editable = false; this.clShopName.IsTextTrimmed = false; this.clShopName.Text = "ชื่อร้าน"; this.clShopName.Width = 150; // // clSellPrice // this.clSellPrice.Alignment = XPTable.Models.ColumnAlignment.Center; this.clSellPrice.Editable = false; this.clSellPrice.IsTextTrimmed = false; this.clSellPrice.Text = "ราคาขาย"; // // clCredit // this.clCredit.Alignment = XPTable.Models.ColumnAlignment.Center; this.clCredit.Editable = false; this.clCredit.IsTextTrimmed = false; this.clCredit.Text = "เครดิต"; this.clCredit.Width = 60; // // clCardNo // this.clCardNo.Alignment = XPTable.Models.ColumnAlignment.Center; this.clCardNo.Editable = false; this.clCardNo.IsTextTrimmed = false; this.clCardNo.Text = "เลขที่บัตรสมาชิก"; this.clCardNo.Width = 115; // // clMobile // this.clMobile.Alignment = XPTable.Models.ColumnAlignment.Center; this.clMobile.Editable = false; this.clMobile.IsTextTrimmed = false; this.clMobile.Text = "มือถือ"; this.clMobile.Width = 100; // // clCitizendId // this.clCitizendId.Alignment = XPTable.Models.ColumnAlignment.Center; this.clCitizendId.Editable = false; this.clCitizendId.IsTextTrimmed = false; this.clCitizendId.Text = "เลขที่บัตรประชาชน"; this.clCitizendId.Width = 140; // // table1 // this.table1.BorderColor = System.Drawing.Color.Black; this.table1.ColumnModel = this.columnModel1; this.table1.DataMember = null; this.table1.DataSourceColumnBinder = dataSourceColumnBinder1; this.table1.Dock = System.Windows.Forms.DockStyle.Fill; dragDropRenderer1.ForeColor = System.Drawing.Color.Red; this.table1.DragDropRenderer = dragDropRenderer1; this.table1.EnableHeaderContextMenu = false; this.table1.FullRowSelect = true; this.table1.GridLines = XPTable.Models.GridLines.Both; this.table1.GridLinesContrainedToData = false; this.table1.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.table1.Location = new System.Drawing.Point(247, 39); this.table1.Name = "table1"; this.table1.NoItemsText = ""; this.table1.SelectionStyle = XPTable.Models.SelectionStyle.Grid; this.table1.Size = new System.Drawing.Size(718, 384); this.table1.TabIndex = 14; this.table1.TableModel = this.tableModel1; this.table1.TabStop = false; this.table1.Text = "table1"; this.table1.UnfocusedBorderColor = System.Drawing.Color.Black; this.table1.CellDoubleClick += new XPTable.Events.CellMouseEventHandler(this.table1_CellDoubleClick); // // UcCustomer // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.table1); this.Controls.Add(this.panel3); this.Controls.Add(this.panel1); this.Name = "UcCustomer"; this.Size = new System.Drawing.Size(965, 423); this.Load += new System.EventHandler(this.UcCustomer_Load); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.panel3.ResumeLayout(false); this.panel6.ResumeLayout(false); this.gbOrderNo.ResumeLayout(false); this.gbOrderNo.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.table1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { XPTable.Models.DataSourceColumnBinder dataSourceColumnBinder2 = new XPTable.Models.DataSourceColumnBinder(); XPTable.Renderers.DragDropRenderer dragDropRenderer2 = new XPTable.Renderers.DragDropRenderer(); this.table = new XPTable.Models.Table(); this.btnFilter = new System.Windows.Forms.Button(); this.txtFilter = new System.Windows.Forms.TextBox(); ((System.ComponentModel.ISupportInitialize)(this.table)).BeginInit(); this.SuspendLayout(); // // table // this.table.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.table.BorderColor = System.Drawing.Color.Black; this.table.DataMember = null; this.table.DataSourceColumnBinder = dataSourceColumnBinder2; dragDropRenderer2.ForeColor = System.Drawing.Color.Red; this.table.DragDropRenderer = dragDropRenderer2; this.table.GridLinesContrainedToData = false; this.table.Location = new System.Drawing.Point(12, 20); this.table.Name = "table"; this.table.Size = new System.Drawing.Size(456, 130); this.table.TabIndex = 0; this.table.Text = "table1"; this.table.UnfocusedBorderColor = System.Drawing.Color.Black; // // btnFilter // this.btnFilter.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnFilter.Location = new System.Drawing.Point(499, 127); this.btnFilter.Name = "btnFilter"; this.btnFilter.Size = new System.Drawing.Size(75, 23); this.btnFilter.TabIndex = 1; this.btnFilter.Text = "Filter"; this.btnFilter.UseVisualStyleBackColor = true; this.btnFilter.Click += new System.EventHandler(this.btnFilter_Click); // // txtFilter // this.txtFilter.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.txtFilter.Location = new System.Drawing.Point(474, 20); this.txtFilter.Multiline = true; this.txtFilter.Name = "txtFilter"; this.txtFilter.Size = new System.Drawing.Size(100, 101); this.txtFilter.TabIndex = 2; // // DemoCustom // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(586, 161); this.Controls.Add(this.txtFilter); this.Controls.Add(this.btnFilter); this.Controls.Add(this.table); this.Name = "DemoCustom"; this.Text = "DemoCustom"; this.Load += new System.EventHandler(this.Demo_Load); ((System.ComponentModel.ISupportInitialize)(this.table)).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() { XPTable.Models.DataSourceColumnBinder dataSourceColumnBinder1 = new XPTable.Models.DataSourceColumnBinder(); XPTable.Renderers.DragDropRenderer dragDropRenderer1 = new XPTable.Renderers.DragDropRenderer(); XPTable.Models.Row row1 = new XPTable.Models.Row(); this.lblStatus = new System.Windows.Forms.Label(); this.panel4 = new System.Windows.Forms.Panel(); this.lblPrice = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.panel2 = new System.Windows.Forms.Panel(); this.lblCustomerName = new System.Windows.Forms.Label(); this.btnAge6 = new System.Windows.Forms.Button(); this.clNo = new XPTable.Models.TextColumn(); this.clSku = new XPTable.Models.TextColumn(); this.clName = new XPTable.Models.TextColumn(); this.btnAge5 = new System.Windows.Forms.Button(); this.btnAge4 = new System.Windows.Forms.Button(); this.btnAge3 = new System.Windows.Forms.Button(); this.btnAge2 = new System.Windows.Forms.Button(); this.btnAge1 = new System.Windows.Forms.Button(); this.btnWoman = new System.Windows.Forms.Button(); this.btnMan = new System.Windows.Forms.Button(); this.clPrice = new XPTable.Models.NumberColumn(); this.clQty = new XPTable.Models.NumberColumn(); this.clTotal = new XPTable.Models.NumberColumn(); this.columnModel1 = new XPTable.Models.ColumnModel(); this.table1 = new XPTable.Models.Table(); this.tableModel1 = new XPTable.Models.TableModel(); this.label8 = new System.Windows.Forms.Label(); this.txtBarcode = new System.Windows.Forms.TextBox(); this.pnlBarcode = new System.Windows.Forms.Panel(); this.label2 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.btnSearch = new System.Windows.Forms.Button(); this.panel5 = new System.Windows.Forms.Panel(); this.btnConfirm = new System.Windows.Forms.Button(); this.panel7 = new System.Windows.Forms.Panel(); this.btnCancel = new System.Windows.Forms.Button(); this.panel6 = new System.Windows.Forms.Panel(); this.panel8 = new System.Windows.Forms.Panel(); this.btnCancelProduct = new System.Windows.Forms.Button(); this.panel3 = new System.Windows.Forms.Panel(); this.label1 = new System.Windows.Forms.Label(); this.panel1 = new System.Windows.Forms.Panel(); this.panel4.SuspendLayout(); this.panel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.table1)).BeginInit(); this.pnlBarcode.SuspendLayout(); this.groupBox1.SuspendLayout(); this.panel5.SuspendLayout(); this.panel6.SuspendLayout(); this.panel3.SuspendLayout(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // lblStatus // this.lblStatus.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblStatus.ForeColor = System.Drawing.Color.Green; this.lblStatus.Location = new System.Drawing.Point(14, 56); this.lblStatus.Name = "lblStatus"; this.lblStatus.Size = new System.Drawing.Size(204, 23); this.lblStatus.TabIndex = 2; this.lblStatus.Text = "ไม่พบข้อมูลสินค้าชิ้นนี้"; this.lblStatus.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.lblStatus.Visible = false; // // panel4 // this.panel4.BackColor = System.Drawing.Color.Black; this.panel4.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.panel4.Controls.Add(this.lblPrice); this.panel4.Controls.Add(this.label4); this.panel4.Controls.Add(this.label3); this.panel4.Dock = System.Windows.Forms.DockStyle.Top; this.panel4.Location = new System.Drawing.Point(0, 0); this.panel4.Name = "panel4"; this.panel4.Size = new System.Drawing.Size(233, 64); this.panel4.TabIndex = 0; // // lblPrice // this.lblPrice.Dock = System.Windows.Forms.DockStyle.Bottom; this.lblPrice.Font = new System.Drawing.Font("Arial", 27.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblPrice.ForeColor = System.Drawing.Color.Lime; this.lblPrice.Location = new System.Drawing.Point(0, 16); this.lblPrice.Name = "lblPrice"; this.lblPrice.Size = new System.Drawing.Size(229, 44); this.lblPrice.TabIndex = 1; this.lblPrice.Text = "9,999,999"; this.lblPrice.TextAlign = System.Drawing.ContentAlignment.BottomRight; // // label4 // this.label4.AutoSize = true; this.label4.ForeColor = System.Drawing.Color.Lime; this.label4.Location = new System.Drawing.Point(155, 0); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(66, 13); this.label4.TabIndex = 0; this.label4.Text = "หน่วย = บาท"; // // label3 // this.label3.AutoSize = true; this.label3.ForeColor = System.Drawing.Color.Lime; this.label3.Location = new System.Drawing.Point(3, 0); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(30, 13); this.label3.TabIndex = 0; this.label3.Text = "ราคา"; // // panel2 // this.panel2.Controls.Add(this.panel4); this.panel2.Dock = System.Windows.Forms.DockStyle.Top; this.panel2.Location = new System.Drawing.Point(7, 7); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(233, 67); this.panel2.TabIndex = 7; // // lblCustomerName // this.lblCustomerName.AutoSize = true; this.lblCustomerName.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.lblCustomerName.Location = new System.Drawing.Point(47, 26); this.lblCustomerName.Name = "lblCustomerName"; this.lblCustomerName.Size = new System.Drawing.Size(0, 19); this.lblCustomerName.TabIndex = 7; // // btnAge6 // this.btnAge6.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F); this.btnAge6.Location = new System.Drawing.Point(142, 153); this.btnAge6.Name = "btnAge6"; this.btnAge6.Size = new System.Drawing.Size(85, 26); this.btnAge6.TabIndex = 10; this.btnAge6.Text = "61 ปี ขึ้นไป"; this.btnAge6.UseVisualStyleBackColor = true; this.btnAge6.Click += new System.EventHandler(this.btnAge6_Click); // // clNo // this.clNo.Alignment = XPTable.Models.ColumnAlignment.Center; this.clNo.Editable = false; this.clNo.IsTextTrimmed = false; this.clNo.Resizable = false; this.clNo.Sortable = false; this.clNo.Text = "ที่"; this.clNo.Width = 40; // // clSku // this.clSku.Alignment = XPTable.Models.ColumnAlignment.Center; this.clSku.Editable = false; this.clSku.IsTextTrimmed = false; this.clSku.Resizable = false; this.clSku.Sortable = false; this.clSku.Text = "รหัสสินค้า"; this.clSku.Width = 80; // // clName // this.clName.Editable = false; this.clName.IsTextTrimmed = false; this.clName.Sortable = false; this.clName.Text = "ชื่อสินค้า"; this.clName.Width = 400; // // btnAge5 // this.btnAge5.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F); this.btnAge5.Location = new System.Drawing.Point(142, 121); this.btnAge5.Name = "btnAge5"; this.btnAge5.Size = new System.Drawing.Size(85, 26); this.btnAge5.TabIndex = 9; this.btnAge5.Text = "41-60 ปี"; this.btnAge5.UseVisualStyleBackColor = true; this.btnAge5.Click += new System.EventHandler(this.btnAge5_Click); // // btnAge4 // this.btnAge4.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F); this.btnAge4.Location = new System.Drawing.Point(142, 89); this.btnAge4.Name = "btnAge4"; this.btnAge4.Size = new System.Drawing.Size(85, 26); this.btnAge4.TabIndex = 8; this.btnAge4.Text = "26-40 ปี"; this.btnAge4.UseVisualStyleBackColor = true; this.btnAge4.Click += new System.EventHandler(this.btnAge4_Click); // // btnAge3 // this.btnAge3.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F); this.btnAge3.Location = new System.Drawing.Point(51, 153); this.btnAge3.Name = "btnAge3"; this.btnAge3.Size = new System.Drawing.Size(85, 26); this.btnAge3.TabIndex = 7; this.btnAge3.Text = "19-25 ปี"; this.btnAge3.UseVisualStyleBackColor = true; this.btnAge3.Click += new System.EventHandler(this.btnAge3_Click); // // btnAge2 // this.btnAge2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F); this.btnAge2.Location = new System.Drawing.Point(51, 121); this.btnAge2.Name = "btnAge2"; this.btnAge2.Size = new System.Drawing.Size(85, 26); this.btnAge2.TabIndex = 6; this.btnAge2.Text = "13-18 ปี"; this.btnAge2.UseVisualStyleBackColor = true; this.btnAge2.Click += new System.EventHandler(this.btnAge2_Click); // // btnAge1 // this.btnAge1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F); this.btnAge1.Location = new System.Drawing.Point(51, 89); this.btnAge1.Name = "btnAge1"; this.btnAge1.Size = new System.Drawing.Size(85, 26); this.btnAge1.TabIndex = 5; this.btnAge1.Text = "1-12 ปี"; this.btnAge1.UseVisualStyleBackColor = true; this.btnAge1.Click += new System.EventHandler(this.btnAge1_Click); // // btnWoman // this.btnWoman.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F); this.btnWoman.Location = new System.Drawing.Point(142, 57); this.btnWoman.Name = "btnWoman"; this.btnWoman.Size = new System.Drawing.Size(85, 26); this.btnWoman.TabIndex = 4; this.btnWoman.Text = "หญิง"; this.btnWoman.UseVisualStyleBackColor = true; this.btnWoman.Click += new System.EventHandler(this.btnWoman_Click); // // btnMan // this.btnMan.BackColor = System.Drawing.Color.SteelBlue; this.btnMan.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F); this.btnMan.ForeColor = System.Drawing.Color.White; this.btnMan.Location = new System.Drawing.Point(51, 57); this.btnMan.Name = "btnMan"; this.btnMan.Size = new System.Drawing.Size(85, 26); this.btnMan.TabIndex = 3; this.btnMan.Text = "ชาย"; this.btnMan.UseVisualStyleBackColor = false; this.btnMan.Click += new System.EventHandler(this.btnMan_Click); // // clPrice // this.clPrice.Alignment = XPTable.Models.ColumnAlignment.Center; this.clPrice.Editable = false; this.clPrice.Format = "#,###"; this.clPrice.IsTextTrimmed = false; this.clPrice.Minimum = new decimal(new int[] { 1, 0, 0, 0 }); this.clPrice.Sortable = false; this.clPrice.Text = "ราคา"; // // clQty // this.clQty.Alignment = XPTable.Models.ColumnAlignment.Center; this.clQty.Format = "#,###"; this.clQty.IsTextTrimmed = false; this.clQty.Minimum = new decimal(new int[] { 1, 0, 0, 0 }); this.clQty.Sortable = false; this.clQty.Text = "จำนวน"; // // clTotal // this.clTotal.Alignment = XPTable.Models.ColumnAlignment.Right; this.clTotal.Editable = false; this.clTotal.Format = "#,###"; this.clTotal.IsTextTrimmed = false; this.clTotal.Minimum = new decimal(new int[] { 1, 0, 0, 0 }); this.clTotal.Sortable = false; this.clTotal.Text = "รวม"; // // columnModel1 // this.columnModel1.Columns.AddRange(new XPTable.Models.Column[] { this.clNo, this.clSku, this.clName, this.clPrice, this.clQty, this.clTotal }); // // table1 // this.table1.BorderColor = System.Drawing.Color.Black; this.table1.ColumnModel = this.columnModel1; this.table1.DataMember = null; this.table1.DataSourceColumnBinder = dataSourceColumnBinder1; this.table1.Dock = System.Windows.Forms.DockStyle.Fill; dragDropRenderer1.ForeColor = System.Drawing.Color.Red; this.table1.DragDropRenderer = dragDropRenderer1; this.table1.EnableHeaderContextMenu = false; this.table1.FullRowSelect = true; this.table1.GridLines = XPTable.Models.GridLines.Both; this.table1.GridLinesContrainedToData = false; this.table1.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.table1.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; this.table1.Location = new System.Drawing.Point(247, 39); this.table1.Name = "table1"; this.table1.NoItemsText = ""; this.table1.SelectionStyle = XPTable.Models.SelectionStyle.Grid; this.table1.Size = new System.Drawing.Size(555, 478); this.table1.TabIndex = 12; this.table1.TableModel = this.tableModel1; this.table1.TabStop = false; this.table1.Text = "table1"; this.table1.UnfocusedBorderColor = System.Drawing.Color.Black; this.table1.CellDoubleClick += new XPTable.Events.CellMouseEventHandler(this.table1_CellDoubleClick); // // tableModel1 // row1.ChildIndex = 0; row1.ExpandSubRows = true; row1.Height = 15; this.tableModel1.Rows.AddRange(new XPTable.Models.Row[] { row1 }); // // label8 // this.label8.AutoSize = true; this.label8.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F); this.label8.Location = new System.Drawing.Point(15, 94); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(31, 16); this.label8.TabIndex = 2; this.label8.Text = "อายุ :"; // // txtBarcode // this.txtBarcode.BackColor = System.Drawing.Color.Azure; this.txtBarcode.Font = new System.Drawing.Font("Arial", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtBarcode.ForeColor = System.Drawing.Color.MidnightBlue; this.txtBarcode.Location = new System.Drawing.Point(0, 24); this.txtBarcode.Name = "txtBarcode"; this.txtBarcode.Size = new System.Drawing.Size(233, 29); this.txtBarcode.TabIndex = 1; this.txtBarcode.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.txtBarcode.Click += new System.EventHandler(this.txtBarcode_Enter); this.txtBarcode.Enter += new System.EventHandler(this.txtBarcode_Enter); this.txtBarcode.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtBarcode_KeyDown); // // pnlBarcode // this.pnlBarcode.Controls.Add(this.txtBarcode); this.pnlBarcode.Controls.Add(this.label2); this.pnlBarcode.Controls.Add(this.lblStatus); this.pnlBarcode.Dock = System.Windows.Forms.DockStyle.Top; this.pnlBarcode.Location = new System.Drawing.Point(7, 74); this.pnlBarcode.Name = "pnlBarcode"; this.pnlBarcode.Size = new System.Drawing.Size(233, 82); this.pnlBarcode.TabIndex = 7; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(-3, 8); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(44, 13); this.label2.TabIndex = 1; this.label2.Text = "บาร์โค้ด"; // // label7 // this.label7.AutoSize = true; this.label7.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.label7.Location = new System.Drawing.Point(16, 29); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(30, 16); this.label7.TabIndex = 1; this.label7.Text = "ชื่อ : "; // // label6 // this.label6.AutoSize = true; this.label6.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F); this.label6.Location = new System.Drawing.Point(14, 62); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(32, 16); this.label6.TabIndex = 0; this.label6.Text = "เพศ :"; // // groupBox1 // this.groupBox1.Controls.Add(this.btnSearch); this.groupBox1.Controls.Add(this.lblCustomerName); this.groupBox1.Controls.Add(this.btnAge6); this.groupBox1.Controls.Add(this.btnAge5); this.groupBox1.Controls.Add(this.btnAge4); this.groupBox1.Controls.Add(this.btnAge3); this.groupBox1.Controls.Add(this.btnAge2); this.groupBox1.Controls.Add(this.btnAge1); this.groupBox1.Controls.Add(this.btnWoman); this.groupBox1.Controls.Add(this.btnMan); this.groupBox1.Controls.Add(this.label8); this.groupBox1.Controls.Add(this.label7); this.groupBox1.Controls.Add(this.label6); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox1.Location = new System.Drawing.Point(0, 0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(233, 188); this.groupBox1.TabIndex = 0; this.groupBox1.TabStop = false; this.groupBox1.Text = "ข้อมูลลูกค้า"; // // btnSearch // this.btnSearch.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F); this.btnSearch.Image = global::PowerPOS_Online.Properties.Resources.magnifier_left; this.btnSearch.Location = new System.Drawing.Point(196, 24); this.btnSearch.Name = "btnSearch"; this.btnSearch.Size = new System.Drawing.Size(31, 26); this.btnSearch.TabIndex = 2; this.btnSearch.UseVisualStyleBackColor = true; this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click); // // panel5 // this.panel5.Controls.Add(this.groupBox1); this.panel5.Dock = System.Windows.Forms.DockStyle.Top; this.panel5.Location = new System.Drawing.Point(7, 156); this.panel5.Name = "panel5"; this.panel5.Size = new System.Drawing.Size(233, 188); this.panel5.TabIndex = 8; // // btnConfirm // this.btnConfirm.Dock = System.Windows.Forms.DockStyle.Top; this.btnConfirm.Font = new System.Drawing.Font("Tahoma", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.btnConfirm.Location = new System.Drawing.Point(0, 102); this.btnConfirm.Name = "btnConfirm"; this.btnConfirm.Size = new System.Drawing.Size(233, 38); this.btnConfirm.TabIndex = 11; this.btnConfirm.Text = "ยืนยันการขาย (F1)"; this.btnConfirm.UseVisualStyleBackColor = true; this.btnConfirm.Click += new System.EventHandler(this.btnConfirm_Click); // // panel7 // this.panel7.Dock = System.Windows.Forms.DockStyle.Top; this.panel7.Location = new System.Drawing.Point(0, 48); this.panel7.Name = "panel7"; this.panel7.Size = new System.Drawing.Size(233, 8); this.panel7.TabIndex = 12; // // btnCancel // this.btnCancel.Dock = System.Windows.Forms.DockStyle.Top; this.btnCancel.Font = new System.Drawing.Font("Tahoma", 11.25F); this.btnCancel.Location = new System.Drawing.Point(0, 56); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(233, 38); this.btnCancel.TabIndex = 12; this.btnCancel.Text = "ยกเลิกการขายทั้งบิล (F12)"; this.btnCancel.UseVisualStyleBackColor = true; this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); // // panel6 // this.panel6.Controls.Add(this.btnConfirm); this.panel6.Controls.Add(this.panel8); this.panel6.Controls.Add(this.btnCancel); this.panel6.Controls.Add(this.panel7); this.panel6.Controls.Add(this.btnCancelProduct); this.panel6.Dock = System.Windows.Forms.DockStyle.Top; this.panel6.Location = new System.Drawing.Point(7, 344); this.panel6.Name = "panel6"; this.panel6.Padding = new System.Windows.Forms.Padding(0, 10, 0, 0); this.panel6.Size = new System.Drawing.Size(233, 154); this.panel6.TabIndex = 10; // // panel8 // this.panel8.Dock = System.Windows.Forms.DockStyle.Top; this.panel8.Location = new System.Drawing.Point(0, 94); this.panel8.Name = "panel8"; this.panel8.Size = new System.Drawing.Size(233, 8); this.panel8.TabIndex = 13; // // btnCancelProduct // this.btnCancelProduct.Dock = System.Windows.Forms.DockStyle.Top; this.btnCancelProduct.Font = new System.Drawing.Font("Tahoma", 11.25F); this.btnCancelProduct.Location = new System.Drawing.Point(0, 10); this.btnCancelProduct.Name = "btnCancelProduct"; this.btnCancelProduct.Size = new System.Drawing.Size(233, 38); this.btnCancelProduct.TabIndex = 14; this.btnCancelProduct.Text = "ยกเลิกการขายทีละรายการ (F11)"; this.btnCancelProduct.UseVisualStyleBackColor = true; this.btnCancelProduct.Click += new System.EventHandler(this.btnCancelProduct_Click); // // panel3 // this.panel3.Controls.Add(this.panel6); this.panel3.Controls.Add(this.panel5); this.panel3.Controls.Add(this.pnlBarcode); this.panel3.Controls.Add(this.panel2); this.panel3.Dock = System.Windows.Forms.DockStyle.Left; this.panel3.Location = new System.Drawing.Point(0, 39); this.panel3.Name = "panel3"; this.panel3.Padding = new System.Windows.Forms.Padding(7, 7, 7, 0); this.panel3.Size = new System.Drawing.Size(247, 478); this.panel3.TabIndex = 11; // // label1 // this.label1.AutoSize = true; this.label1.Dock = System.Windows.Forms.DockStyle.Fill; this.label1.Font = new System.Drawing.Font("DilleniaUPC", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.ForeColor = System.Drawing.Color.White; this.label1.Location = new System.Drawing.Point(0, 0); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(86, 38); this.label1.TabIndex = 0; this.label1.Text = "ขายสินค้า"; // // panel1 // this.panel1.BackColor = System.Drawing.Color.DimGray; this.panel1.Controls.Add(this.label1); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(802, 39); this.panel1.TabIndex = 10; // // UcSell // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.table1); this.Controls.Add(this.panel3); this.Controls.Add(this.panel1); this.Name = "UcSell"; this.Size = new System.Drawing.Size(802, 517); this.Load += new System.EventHandler(this.UcSell_Load); this.panel4.ResumeLayout(false); this.panel4.PerformLayout(); this.panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.table1)).EndInit(); this.pnlBarcode.ResumeLayout(false); this.pnlBarcode.PerformLayout(); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.panel5.ResumeLayout(false); this.panel6.ResumeLayout(false); this.panel3.ResumeLayout(false); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { XPTable.Models.DataSourceColumnBinder dataSourceColumnBinder1 = new XPTable.Models.DataSourceColumnBinder(); XPTable.Renderers.DragDropRenderer dragDropRenderer1 = new XPTable.Renderers.DragDropRenderer(); XPTable.Models.Row row1 = new XPTable.Models.Row(); this.lblStatus = new System.Windows.Forms.Label(); this.panel4 = new System.Windows.Forms.Panel(); this.lblPrice = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.panel2 = new System.Windows.Forms.Panel(); this.lblCustomerName = new System.Windows.Forms.Label(); this.btnAge6 = new System.Windows.Forms.Button(); this.clNo = new XPTable.Models.TextColumn(); this.clSku = new XPTable.Models.TextColumn(); this.clName = new XPTable.Models.TextColumn(); this.btnAge5 = new System.Windows.Forms.Button(); this.btnAge4 = new System.Windows.Forms.Button(); this.btnAge3 = new System.Windows.Forms.Button(); this.btnAge2 = new System.Windows.Forms.Button(); this.btnAge1 = new System.Windows.Forms.Button(); this.btnWoman = new System.Windows.Forms.Button(); this.btnMan = new System.Windows.Forms.Button(); this.clPrice = new XPTable.Models.NumberColumn(); this.clQty = new XPTable.Models.NumberColumn(); this.clTotal = new XPTable.Models.NumberColumn(); this.columnModel1 = new XPTable.Models.ColumnModel(); this.table1 = new XPTable.Models.Table(); this.tableModel1 = new XPTable.Models.TableModel(); this.label8 = new System.Windows.Forms.Label(); this.txtBarcode = new System.Windows.Forms.TextBox(); this.pnlBarcode = new System.Windows.Forms.Panel(); this.label2 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.btnSearch = new System.Windows.Forms.Button(); this.panel5 = new System.Windows.Forms.Panel(); this.btnConfirm = new System.Windows.Forms.Button(); this.panel7 = new System.Windows.Forms.Panel(); this.btnCancel = new System.Windows.Forms.Button(); this.panel6 = new System.Windows.Forms.Panel(); this.panel8 = new System.Windows.Forms.Panel(); this.btnCancelProduct = new System.Windows.Forms.Button(); this.panel3 = new System.Windows.Forms.Panel(); this.label1 = new System.Windows.Forms.Label(); this.panel1 = new System.Windows.Forms.Panel(); this.panel4.SuspendLayout(); this.panel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.table1)).BeginInit(); this.pnlBarcode.SuspendLayout(); this.groupBox1.SuspendLayout(); this.panel5.SuspendLayout(); this.panel6.SuspendLayout(); this.panel3.SuspendLayout(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // lblStatus // this.lblStatus.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblStatus.ForeColor = System.Drawing.Color.Green; this.lblStatus.Location = new System.Drawing.Point(14, 56); this.lblStatus.Name = "lblStatus"; this.lblStatus.Size = new System.Drawing.Size(204, 23); this.lblStatus.TabIndex = 2; this.lblStatus.Text = "ไม่พบข้อมูลสินค้าชิ้นนี้"; this.lblStatus.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.lblStatus.Visible = false; // // panel4 // this.panel4.BackColor = System.Drawing.Color.Black; this.panel4.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.panel4.Controls.Add(this.lblPrice); this.panel4.Controls.Add(this.label4); this.panel4.Controls.Add(this.label3); this.panel4.Dock = System.Windows.Forms.DockStyle.Top; this.panel4.Location = new System.Drawing.Point(0, 0); this.panel4.Name = "panel4"; this.panel4.Size = new System.Drawing.Size(233, 64); this.panel4.TabIndex = 0; // // lblPrice // this.lblPrice.Dock = System.Windows.Forms.DockStyle.Bottom; this.lblPrice.Font = new System.Drawing.Font("Arial", 27.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblPrice.ForeColor = System.Drawing.Color.Lime; this.lblPrice.Location = new System.Drawing.Point(0, 16); this.lblPrice.Name = "lblPrice"; this.lblPrice.Size = new System.Drawing.Size(229, 44); this.lblPrice.TabIndex = 1; this.lblPrice.Text = "9,999,999"; this.lblPrice.TextAlign = System.Drawing.ContentAlignment.BottomRight; // // label4 // this.label4.AutoSize = true; this.label4.ForeColor = System.Drawing.Color.Lime; this.label4.Location = new System.Drawing.Point(155, 0); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(66, 13); this.label4.TabIndex = 0; this.label4.Text = "หน่วย = บาท"; // // label3 // this.label3.AutoSize = true; this.label3.ForeColor = System.Drawing.Color.Lime; this.label3.Location = new System.Drawing.Point(3, 0); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(30, 13); this.label3.TabIndex = 0; this.label3.Text = "ราคา"; // // panel2 // this.panel2.Controls.Add(this.panel4); this.panel2.Dock = System.Windows.Forms.DockStyle.Top; this.panel2.Location = new System.Drawing.Point(7, 7); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(233, 67); this.panel2.TabIndex = 7; // // lblCustomerName // this.lblCustomerName.AutoSize = true; this.lblCustomerName.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.lblCustomerName.Location = new System.Drawing.Point(47, 26); this.lblCustomerName.Name = "lblCustomerName"; this.lblCustomerName.Size = new System.Drawing.Size(0, 19); this.lblCustomerName.TabIndex = 7; // // btnAge6 // this.btnAge6.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F); this.btnAge6.Location = new System.Drawing.Point(142, 153); this.btnAge6.Name = "btnAge6"; this.btnAge6.Size = new System.Drawing.Size(85, 26); this.btnAge6.TabIndex = 10; this.btnAge6.Text = "61 ปี ขึ้นไป"; this.btnAge6.UseVisualStyleBackColor = true; this.btnAge6.Click += new System.EventHandler(this.btnAge6_Click); // // clNo // this.clNo.Alignment = XPTable.Models.ColumnAlignment.Center; this.clNo.Editable = false; this.clNo.IsTextTrimmed = false; this.clNo.Resizable = false; this.clNo.Sortable = false; this.clNo.Text = "ที่"; this.clNo.Width = 40; // // clSku // this.clSku.Alignment = XPTable.Models.ColumnAlignment.Center; this.clSku.Editable = false; this.clSku.IsTextTrimmed = false; this.clSku.Resizable = false; this.clSku.Sortable = false; this.clSku.Text = "รหัสสินค้า"; this.clSku.Width = 80; // // clName // this.clName.Editable = false; this.clName.IsTextTrimmed = false; this.clName.Sortable = false; this.clName.Text = "ชื่อสินค้า"; this.clName.Width = 400; // // btnAge5 // this.btnAge5.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F); this.btnAge5.Location = new System.Drawing.Point(142, 121); this.btnAge5.Name = "btnAge5"; this.btnAge5.Size = new System.Drawing.Size(85, 26); this.btnAge5.TabIndex = 9; this.btnAge5.Text = "41-60 ปี"; this.btnAge5.UseVisualStyleBackColor = true; this.btnAge5.Click += new System.EventHandler(this.btnAge5_Click); // // btnAge4 // this.btnAge4.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F); this.btnAge4.Location = new System.Drawing.Point(142, 89); this.btnAge4.Name = "btnAge4"; this.btnAge4.Size = new System.Drawing.Size(85, 26); this.btnAge4.TabIndex = 8; this.btnAge4.Text = "26-40 ปี"; this.btnAge4.UseVisualStyleBackColor = true; this.btnAge4.Click += new System.EventHandler(this.btnAge4_Click); // // btnAge3 // this.btnAge3.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F); this.btnAge3.Location = new System.Drawing.Point(51, 153); this.btnAge3.Name = "btnAge3"; this.btnAge3.Size = new System.Drawing.Size(85, 26); this.btnAge3.TabIndex = 7; this.btnAge3.Text = "19-25 ปี"; this.btnAge3.UseVisualStyleBackColor = true; this.btnAge3.Click += new System.EventHandler(this.btnAge3_Click); // // btnAge2 // this.btnAge2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F); this.btnAge2.Location = new System.Drawing.Point(51, 121); this.btnAge2.Name = "btnAge2"; this.btnAge2.Size = new System.Drawing.Size(85, 26); this.btnAge2.TabIndex = 6; this.btnAge2.Text = "13-18 ปี"; this.btnAge2.UseVisualStyleBackColor = true; this.btnAge2.Click += new System.EventHandler(this.btnAge2_Click); // // btnAge1 // this.btnAge1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F); this.btnAge1.Location = new System.Drawing.Point(51, 89); this.btnAge1.Name = "btnAge1"; this.btnAge1.Size = new System.Drawing.Size(85, 26); this.btnAge1.TabIndex = 5; this.btnAge1.Text = "1-12 ปี"; this.btnAge1.UseVisualStyleBackColor = true; this.btnAge1.Click += new System.EventHandler(this.btnAge1_Click); // // btnWoman // this.btnWoman.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F); this.btnWoman.Location = new System.Drawing.Point(142, 57); this.btnWoman.Name = "btnWoman"; this.btnWoman.Size = new System.Drawing.Size(85, 26); this.btnWoman.TabIndex = 4; this.btnWoman.Text = "หญิง"; this.btnWoman.UseVisualStyleBackColor = true; this.btnWoman.Click += new System.EventHandler(this.btnWoman_Click); // // btnMan // this.btnMan.BackColor = System.Drawing.Color.SteelBlue; this.btnMan.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F); this.btnMan.ForeColor = System.Drawing.Color.White; this.btnMan.Location = new System.Drawing.Point(51, 57); this.btnMan.Name = "btnMan"; this.btnMan.Size = new System.Drawing.Size(85, 26); this.btnMan.TabIndex = 3; this.btnMan.Text = "ชาย"; this.btnMan.UseVisualStyleBackColor = false; this.btnMan.Click += new System.EventHandler(this.btnMan_Click); // // clPrice // this.clPrice.Alignment = XPTable.Models.ColumnAlignment.Center; this.clPrice.Editable = false; this.clPrice.Format = "#,###"; this.clPrice.IsTextTrimmed = false; this.clPrice.Minimum = new decimal(new int[] { 1, 0, 0, 0}); this.clPrice.Sortable = false; this.clPrice.Text = "ราคา"; // // clQty // this.clQty.Alignment = XPTable.Models.ColumnAlignment.Center; this.clQty.Format = "#,###"; this.clQty.IsTextTrimmed = false; this.clQty.Minimum = new decimal(new int[] { 1, 0, 0, 0}); this.clQty.Sortable = false; this.clQty.Text = "จำนวน"; // // clTotal // this.clTotal.Alignment = XPTable.Models.ColumnAlignment.Right; this.clTotal.Editable = false; this.clTotal.Format = "#,###"; this.clTotal.IsTextTrimmed = false; this.clTotal.Minimum = new decimal(new int[] { 1, 0, 0, 0}); this.clTotal.Sortable = false; this.clTotal.Text = "รวม"; // // columnModel1 // this.columnModel1.Columns.AddRange(new XPTable.Models.Column[] { this.clNo, this.clSku, this.clName, this.clPrice, this.clQty, this.clTotal}); // // table1 // this.table1.BorderColor = System.Drawing.Color.Black; this.table1.ColumnModel = this.columnModel1; this.table1.DataMember = null; this.table1.DataSourceColumnBinder = dataSourceColumnBinder1; this.table1.Dock = System.Windows.Forms.DockStyle.Fill; dragDropRenderer1.ForeColor = System.Drawing.Color.Red; this.table1.DragDropRenderer = dragDropRenderer1; this.table1.EnableHeaderContextMenu = false; this.table1.FullRowSelect = true; this.table1.GridLines = XPTable.Models.GridLines.Both; this.table1.GridLinesContrainedToData = false; this.table1.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.table1.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; this.table1.Location = new System.Drawing.Point(247, 39); this.table1.Name = "table1"; this.table1.NoItemsText = ""; this.table1.SelectionStyle = XPTable.Models.SelectionStyle.Grid; this.table1.Size = new System.Drawing.Size(555, 478); this.table1.TabIndex = 12; this.table1.TableModel = this.tableModel1; this.table1.TabStop = false; this.table1.Text = "table1"; this.table1.UnfocusedBorderColor = System.Drawing.Color.Black; this.table1.CellDoubleClick += new XPTable.Events.CellMouseEventHandler(this.table1_CellDoubleClick); // // tableModel1 // row1.ChildIndex = 0; row1.ExpandSubRows = true; row1.Height = 15; this.tableModel1.Rows.AddRange(new XPTable.Models.Row[] { row1}); // // label8 // this.label8.AutoSize = true; this.label8.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F); this.label8.Location = new System.Drawing.Point(15, 94); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(31, 16); this.label8.TabIndex = 2; this.label8.Text = "อายุ :"; // // txtBarcode // this.txtBarcode.BackColor = System.Drawing.Color.Azure; this.txtBarcode.Font = new System.Drawing.Font("Arial", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtBarcode.ForeColor = System.Drawing.Color.MidnightBlue; this.txtBarcode.Location = new System.Drawing.Point(0, 24); this.txtBarcode.Name = "txtBarcode"; this.txtBarcode.Size = new System.Drawing.Size(233, 29); this.txtBarcode.TabIndex = 1; this.txtBarcode.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.txtBarcode.Click += new System.EventHandler(this.txtBarcode_Enter); this.txtBarcode.Enter += new System.EventHandler(this.txtBarcode_Enter); this.txtBarcode.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtBarcode_KeyDown); // // pnlBarcode // this.pnlBarcode.Controls.Add(this.txtBarcode); this.pnlBarcode.Controls.Add(this.label2); this.pnlBarcode.Controls.Add(this.lblStatus); this.pnlBarcode.Dock = System.Windows.Forms.DockStyle.Top; this.pnlBarcode.Location = new System.Drawing.Point(7, 74); this.pnlBarcode.Name = "pnlBarcode"; this.pnlBarcode.Size = new System.Drawing.Size(233, 82); this.pnlBarcode.TabIndex = 7; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(-3, 8); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(44, 13); this.label2.TabIndex = 1; this.label2.Text = "บาร์โค้ด"; // // label7 // this.label7.AutoSize = true; this.label7.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.label7.Location = new System.Drawing.Point(16, 29); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(30, 16); this.label7.TabIndex = 1; this.label7.Text = "ชื่อ : "; // // label6 // this.label6.AutoSize = true; this.label6.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F); this.label6.Location = new System.Drawing.Point(14, 62); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(32, 16); this.label6.TabIndex = 0; this.label6.Text = "เพศ :"; // // groupBox1 // this.groupBox1.Controls.Add(this.btnSearch); this.groupBox1.Controls.Add(this.lblCustomerName); this.groupBox1.Controls.Add(this.btnAge6); this.groupBox1.Controls.Add(this.btnAge5); this.groupBox1.Controls.Add(this.btnAge4); this.groupBox1.Controls.Add(this.btnAge3); this.groupBox1.Controls.Add(this.btnAge2); this.groupBox1.Controls.Add(this.btnAge1); this.groupBox1.Controls.Add(this.btnWoman); this.groupBox1.Controls.Add(this.btnMan); this.groupBox1.Controls.Add(this.label8); this.groupBox1.Controls.Add(this.label7); this.groupBox1.Controls.Add(this.label6); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox1.Location = new System.Drawing.Point(0, 0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(233, 188); this.groupBox1.TabIndex = 0; this.groupBox1.TabStop = false; this.groupBox1.Text = "ข้อมูลลูกค้า"; // // btnSearch // this.btnSearch.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F); this.btnSearch.Image = global::PowerPOS_Online.Properties.Resources.magnifier_left; this.btnSearch.Location = new System.Drawing.Point(196, 24); this.btnSearch.Name = "btnSearch"; this.btnSearch.Size = new System.Drawing.Size(31, 26); this.btnSearch.TabIndex = 2; this.btnSearch.UseVisualStyleBackColor = true; this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click); // // panel5 // this.panel5.Controls.Add(this.groupBox1); this.panel5.Dock = System.Windows.Forms.DockStyle.Top; this.panel5.Location = new System.Drawing.Point(7, 156); this.panel5.Name = "panel5"; this.panel5.Size = new System.Drawing.Size(233, 188); this.panel5.TabIndex = 8; // // btnConfirm // this.btnConfirm.Dock = System.Windows.Forms.DockStyle.Top; this.btnConfirm.Font = new System.Drawing.Font("Tahoma", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.btnConfirm.Location = new System.Drawing.Point(0, 102); this.btnConfirm.Name = "btnConfirm"; this.btnConfirm.Size = new System.Drawing.Size(233, 38); this.btnConfirm.TabIndex = 11; this.btnConfirm.Text = "ยืนยันการขาย (F1)"; this.btnConfirm.UseVisualStyleBackColor = true; this.btnConfirm.Click += new System.EventHandler(this.btnConfirm_Click); // // panel7 // this.panel7.Dock = System.Windows.Forms.DockStyle.Top; this.panel7.Location = new System.Drawing.Point(0, 48); this.panel7.Name = "panel7"; this.panel7.Size = new System.Drawing.Size(233, 8); this.panel7.TabIndex = 12; // // btnCancel // this.btnCancel.Dock = System.Windows.Forms.DockStyle.Top; this.btnCancel.Font = new System.Drawing.Font("Tahoma", 11.25F); this.btnCancel.Location = new System.Drawing.Point(0, 56); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(233, 38); this.btnCancel.TabIndex = 12; this.btnCancel.Text = "ยกเลิกการขายทั้งบิล (F12)"; this.btnCancel.UseVisualStyleBackColor = true; this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); // // panel6 // this.panel6.Controls.Add(this.btnConfirm); this.panel6.Controls.Add(this.panel8); this.panel6.Controls.Add(this.btnCancel); this.panel6.Controls.Add(this.panel7); this.panel6.Controls.Add(this.btnCancelProduct); this.panel6.Dock = System.Windows.Forms.DockStyle.Top; this.panel6.Location = new System.Drawing.Point(7, 344); this.panel6.Name = "panel6"; this.panel6.Padding = new System.Windows.Forms.Padding(0, 10, 0, 0); this.panel6.Size = new System.Drawing.Size(233, 154); this.panel6.TabIndex = 10; // // panel8 // this.panel8.Dock = System.Windows.Forms.DockStyle.Top; this.panel8.Location = new System.Drawing.Point(0, 94); this.panel8.Name = "panel8"; this.panel8.Size = new System.Drawing.Size(233, 8); this.panel8.TabIndex = 13; // // btnCancelProduct // this.btnCancelProduct.Dock = System.Windows.Forms.DockStyle.Top; this.btnCancelProduct.Font = new System.Drawing.Font("Tahoma", 11.25F); this.btnCancelProduct.Location = new System.Drawing.Point(0, 10); this.btnCancelProduct.Name = "btnCancelProduct"; this.btnCancelProduct.Size = new System.Drawing.Size(233, 38); this.btnCancelProduct.TabIndex = 14; this.btnCancelProduct.Text = "ยกเลิกการขายทีละรายการ (F11)"; this.btnCancelProduct.UseVisualStyleBackColor = true; this.btnCancelProduct.Click += new System.EventHandler(this.btnCancelProduct_Click); // // panel3 // this.panel3.Controls.Add(this.panel6); this.panel3.Controls.Add(this.panel5); this.panel3.Controls.Add(this.pnlBarcode); this.panel3.Controls.Add(this.panel2); this.panel3.Dock = System.Windows.Forms.DockStyle.Left; this.panel3.Location = new System.Drawing.Point(0, 39); this.panel3.Name = "panel3"; this.panel3.Padding = new System.Windows.Forms.Padding(7, 7, 7, 0); this.panel3.Size = new System.Drawing.Size(247, 478); this.panel3.TabIndex = 11; // // label1 // this.label1.AutoSize = true; this.label1.Dock = System.Windows.Forms.DockStyle.Fill; this.label1.Font = new System.Drawing.Font("DilleniaUPC", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.ForeColor = System.Drawing.Color.White; this.label1.Location = new System.Drawing.Point(0, 0); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(86, 38); this.label1.TabIndex = 0; this.label1.Text = "ขายสินค้า"; // // panel1 // this.panel1.BackColor = System.Drawing.Color.DimGray; this.panel1.Controls.Add(this.label1); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(802, 39); this.panel1.TabIndex = 10; // // UcSell // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.table1); this.Controls.Add(this.panel3); this.Controls.Add(this.panel1); this.Name = "UcSell"; this.Size = new System.Drawing.Size(802, 517); this.Load += new System.EventHandler(this.UcSell_Load); this.panel4.ResumeLayout(false); this.panel4.PerformLayout(); this.panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.table1)).EndInit(); this.pnlBarcode.ResumeLayout(false); this.pnlBarcode.PerformLayout(); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.panel5.ResumeLayout(false); this.panel6.ResumeLayout(false); this.panel3.ResumeLayout(false); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { XPTable.Models.DataSourceColumnBinder dataSourceColumnBinder1 = new XPTable.Models.DataSourceColumnBinder(); XPTable.Renderers.DragDropRenderer dragDropRenderer1 = new XPTable.Renderers.DragDropRenderer(); this.tableModel1 = new XPTable.Models.TableModel(); this.Barcode = new XPTable.Models.TextColumn(); this.No = new XPTable.Models.TextColumn(); this.columnModel1 = new XPTable.Models.ColumnModel(); this.imageColumn1 = new XPTable.Models.ImageColumn(); this.table1 = new XPTable.Models.Table(); this.panel2 = new System.Windows.Forms.Panel(); this.panel3 = new System.Windows.Forms.Panel(); this.label3 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.pictureBox2 = new System.Windows.Forms.PictureBox(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.btnCancel = new System.Windows.Forms.Button(); this.lblOrderNo = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.panel1 = new System.Windows.Forms.Panel(); this.lblProductName = new System.Windows.Forms.Label(); this.lblProduct = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.table1)).BeginInit(); this.panel2.SuspendLayout(); this.panel3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // Barcode // this.Barcode.IsTextTrimmed = false; this.Barcode.Text = "บาร์โค้ด"; this.Barcode.Width = 300; // // No // this.No.IsTextTrimmed = false; this.No.Text = "ที่"; this.No.Width = 40; // // columnModel1 // this.columnModel1.Columns.AddRange(new XPTable.Models.Column[] { this.imageColumn1, this.No, this.Barcode}); // // imageColumn1 // this.imageColumn1.Alignment = XPTable.Models.ColumnAlignment.Center; this.imageColumn1.IsTextTrimmed = false; this.imageColumn1.Width = 30; // // table1 // this.table1.BorderColor = System.Drawing.Color.Black; this.table1.ColumnModel = this.columnModel1; this.table1.DataMember = null; this.table1.DataSourceColumnBinder = dataSourceColumnBinder1; this.table1.Dock = System.Windows.Forms.DockStyle.Fill; dragDropRenderer1.ForeColor = System.Drawing.Color.Red; this.table1.DragDropRenderer = dragDropRenderer1; this.table1.EnableHeaderContextMenu = false; this.table1.FullRowSelect = true; this.table1.GridLines = XPTable.Models.GridLines.Both; this.table1.GridLinesContrainedToData = false; this.table1.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.table1.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; this.table1.Location = new System.Drawing.Point(0, 0); this.table1.Name = "table1"; this.table1.NoItemsText = ""; this.table1.SelectionStyle = XPTable.Models.SelectionStyle.Grid; this.table1.Size = new System.Drawing.Size(536, 300); this.table1.TabIndex = 13; this.table1.TableModel = this.tableModel1; this.table1.Text = "table1"; this.table1.UnfocusedBorderColor = System.Drawing.Color.Black; // // panel2 // this.panel2.Controls.Add(this.table1); this.panel2.Controls.Add(this.panel3); this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; this.panel2.Location = new System.Drawing.Point(0, 92); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(536, 346); this.panel2.TabIndex = 3; // // panel3 // this.panel3.Controls.Add(this.label3); this.panel3.Controls.Add(this.label2); this.panel3.Controls.Add(this.pictureBox2); this.panel3.Controls.Add(this.pictureBox1); this.panel3.Controls.Add(this.btnCancel); this.panel3.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel3.Location = new System.Drawing.Point(0, 300); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(536, 46); this.panel3.TabIndex = 14; // // label3 // this.label3.AutoSize = true; this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.label3.Location = new System.Drawing.Point(194, 18); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(143, 16); this.label3.TabIndex = 19; this.label3.Text = "บาร์โค้ดที่ยังไม่ได้รับเข้าระบบ"; // // label2 // this.label2.AutoSize = true; this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.label2.Location = new System.Drawing.Point(36, 17); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(125, 16); this.label2.TabIndex = 18; this.label2.Text = "บาร์โค้ดที่รับเข้าระบบแล้ว"; // // pictureBox2 // this.pictureBox2.Image = global::PowerPOS_Online.Properties.Resources.clock; this.pictureBox2.Location = new System.Drawing.Point(170, 15); this.pictureBox2.Name = "pictureBox2"; this.pictureBox2.Size = new System.Drawing.Size(20, 20); this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.pictureBox2.TabIndex = 17; this.pictureBox2.TabStop = false; // // pictureBox1 // this.pictureBox1.Image = global::PowerPOS_Online.Properties.Resources.accept; this.pictureBox1.Location = new System.Drawing.Point(12, 14); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size(20, 20); this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.pictureBox1.TabIndex = 16; this.pictureBox1.TabStop = false; // // btnCancel // this.btnCancel.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.btnCancel.Image = global::PowerPOS_Online.Properties.Resources.arrow_circle_225_left; this.btnCancel.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btnCancel.Location = new System.Drawing.Point(458, 9); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(66, 32); this.btnCancel.TabIndex = 15; this.btnCancel.Text = "ยกเลิก"; this.btnCancel.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.btnCancel.UseVisualStyleBackColor = true; this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); // // lblOrderNo // this.lblOrderNo.AutoSize = true; this.lblOrderNo.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.lblOrderNo.Location = new System.Drawing.Point(88, 13); this.lblOrderNo.Name = "lblOrderNo"; this.lblOrderNo.Size = new System.Drawing.Size(74, 16); this.lblOrderNo.TabIndex = 3; this.lblOrderNo.Text = "lblOrderNo"; // // label1 // this.label1.AutoSize = true; this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.label1.Location = new System.Drawing.Point(6, 13); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(76, 16); this.label1.TabIndex = 0; this.label1.Text = "เลขที่ใบสั่งซื้อ :"; // // panel1 // this.panel1.Controls.Add(this.lblProductName); this.panel1.Controls.Add(this.lblProduct); this.panel1.Controls.Add(this.label5); this.panel1.Controls.Add(this.label6); this.panel1.Controls.Add(this.lblOrderNo); this.panel1.Controls.Add(this.label1); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(536, 92); this.panel1.TabIndex = 2; // // lblProductName // this.lblProductName.AutoSize = true; this.lblProductName.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.lblProductName.Location = new System.Drawing.Point(88, 64); this.lblProductName.Name = "lblProductName"; this.lblProductName.Size = new System.Drawing.Size(105, 16); this.lblProductName.TabIndex = 8; this.lblProductName.Text = "lblProductName"; // // lblProduct // this.lblProduct.AutoSize = true; this.lblProduct.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.lblProduct.Location = new System.Drawing.Point(88, 39); this.lblProduct.Name = "lblProduct"; this.lblProduct.Size = new System.Drawing.Size(68, 16); this.lblProduct.TabIndex = 7; this.lblProduct.Text = "lblProduct"; // // label5 // this.label5.AutoSize = true; this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.label5.Location = new System.Drawing.Point(29, 64); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(53, 16); this.label5.TabIndex = 6; this.label5.Text = "ชื่อสินค้า :"; // // label6 // this.label6.AutoSize = true; this.label6.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.label6.Location = new System.Drawing.Point(21, 39); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(61, 16); this.label6.TabIndex = 5; this.label6.Text = "รหัสสินค้า :"; // // FmOrderDetail // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(536, 438); this.Controls.Add(this.panel2); this.Controls.Add(this.panel1); this.Name = "FmOrderDetail"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "รายละเอียด"; this.Load += new System.EventHandler(this.FmOrderDetail_Load); ((System.ComponentModel.ISupportInitialize)(this.table1)).EndInit(); this.panel2.ResumeLayout(false); this.panel3.ResumeLayout(false); this.panel3.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { XPTable.Models.DataSourceColumnBinder dataSourceColumnBinder1 = new XPTable.Models.DataSourceColumnBinder(); XPTable.Renderers.DragDropRenderer dragDropRenderer1 = new XPTable.Renderers.DragDropRenderer(); this.panel1 = new System.Windows.Forms.Panel(); this.panel6 = new System.Windows.Forms.Panel(); this.btnSave = new System.Windows.Forms.Button(); this.btnCancel = new System.Windows.Forms.Button(); this.btnPrint = new System.Windows.Forms.Button(); this.panel3 = new System.Windows.Forms.Panel(); this.groupBox4 = new System.Windows.Forms.GroupBox(); this.cbbQty = new System.Windows.Forms.ComboBox(); this.gbxCash = new System.Windows.Forms.GroupBox(); this.ckbCash = new System.Windows.Forms.CheckBox(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.cbbCompany = new System.Windows.Forms.ComboBox(); this.rbCompany = new System.Windows.Forms.RadioButton(); this.rbSelf = new System.Windows.Forms.RadioButton(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.txtBarcode = new System.Windows.Forms.TextBox(); this.lblBarcode = new System.Windows.Forms.Label(); this.lblOrderNo = new System.Windows.Forms.Label(); this.panel2 = new System.Windows.Forms.Panel(); this.panel4 = new System.Windows.Forms.Panel(); this.progressBar = new System.Windows.Forms.ProgressBar(); this.panel5 = new System.Windows.Forms.Panel(); this.table1 = new XPTable.Models.Table(); this.columnModel1 = new XPTable.Models.ColumnModel(); this.textColumn1 = new XPTable.Models.TextColumn(); this.textColumn2 = new XPTable.Models.TextColumn(); this.progressBarColumn1 = new XPTable.Models.ProgressBarColumn(); this.tableModel1 = new XPTable.Models.TableModel(); this.panel1.SuspendLayout(); this.panel6.SuspendLayout(); this.groupBox4.SuspendLayout(); this.gbxCash.SuspendLayout(); this.groupBox2.SuspendLayout(); this.groupBox1.SuspendLayout(); this.panel2.SuspendLayout(); this.panel4.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.table1)).BeginInit(); this.SuspendLayout(); // // panel1 // this.panel1.BackColor = System.Drawing.Color.Black; this.panel1.Controls.Add(this.panel6); this.panel1.Controls.Add(this.btnPrint); this.panel1.Controls.Add(this.panel3); this.panel1.Controls.Add(this.groupBox4); this.panel1.Controls.Add(this.gbxCash); this.panel1.Controls.Add(this.groupBox2); this.panel1.Controls.Add(this.groupBox1); this.panel1.Dock = System.Windows.Forms.DockStyle.Right; this.panel1.Location = new System.Drawing.Point(1023, 0); this.panel1.Name = "panel1"; this.panel1.Padding = new System.Windows.Forms.Padding(3, 0, 0, 5); this.panel1.Size = new System.Drawing.Size(257, 648); this.panel1.TabIndex = 2; // // panel6 // this.panel6.Controls.Add(this.btnSave); this.panel6.Controls.Add(this.btnCancel); this.panel6.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel6.Location = new System.Drawing.Point(3, 591); this.panel6.Name = "panel6"; this.panel6.Size = new System.Drawing.Size(254, 52); this.panel6.TabIndex = 17; // // btnSave // this.btnSave.BackColor = System.Drawing.Color.DimGray; this.btnSave.Enabled = false; this.btnSave.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnSave.Font = new System.Drawing.Font("DilleniaUPC", 20.25F, System.Drawing.FontStyle.Bold); this.btnSave.ForeColor = System.Drawing.Color.White; this.btnSave.Location = new System.Drawing.Point(115, 0); this.btnSave.Name = "btnSave"; this.btnSave.Size = new System.Drawing.Size(139, 52); this.btnSave.TabIndex = 14; this.btnSave.Text = "บันทึกข้อมูล"; this.btnSave.UseVisualStyleBackColor = false; this.btnSave.Click += new System.EventHandler(this.btnSave_Click); // // btnCancel // this.btnCancel.BackColor = System.Drawing.Color.OrangeRed; this.btnCancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnCancel.Font = new System.Drawing.Font("DilleniaUPC", 20.25F, System.Drawing.FontStyle.Bold); this.btnCancel.ForeColor = System.Drawing.Color.White; this.btnCancel.Location = new System.Drawing.Point(0, 0); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(109, 52); this.btnCancel.TabIndex = 13; this.btnCancel.Text = "ยกเลิก"; this.btnCancel.UseVisualStyleBackColor = false; this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); // // btnPrint // this.btnPrint.BackColor = System.Drawing.Color.DimGray; this.btnPrint.Dock = System.Windows.Forms.DockStyle.Top; this.btnPrint.Enabled = false; this.btnPrint.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnPrint.Font = new System.Drawing.Font("DilleniaUPC", 20.25F, System.Drawing.FontStyle.Bold); this.btnPrint.ForeColor = System.Drawing.Color.White; this.btnPrint.Location = new System.Drawing.Point(3, 519); this.btnPrint.Name = "btnPrint"; this.btnPrint.Size = new System.Drawing.Size(254, 46); this.btnPrint.TabIndex = 16; this.btnPrint.Text = "พิมพ์ใบปะหน้า"; this.btnPrint.UseVisualStyleBackColor = false; this.btnPrint.Click += new System.EventHandler(this.btnPrint_Click); // // panel3 // this.panel3.Dock = System.Windows.Forms.DockStyle.Top; this.panel3.Location = new System.Drawing.Point(3, 508); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(254, 11); this.panel3.TabIndex = 15; // // groupBox4 // this.groupBox4.Controls.Add(this.cbbQty); this.groupBox4.Dock = System.Windows.Forms.DockStyle.Top; this.groupBox4.Font = new System.Drawing.Font("DilleniaUPC", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.groupBox4.ForeColor = System.Drawing.Color.White; this.groupBox4.Location = new System.Drawing.Point(3, 405); this.groupBox4.Name = "groupBox4"; this.groupBox4.Padding = new System.Windows.Forms.Padding(20, 0, 3, 3); this.groupBox4.Size = new System.Drawing.Size(254, 103); this.groupBox4.TabIndex = 12; this.groupBox4.TabStop = false; this.groupBox4.Text = "จำนวนกล่อง"; // // cbbQty // this.cbbQty.BackColor = System.Drawing.Color.White; this.cbbQty.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbbQty.Font = new System.Drawing.Font("Calibri", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.cbbQty.FormattingEnabled = true; this.cbbQty.Items.AddRange(new object[] { "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20"}); this.cbbQty.Location = new System.Drawing.Point(14, 38); this.cbbQty.Name = "cbbQty"; this.cbbQty.Size = new System.Drawing.Size(226, 44); this.cbbQty.TabIndex = 12; this.cbbQty.SelectedIndexChanged += new System.EventHandler(this.cbbQty_SelectedIndexChanged); // // gbxCash // this.gbxCash.Controls.Add(this.ckbCash); this.gbxCash.Dock = System.Windows.Forms.DockStyle.Top; this.gbxCash.Font = new System.Drawing.Font("DilleniaUPC", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.gbxCash.ForeColor = System.Drawing.Color.White; this.gbxCash.Location = new System.Drawing.Point(3, 308); this.gbxCash.Name = "gbxCash"; this.gbxCash.Padding = new System.Windows.Forms.Padding(20, 0, 3, 3); this.gbxCash.Size = new System.Drawing.Size(254, 97); this.gbxCash.TabIndex = 11; this.gbxCash.TabStop = false; this.gbxCash.Text = "การชำระเงิน"; // // ckbCash // this.ckbCash.AutoSize = true; this.ckbCash.Font = new System.Drawing.Font("DilleniaUPC", 27.75F, System.Drawing.FontStyle.Bold); this.ckbCash.Location = new System.Drawing.Point(20, 31); this.ckbCash.Name = "ckbCash"; this.ckbCash.Size = new System.Drawing.Size(218, 53); this.ckbCash.TabIndex = 12; this.ckbCash.Text = "เก็บเงินสดปลายทาง"; this.ckbCash.UseVisualStyleBackColor = true; this.ckbCash.CheckedChanged += new System.EventHandler(this.ckbCash_CheckedChanged); // // groupBox2 // this.groupBox2.Controls.Add(this.cbbCompany); this.groupBox2.Controls.Add(this.rbCompany); this.groupBox2.Controls.Add(this.rbSelf); this.groupBox2.Dock = System.Windows.Forms.DockStyle.Top; this.groupBox2.Font = new System.Drawing.Font("DilleniaUPC", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.groupBox2.ForeColor = System.Drawing.Color.White; this.groupBox2.Location = new System.Drawing.Point(3, 150); this.groupBox2.Name = "groupBox2"; this.groupBox2.Padding = new System.Windows.Forms.Padding(20, 0, 3, 3); this.groupBox2.Size = new System.Drawing.Size(254, 158); this.groupBox2.TabIndex = 10; this.groupBox2.TabStop = false; this.groupBox2.Text = "การขนส่ง"; // // cbbCompany // this.cbbCompany.BackColor = System.Drawing.Color.White; this.cbbCompany.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbbCompany.Font = new System.Drawing.Font("DilleniaUPC", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.cbbCompany.FormattingEnabled = true; this.cbbCompany.Items.AddRange(new object[] { "เคอรี่ เอ็กซ์เพรส", "ไปรษณีย์ EMS", "ไปรษณีย์ลงทะเบียน", "ขนส่งเอกชน"}); this.cbbCompany.Location = new System.Drawing.Point(14, 69); this.cbbCompany.Name = "cbbCompany"; this.cbbCompany.Size = new System.Drawing.Size(226, 39); this.cbbCompany.TabIndex = 11; // // rbCompany // this.rbCompany.AutoSize = true; this.rbCompany.BackColor = System.Drawing.Color.Transparent; this.rbCompany.Font = new System.Drawing.Font("DilleniaUPC", 26.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.rbCompany.ForeColor = System.Drawing.Color.Azure; this.rbCompany.Location = new System.Drawing.Point(20, 24); this.rbCompany.Name = "rbCompany"; this.rbCompany.Size = new System.Drawing.Size(162, 50); this.rbCompany.TabIndex = 10; this.rbCompany.Text = "ส่งบริษัทขนส่ง"; this.rbCompany.UseVisualStyleBackColor = false; this.rbCompany.CheckedChanged += new System.EventHandler(this.rbSelf_CheckedChanged); // // rbSelf // this.rbSelf.BackColor = System.Drawing.Color.Transparent; this.rbSelf.Checked = true; this.rbSelf.Font = new System.Drawing.Font("DilleniaUPC", 26.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.rbSelf.ForeColor = System.Drawing.Color.DarkOrange; this.rbSelf.Location = new System.Drawing.Point(23, 106); this.rbSelf.Name = "rbSelf"; this.rbSelf.Size = new System.Drawing.Size(231, 53); this.rbSelf.TabIndex = 9; this.rbSelf.TabStop = true; this.rbSelf.Text = "ส่งเอง"; this.rbSelf.UseVisualStyleBackColor = false; this.rbSelf.CheckedChanged += new System.EventHandler(this.rbSelf_CheckedChanged); // // groupBox1 // this.groupBox1.Controls.Add(this.txtBarcode); this.groupBox1.Controls.Add(this.lblBarcode); this.groupBox1.Controls.Add(this.lblOrderNo); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Top; this.groupBox1.Font = new System.Drawing.Font("DilleniaUPC", 20.25F, System.Drawing.FontStyle.Bold); this.groupBox1.ForeColor = System.Drawing.Color.White; this.groupBox1.Location = new System.Drawing.Point(3, 0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Padding = new System.Windows.Forms.Padding(3, 3, 3, 4); this.groupBox1.Size = new System.Drawing.Size(254, 150); this.groupBox1.TabIndex = 7; this.groupBox1.TabStop = false; this.groupBox1.Text = "หมายเลขคำสั่งซื้อ"; // // txtBarcode // this.txtBarcode.BackColor = System.Drawing.Color.Bisque; this.txtBarcode.BorderStyle = System.Windows.Forms.BorderStyle.None; this.txtBarcode.Dock = System.Windows.Forms.DockStyle.Bottom; this.txtBarcode.Font = new System.Drawing.Font("Calibri", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtBarcode.Location = new System.Drawing.Point(3, 110); this.txtBarcode.Name = "txtBarcode"; this.txtBarcode.Size = new System.Drawing.Size(248, 36); this.txtBarcode.TabIndex = 10; this.txtBarcode.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.txtBarcode.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtBarcode_KeyDown); // // lblBarcode // this.lblBarcode.Font = new System.Drawing.Font("Calibri", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblBarcode.ForeColor = System.Drawing.Color.White; this.lblBarcode.Location = new System.Drawing.Point(3, 71); this.lblBarcode.Name = "lblBarcode"; this.lblBarcode.Size = new System.Drawing.Size(249, 36); this.lblBarcode.TabIndex = 9; this.lblBarcode.Text = "Barcode"; this.lblBarcode.TextAlign = System.Drawing.ContentAlignment.BottomCenter; // // lblOrderNo // this.lblOrderNo.BackColor = System.Drawing.Color.Transparent; this.lblOrderNo.Font = new System.Drawing.Font("Calibri", 32F, System.Drawing.FontStyle.Bold); this.lblOrderNo.ForeColor = System.Drawing.Color.DarkOrange; this.lblOrderNo.Location = new System.Drawing.Point(3, 30); this.lblOrderNo.Name = "lblOrderNo"; this.lblOrderNo.Size = new System.Drawing.Size(249, 52); this.lblOrderNo.TabIndex = 8; this.lblOrderNo.Text = "1512B00316"; this.lblOrderNo.TextAlign = System.Drawing.ContentAlignment.TopCenter; // // panel2 // this.panel2.BackColor = System.Drawing.Color.Black; this.panel2.Controls.Add(this.panel4); this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; this.panel2.Location = new System.Drawing.Point(0, 0); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(1023, 648); this.panel2.TabIndex = 3; // // panel4 // this.panel4.BackColor = System.Drawing.Color.Transparent; this.panel4.Controls.Add(this.progressBar); this.panel4.Controls.Add(this.panel5); this.panel4.Controls.Add(this.table1); this.panel4.Dock = System.Windows.Forms.DockStyle.Fill; this.panel4.Location = new System.Drawing.Point(0, 0); this.panel4.Name = "panel4"; this.panel4.Size = new System.Drawing.Size(1023, 648); this.panel4.TabIndex = 0; // // progressBar // this.progressBar.Dock = System.Windows.Forms.DockStyle.Top; this.progressBar.Location = new System.Drawing.Point(0, 0); this.progressBar.Name = "progressBar"; this.progressBar.Size = new System.Drawing.Size(1023, 23); this.progressBar.Step = 1; this.progressBar.Style = System.Windows.Forms.ProgressBarStyle.Continuous; this.progressBar.TabIndex = 1; // // panel5 // this.panel5.Location = new System.Drawing.Point(0, 0); this.panel5.Name = "panel5"; this.panel5.Size = new System.Drawing.Size(1194, 28); this.panel5.TabIndex = 4; // // table1 // this.table1.BackColor = System.Drawing.Color.Black; this.table1.BorderColor = System.Drawing.Color.Transparent; this.table1.BorderStyle = System.Windows.Forms.BorderStyle.None; this.table1.ColumnModel = this.columnModel1; this.table1.DataMember = null; this.table1.DataSourceColumnBinder = dataSourceColumnBinder1; dragDropRenderer1.ForeColor = System.Drawing.Color.Red; this.table1.DragDropRenderer = dragDropRenderer1; this.table1.Font = new System.Drawing.Font("DilleniaUPC", 24F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.table1.ForeColor = System.Drawing.Color.White; this.table1.FullRowSelect = true; this.table1.GridColor = System.Drawing.Color.DimGray; this.table1.GridLinesContrainedToData = false; this.table1.GridLineStyle = XPTable.Models.GridLineStyle.Dash; this.table1.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.table1.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; this.table1.Location = new System.Drawing.Point(5, 2); this.table1.Name = "table1"; this.table1.SelectionBackColor = System.Drawing.Color.Black; this.table1.SelectionForeColor = System.Drawing.Color.DarkOrange; this.table1.SelectionStyle = XPTable.Models.SelectionStyle.Grid; this.table1.Size = new System.Drawing.Size(2006, 638); this.table1.TabIndex = 3; this.table1.TableModel = this.tableModel1; this.table1.Text = "table1"; this.table1.UnfocusedBorderColor = System.Drawing.Color.Black; this.table1.UnfocusedSelectionBackColor = System.Drawing.Color.Black; this.table1.UnfocusedSelectionForeColor = System.Drawing.Color.DarkOrange; // // columnModel1 // this.columnModel1.Columns.AddRange(new XPTable.Models.Column[] { this.textColumn1, this.textColumn2, this.progressBarColumn1}); this.columnModel1.HeaderHeight = 25; // // textColumn1 // this.textColumn1.Alignment = XPTable.Models.ColumnAlignment.Center; this.textColumn1.Editable = false; this.textColumn1.IsTextTrimmed = false; this.textColumn1.Resizable = false; this.textColumn1.Sortable = false; this.textColumn1.Text = "ที่"; this.textColumn1.Width = 40; // // textColumn2 // this.textColumn2.Editable = false; this.textColumn2.IsTextTrimmed = false; this.textColumn2.Resizable = false; this.textColumn2.Sortable = false; this.textColumn2.Text = "สินค้า"; this.textColumn2.Width = 723; // // progressBarColumn1 // this.progressBarColumn1.Alignment = XPTable.Models.ColumnAlignment.Center; this.progressBarColumn1.Editable = true; this.progressBarColumn1.IsTextTrimmed = false; this.progressBarColumn1.Resizable = false; this.progressBarColumn1.Sortable = false; this.progressBarColumn1.Text = "ความคืบหน้า"; this.progressBarColumn1.Width = 200; // // tableModel1 // this.tableModel1.RowHeight = 60; // // UcChecking // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.Color.Black; this.Controls.Add(this.panel2); this.Controls.Add(this.panel1); this.Name = "UcChecking"; this.Size = new System.Drawing.Size(1280, 648); this.Load += new System.EventHandler(this.UcChecking_Load); this.panel1.ResumeLayout(false); this.panel6.ResumeLayout(false); this.groupBox4.ResumeLayout(false); this.gbxCash.ResumeLayout(false); this.gbxCash.PerformLayout(); this.groupBox2.ResumeLayout(false); this.groupBox2.PerformLayout(); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.panel2.ResumeLayout(false); this.panel4.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.table1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { XPTable.Models.DataSourceColumnBinder dataSourceColumnBinder1 = new XPTable.Models.DataSourceColumnBinder(); XPTable.Renderers.DragDropRenderer dragDropRenderer1 = new XPTable.Renderers.DragDropRenderer(); XPTable.Models.DataSourceColumnBinder dataSourceColumnBinder2 = new XPTable.Models.DataSourceColumnBinder(); XPTable.Renderers.DragDropRenderer dragDropRenderer2 = new XPTable.Renderers.DragDropRenderer(); TbsCore.Models.MapModels.Coordinates coordinates1 = new TbsCore.Models.MapModels.Coordinates(); this.SaveButton = new System.Windows.Forms.Button(); this.table1 = new XPTable.Models.Table(); this.XpTableGlobal = new XPTable.Models.Table(); this.button2 = new System.Windows.Forms.Button(); this.label1 = new System.Windows.Forms.Label(); this.button1 = new System.Windows.Forms.Button(); this.maxDeff = new System.Windows.Forms.NumericUpDown(); this.label4 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.sendDeffCoords = new TravBotSharp.UserControls.CoordinatesUc(); this.button3 = new System.Windows.Forms.Button(); ((System.ComponentModel.ISupportInitialize)(this.table1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.XpTableGlobal)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.maxDeff)).BeginInit(); this.SuspendLayout(); // // SaveButton // this.SaveButton.Location = new System.Drawing.Point(294, 599); this.SaveButton.Margin = new System.Windows.Forms.Padding(2); this.SaveButton.Name = "SaveButton"; this.SaveButton.Size = new System.Drawing.Size(82, 25); this.SaveButton.TabIndex = 1; this.SaveButton.Text = "Save"; this.SaveButton.UseVisualStyleBackColor = true; this.SaveButton.Click += new System.EventHandler(this.button1_Click); // // table1 // this.table1.BorderColor = System.Drawing.Color.Black; this.table1.DataMember = null; this.table1.DataSourceColumnBinder = dataSourceColumnBinder1; dragDropRenderer1.ForeColor = System.Drawing.Color.Red; this.table1.DragDropRenderer = dragDropRenderer1; this.table1.GridLinesContrainedToData = false; this.table1.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.table1.Location = new System.Drawing.Point(0, 82); this.table1.MultiSelect = true; this.table1.Name = "table1"; this.table1.Size = new System.Drawing.Size(657, 513); this.table1.TabIndex = 0; this.table1.Text = "table1"; this.table1.UnfocusedBorderColor = System.Drawing.Color.Black; // // XpTableGlobal // this.XpTableGlobal.BorderColor = System.Drawing.Color.Black; this.XpTableGlobal.DataMember = null; this.XpTableGlobal.DataSourceColumnBinder = dataSourceColumnBinder2; dragDropRenderer2.ForeColor = System.Drawing.Color.Red; this.XpTableGlobal.DragDropRenderer = dragDropRenderer2; this.XpTableGlobal.GridLinesContrainedToData = false; this.XpTableGlobal.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.XpTableGlobal.Location = new System.Drawing.Point(0, 3); this.XpTableGlobal.MultiSelect = true; this.XpTableGlobal.Name = "XpTableGlobal"; this.XpTableGlobal.Size = new System.Drawing.Size(657, 44); this.XpTableGlobal.TabIndex = 2; this.XpTableGlobal.Text = "table2"; this.XpTableGlobal.UnfocusedBorderColor = System.Drawing.Color.Black; // // button2 // this.button2.Location = new System.Drawing.Point(116, 52); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(269, 23); this.button2.TabIndex = 4; this.button2.Text = "Change selected"; this.button2.UseVisualStyleBackColor = true; this.button2.Click += new System.EventHandler(this.button2_Click); // // label1 // this.label1.AutoSize = true; this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.Location = new System.Drawing.Point(398, 57); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(108, 13); this.label1.TabIndex = 5; this.label1.Text = "Click save afterwards"; // // button1 // this.button1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.button1.Location = new System.Drawing.Point(810, 164); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(92, 22); this.button1.TabIndex = 6; this.button1.Text = "Send deff"; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.button1_Click_1); // // maxDeff // this.maxDeff.Location = new System.Drawing.Point(813, 131); this.maxDeff.Maximum = new decimal(new int[] { 1215752191, 23, 0, 0 }); this.maxDeff.Name = "maxDeff"; this.maxDeff.Size = new System.Drawing.Size(92, 20); this.maxDeff.TabIndex = 141; // // label4 // this.label4.AutoSize = true; this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label4.Location = new System.Drawing.Point(753, 133); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(54, 15); this.label4.TabIndex = 142; this.label4.Text = "Max deff"; // // label5 // this.label5.AutoSize = true; this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label5.Location = new System.Drawing.Point(800, 151); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(111, 12); this.label5.TabIndex = 143; this.label5.Text = "If 0, send all available deff"; // // sendDeffCoords // this.sendDeffCoords.BackColor = System.Drawing.SystemColors.ControlDark; coordinates1.x = 0; coordinates1.y = 0; this.sendDeffCoords.Coords = coordinates1; this.sendDeffCoords.Location = new System.Drawing.Point(802, 69); this.sendDeffCoords.Name = "sendDeffCoords"; this.sendDeffCoords.Size = new System.Drawing.Size(113, 56); this.sendDeffCoords.TabIndex = 144; // // button3 // this.button3.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.button3.Location = new System.Drawing.Point(810, 359); this.button3.Name = "button3"; this.button3.Size = new System.Drawing.Size(92, 22); this.button3.TabIndex = 146; this.button3.Text = "Cut waves"; this.button3.UseVisualStyleBackColor = true; this.button3.Click += new System.EventHandler(this.button3_Click); // // DeffendingUc // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.button3); this.Controls.Add(this.sendDeffCoords); this.Controls.Add(this.label5); this.Controls.Add(this.label4); this.Controls.Add(this.maxDeff); this.Controls.Add(this.button1); this.Controls.Add(this.label1); this.Controls.Add(this.button2); this.Controls.Add(this.XpTableGlobal); this.Controls.Add(this.SaveButton); this.Controls.Add(this.table1); this.Name = "DeffendingUc"; this.Size = new System.Drawing.Size(1011, 628); ((System.ComponentModel.ISupportInitialize)(this.table1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.XpTableGlobal)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.maxDeff)).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() { XPTable.Models.DataSourceColumnBinder dataSourceColumnBinder1 = new XPTable.Models.DataSourceColumnBinder(); XPTable.Renderers.DragDropRenderer dragDropRenderer1 = new XPTable.Renderers.DragDropRenderer(); this.tableModel1 = new XPTable.Models.TableModel(); this.clReceived = new XPTable.Models.TextColumn(); this.clQty = new XPTable.Models.TextColumn(); this.clName = new XPTable.Models.TextColumn(); this.clSku = new XPTable.Models.TextColumn(); this.clNo = new XPTable.Models.TextColumn(); this.columnModel1 = new XPTable.Models.ColumnModel(); this.clProgress = new XPTable.Models.ProgressBarColumn(); this.table1 = new XPTable.Models.Table(); this.label1 = new System.Windows.Forms.Label(); this.panel1 = new System.Windows.Forms.Panel(); this.label4 = new System.Windows.Forms.Label(); this.lblRecords = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.pnlLeft = new System.Windows.Forms.Panel(); this.panel5 = new System.Windows.Forms.Panel(); this.btnNewCount = new System.Windows.Forms.Button(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.cbbPrintType = new System.Windows.Forms.ComboBox(); this.btnPrint = new System.Windows.Forms.Button(); this.pnlBarcode = new System.Windows.Forms.Panel(); this.ptbProduct = new System.Windows.Forms.PictureBox(); this.txtBarcode = new System.Windows.Forms.TextBox(); this.label2 = new System.Windows.Forms.Label(); this.lblStatus = new System.Windows.Forms.Label(); this.gbCategory = new System.Windows.Forms.GroupBox(); this.progressBar1 = new System.Windows.Forms.ProgressBar(); this.bwDownloadImage = new System.ComponentModel.BackgroundWorker(); this.bwGetProduct = new System.ComponentModel.BackgroundWorker(); ((System.ComponentModel.ISupportInitialize)(this.table1)).BeginInit(); this.panel1.SuspendLayout(); this.pnlLeft.SuspendLayout(); this.panel5.SuspendLayout(); this.groupBox1.SuspendLayout(); this.pnlBarcode.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.ptbProduct)).BeginInit(); this.gbCategory.SuspendLayout(); this.SuspendLayout(); // // clReceived // this.clReceived.Alignment = XPTable.Models.ColumnAlignment.Center; this.clReceived.Editable = false; this.clReceived.IsTextTrimmed = false; this.clReceived.Text = "ตรวจสอบแล้ว"; this.clReceived.Width = 90; // // clQty // this.clQty.Alignment = XPTable.Models.ColumnAlignment.Center; this.clQty.Editable = false; this.clQty.IsTextTrimmed = false; this.clQty.Text = "จำนวน"; this.clQty.Width = 70; // // clName // this.clName.Editable = false; this.clName.IsTextTrimmed = false; this.clName.Text = "ชื่อสินค้า"; this.clName.Width = 450; // // clSku // this.clSku.Alignment = XPTable.Models.ColumnAlignment.Center; this.clSku.Editable = false; this.clSku.IsTextTrimmed = false; this.clSku.Text = "รหัสสินค้า"; this.clSku.Width = 80; // // clNo // this.clNo.Alignment = XPTable.Models.ColumnAlignment.Center; this.clNo.Editable = false; this.clNo.IsTextTrimmed = false; this.clNo.Resizable = false; this.clNo.Selectable = false; this.clNo.Text = "ที่"; this.clNo.Width = 40; // // columnModel1 // this.columnModel1.Columns.AddRange(new XPTable.Models.Column[] { this.clNo, this.clSku, this.clName, this.clQty, this.clReceived, this.clProgress}); // // clProgress // this.clProgress.Alignment = XPTable.Models.ColumnAlignment.Center; this.clProgress.IsTextTrimmed = false; this.clProgress.Resizable = false; this.clProgress.Width = 100; // // table1 // this.table1.BorderColor = System.Drawing.Color.Black; this.table1.ColumnModel = this.columnModel1; this.table1.DataMember = null; this.table1.DataSourceColumnBinder = dataSourceColumnBinder1; this.table1.Dock = System.Windows.Forms.DockStyle.Fill; dragDropRenderer1.ForeColor = System.Drawing.Color.Red; this.table1.DragDropRenderer = dragDropRenderer1; this.table1.EnableHeaderContextMenu = false; this.table1.FullRowSelect = true; this.table1.GridLines = XPTable.Models.GridLines.Both; this.table1.GridLinesContrainedToData = false; this.table1.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; this.table1.Location = new System.Drawing.Point(247, 39); this.table1.Name = "table1"; this.table1.NoItemsText = ""; this.table1.SelectionStyle = XPTable.Models.SelectionStyle.Grid; this.table1.Size = new System.Drawing.Size(752, 709); this.table1.TabIndex = 10; this.table1.TableModel = this.tableModel1; this.table1.Text = "table1"; this.table1.UnfocusedBorderColor = System.Drawing.Color.Black; this.table1.CellClick += new XPTable.Events.CellMouseEventHandler(this.table1_CellClick); this.table1.CellDoubleClick += new XPTable.Events.CellMouseEventHandler(this.table1_CellDoubleClick); // // label1 // this.label1.AutoSize = true; this.label1.Dock = System.Windows.Forms.DockStyle.Fill; this.label1.Font = new System.Drawing.Font("DilleniaUPC", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.ForeColor = System.Drawing.Color.White; this.label1.Location = new System.Drawing.Point(0, 0); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(168, 38); this.label1.TabIndex = 0; this.label1.Text = "ตรวจสอบสต็อกสินค้า"; // // panel1 // this.panel1.BackColor = System.Drawing.Color.DimGray; this.panel1.Controls.Add(this.label4); this.panel1.Controls.Add(this.lblRecords); this.panel1.Controls.Add(this.label1); this.panel1.Controls.Add(this.label3); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(999, 39); this.panel1.TabIndex = 8; // // label4 // this.label4.AutoSize = true; this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F); this.label4.ForeColor = System.Drawing.Color.White; this.label4.Location = new System.Drawing.Point(317, 13); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(42, 16); this.label4.TabIndex = 13; this.label4.Text = "รายการ"; this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // lblRecords // this.lblRecords.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.lblRecords.ForeColor = System.Drawing.Color.White; this.lblRecords.Location = new System.Drawing.Point(269, 13); this.lblRecords.Name = "lblRecords"; this.lblRecords.Size = new System.Drawing.Size(42, 16); this.lblRecords.TabIndex = 12; this.lblRecords.Text = "0"; this.lblRecords.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label3 // this.label3.AutoSize = true; this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F); this.label3.ForeColor = System.Drawing.Color.White; this.label3.Location = new System.Drawing.Point(174, 13); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(99, 16); this.label3.TabIndex = 11; this.label3.Text = "ค้นพบข้อมูลทั้งหมด"; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // pnlLeft // this.pnlLeft.Controls.Add(this.panel5); this.pnlLeft.Controls.Add(this.pnlBarcode); this.pnlLeft.Controls.Add(this.gbCategory); this.pnlLeft.Dock = System.Windows.Forms.DockStyle.Left; this.pnlLeft.Location = new System.Drawing.Point(0, 39); this.pnlLeft.Name = "pnlLeft"; this.pnlLeft.Padding = new System.Windows.Forms.Padding(7, 10, 7, 0); this.pnlLeft.Size = new System.Drawing.Size(247, 709); this.pnlLeft.TabIndex = 11; // // panel5 // this.panel5.Controls.Add(this.btnNewCount); this.panel5.Controls.Add(this.groupBox1); this.panel5.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel5.Location = new System.Drawing.Point(7, 590); this.panel5.Name = "panel5"; this.panel5.Size = new System.Drawing.Size(233, 119); this.panel5.TabIndex = 7; // // btnNewCount // this.btnNewCount.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.btnNewCount.Location = new System.Drawing.Point(14, 3); this.btnNewCount.Name = "btnNewCount"; this.btnNewCount.Size = new System.Drawing.Size(200, 33); this.btnNewCount.TabIndex = 0; this.btnNewCount.Text = "เริ่มต้นนับสต็อกสินค้าใหม่"; this.btnNewCount.UseVisualStyleBackColor = true; this.btnNewCount.Visible = false; this.btnNewCount.Click += new System.EventHandler(this.btnNewCount_Click); // // groupBox1 // this.groupBox1.Controls.Add(this.cbbPrintType); this.groupBox1.Controls.Add(this.btnPrint); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Bottom; this.groupBox1.Location = new System.Drawing.Point(0, 36); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(233, 83); this.groupBox1.TabIndex = 2; this.groupBox1.TabStop = false; // // cbbPrintType // this.cbbPrintType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbbPrintType.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.cbbPrintType.FormattingEnabled = true; this.cbbPrintType.Items.AddRange(new object[] { "เลือกประเภทการพิมพ์", "พิมพ์รายงานสรุป", "พิมพ์รายงานทั้งหมด", "พิมพ์รายงานที่ครบ", "พิมพ์รายงานที่ไม่ครบ"}); this.cbbPrintType.Location = new System.Drawing.Point(34, 15); this.cbbPrintType.Name = "cbbPrintType"; this.cbbPrintType.Size = new System.Drawing.Size(160, 24); this.cbbPrintType.TabIndex = 1; // // btnPrint // this.btnPrint.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.btnPrint.Location = new System.Drawing.Point(56, 46); this.btnPrint.Name = "btnPrint"; this.btnPrint.Size = new System.Drawing.Size(120, 31); this.btnPrint.TabIndex = 0; this.btnPrint.Text = "พิมพ์สต็อกสินค้า"; this.btnPrint.UseVisualStyleBackColor = true; this.btnPrint.Click += new System.EventHandler(this.btnPrint_Click); // // pnlBarcode // this.pnlBarcode.Controls.Add(this.ptbProduct); this.pnlBarcode.Controls.Add(this.txtBarcode); this.pnlBarcode.Controls.Add(this.label2); this.pnlBarcode.Controls.Add(this.lblStatus); this.pnlBarcode.Dock = System.Windows.Forms.DockStyle.Top; this.pnlBarcode.Location = new System.Drawing.Point(7, 58); this.pnlBarcode.Name = "pnlBarcode"; this.pnlBarcode.Size = new System.Drawing.Size(233, 321); this.pnlBarcode.TabIndex = 6; // // ptbProduct // this.ptbProduct.Dock = System.Windows.Forms.DockStyle.Bottom; this.ptbProduct.ImageLocation = ""; this.ptbProduct.Location = new System.Drawing.Point(0, 88); this.ptbProduct.Name = "ptbProduct"; this.ptbProduct.Size = new System.Drawing.Size(233, 233); this.ptbProduct.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.ptbProduct.TabIndex = 7; this.ptbProduct.TabStop = false; // // txtBarcode // this.txtBarcode.BackColor = System.Drawing.Color.Azure; this.txtBarcode.Font = new System.Drawing.Font("Arial", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtBarcode.ForeColor = System.Drawing.Color.MidnightBlue; this.txtBarcode.Location = new System.Drawing.Point(14, 24); this.txtBarcode.Name = "txtBarcode"; this.txtBarcode.Size = new System.Drawing.Size(204, 29); this.txtBarcode.TabIndex = 1; this.txtBarcode.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.txtBarcode.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtBarcode_KeyDown); // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(15, 8); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(44, 13); this.label2.TabIndex = 1; this.label2.Text = "บาร์โค้ด"; // // lblStatus // this.lblStatus.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblStatus.ForeColor = System.Drawing.Color.Green; this.lblStatus.Location = new System.Drawing.Point(14, 56); this.lblStatus.Name = "lblStatus"; this.lblStatus.Size = new System.Drawing.Size(204, 23); this.lblStatus.TabIndex = 2; this.lblStatus.Text = "ไม่พบข้อมูลสินค้าชิ้นนี้"; this.lblStatus.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.lblStatus.Visible = false; // // gbCategory // this.gbCategory.Controls.Add(this.progressBar1); this.gbCategory.Dock = System.Windows.Forms.DockStyle.Top; this.gbCategory.Location = new System.Drawing.Point(7, 10); this.gbCategory.Name = "gbCategory"; this.gbCategory.Size = new System.Drawing.Size(233, 48); this.gbCategory.TabIndex = 0; this.gbCategory.TabStop = false; // // progressBar1 // this.progressBar1.Location = new System.Drawing.Point(14, 17); this.progressBar1.Name = "progressBar1"; this.progressBar1.Size = new System.Drawing.Size(204, 23); this.progressBar1.Step = 1; this.progressBar1.TabIndex = 9; // // bwGetProduct // this.bwGetProduct.DoWork += new System.ComponentModel.DoWorkEventHandler(this.bwGetProduct_DoWork); this.bwGetProduct.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.bwGetProduct_RunWorkerCompleted); // // UcStock // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.table1); this.Controls.Add(this.pnlLeft); this.Controls.Add(this.panel1); this.Name = "UcStock"; this.Size = new System.Drawing.Size(999, 748); this.Load += new System.EventHandler(this.UcStock_Load); ((System.ComponentModel.ISupportInitialize)(this.table1)).EndInit(); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.pnlLeft.ResumeLayout(false); this.panel5.ResumeLayout(false); this.groupBox1.ResumeLayout(false); this.pnlBarcode.ResumeLayout(false); this.pnlBarcode.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.ptbProduct)).EndInit(); this.gbCategory.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { XPTable.Models.DataSourceColumnBinder dataSourceColumnBinder1 = new XPTable.Models.DataSourceColumnBinder(); XPTable.Renderers.DragDropRenderer dragDropRenderer1 = new XPTable.Renderers.DragDropRenderer(); this.panel1 = new System.Windows.Forms.Panel(); this.label1 = new System.Windows.Forms.Label(); this.panel3 = new System.Windows.Forms.Panel(); this.panel5 = new System.Windows.Forms.Panel(); this.btnCheckClaim = new System.Windows.Forms.Button(); this.panel2 = new System.Windows.Forms.Panel(); this.ptbProduct = new System.Windows.Forms.PictureBox(); this.panel4 = new System.Windows.Forms.Panel(); this.btnClaim = new System.Windows.Forms.Button(); this.lblWarrantyStatus = new System.Windows.Forms.Label(); this.lblWarranty = new System.Windows.Forms.Label(); this.lblName = new System.Windows.Forms.Label(); this.pnlBarcode = new System.Windows.Forms.Panel(); this.txtBarcode = new System.Windows.Forms.TextBox(); this.label2 = new System.Windows.Forms.Label(); this.lblStatus = new System.Windows.Forms.Label(); this.bwSearch = new System.ComponentModel.BackgroundWorker(); this.table1 = new XPTable.Models.Table(); this.columnModel1 = new XPTable.Models.ColumnModel(); this.clNo = new XPTable.Models.TextColumn(); this.clSellDate = new XPTable.Models.TextColumn(); this.clShop = new XPTable.Models.TextColumn(); this.clReceivedDate = new XPTable.Models.TextColumn(); this.clCustomer = new XPTable.Models.TextColumn(); this.tableModel1 = new XPTable.Models.TableModel(); this.bwGetProduct = new System.ComponentModel.BackgroundWorker(); this.bwDownloadImage = new System.ComponentModel.BackgroundWorker(); this.bwGetShopName = new System.ComponentModel.BackgroundWorker(); this.bwGetCustomerName = new System.ComponentModel.BackgroundWorker(); this.clBarcodeClaim = new XPTable.Models.TextColumn(); this.bwSearchBarcode = new System.ComponentModel.BackgroundWorker(); this.panel1.SuspendLayout(); this.panel3.SuspendLayout(); this.panel5.SuspendLayout(); this.panel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.ptbProduct)).BeginInit(); this.pnlBarcode.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.table1)).BeginInit(); this.SuspendLayout(); // // panel1 // this.panel1.BackColor = System.Drawing.Color.DimGray; this.panel1.Controls.Add(this.label1); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(953, 39); this.panel1.TabIndex = 12; // // label1 // this.label1.AutoSize = true; this.label1.Dock = System.Windows.Forms.DockStyle.Fill; this.label1.Font = new System.Drawing.Font("DilleniaUPC", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.ForeColor = System.Drawing.Color.White; this.label1.Location = new System.Drawing.Point(0, 0); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(96, 38); this.label1.TabIndex = 0; this.label1.Text = "เคลมสินค้า"; // // panel3 // this.panel3.Controls.Add(this.panel5); this.panel3.Controls.Add(this.panel2); this.panel3.Controls.Add(this.pnlBarcode); this.panel3.Dock = System.Windows.Forms.DockStyle.Left; this.panel3.Location = new System.Drawing.Point(0, 39); this.panel3.Name = "panel3"; this.panel3.Padding = new System.Windows.Forms.Padding(7, 7, 7, 0); this.panel3.Size = new System.Drawing.Size(247, 527); this.panel3.TabIndex = 13; // // panel5 // this.panel5.Controls.Add(this.btnCheckClaim); this.panel5.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel5.Location = new System.Drawing.Point(7, 480); this.panel5.Name = "panel5"; this.panel5.Size = new System.Drawing.Size(233, 47); this.panel5.TabIndex = 10; // // btnCheckClaim // this.btnCheckClaim.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.btnCheckClaim.Location = new System.Drawing.Point(0, 8); this.btnCheckClaim.Name = "btnCheckClaim"; this.btnCheckClaim.Size = new System.Drawing.Size(233, 33); this.btnCheckClaim.TabIndex = 7; this.btnCheckClaim.Text = "ตรวจสอบการเคลมสินค้า"; this.btnCheckClaim.UseVisualStyleBackColor = true; this.btnCheckClaim.Click += new System.EventHandler(this.btnCheckClaim_Click); // // panel2 // this.panel2.Controls.Add(this.ptbProduct); this.panel2.Controls.Add(this.panel4); this.panel2.Controls.Add(this.btnClaim); this.panel2.Controls.Add(this.lblWarrantyStatus); this.panel2.Controls.Add(this.lblWarranty); this.panel2.Controls.Add(this.lblName); this.panel2.Dock = System.Windows.Forms.DockStyle.Top; this.panel2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.panel2.Location = new System.Drawing.Point(7, 89); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(233, 349); this.panel2.TabIndex = 9; // // ptbProduct // this.ptbProduct.Dock = System.Windows.Forms.DockStyle.Top; this.ptbProduct.Location = new System.Drawing.Point(0, 132); this.ptbProduct.Name = "ptbProduct"; this.ptbProduct.Size = new System.Drawing.Size(233, 233); this.ptbProduct.TabIndex = 3; this.ptbProduct.TabStop = false; this.ptbProduct.Visible = false; // // panel4 // this.panel4.Dock = System.Windows.Forms.DockStyle.Top; this.panel4.Location = new System.Drawing.Point(0, 127); this.panel4.Name = "panel4"; this.panel4.Size = new System.Drawing.Size(233, 5); this.panel4.TabIndex = 5; // // btnClaim // this.btnClaim.Dock = System.Windows.Forms.DockStyle.Top; this.btnClaim.Image = global::PowerPOS_Online.Properties.Resources.wrench_screwdriver; this.btnClaim.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btnClaim.Location = new System.Drawing.Point(0, 94); this.btnClaim.Name = "btnClaim"; this.btnClaim.Padding = new System.Windows.Forms.Padding(20, 0, 20, 0); this.btnClaim.Size = new System.Drawing.Size(233, 33); this.btnClaim.TabIndex = 4; this.btnClaim.Text = "เคลมสินค้า"; this.btnClaim.UseVisualStyleBackColor = true; this.btnClaim.Visible = false; this.btnClaim.Click += new System.EventHandler(this.btnClaim_Click); // // lblWarrantyStatus // this.lblWarrantyStatus.Dock = System.Windows.Forms.DockStyle.Top; this.lblWarrantyStatus.Font = new System.Drawing.Font("DilleniaUPC", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.lblWarrantyStatus.ForeColor = System.Drawing.Color.Red; this.lblWarrantyStatus.Location = new System.Drawing.Point(0, 58); this.lblWarrantyStatus.Name = "lblWarrantyStatus"; this.lblWarrantyStatus.Size = new System.Drawing.Size(233, 36); this.lblWarrantyStatus.TabIndex = 2; this.lblWarrantyStatus.Text = "หมดประกันแล้ว"; this.lblWarrantyStatus.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.lblWarrantyStatus.Visible = false; // // lblWarranty // this.lblWarranty.Dock = System.Windows.Forms.DockStyle.Top; this.lblWarranty.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.lblWarranty.ForeColor = System.Drawing.Color.SteelBlue; this.lblWarranty.Location = new System.Drawing.Point(0, 38); this.lblWarranty.Name = "lblWarranty"; this.lblWarranty.Size = new System.Drawing.Size(233, 20); this.lblWarranty.TabIndex = 1; this.lblWarranty.Text = "ประกัน 365 วัน (เหลือประกันอีก 5 วัน)"; this.lblWarranty.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.lblWarranty.Visible = false; // // lblName // this.lblName.Dock = System.Windows.Forms.DockStyle.Top; this.lblName.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.lblName.Location = new System.Drawing.Point(0, 0); this.lblName.Name = "lblName"; this.lblName.Size = new System.Drawing.Size(233, 38); this.lblName.TabIndex = 0; this.lblName.Text = "Cable Charger for iPhone5/5s/6/6 PLUS (SCALE) Yellow - REMAX"; this.lblName.TextAlign = System.Drawing.ContentAlignment.TopCenter; this.lblName.Visible = false; // // pnlBarcode // this.pnlBarcode.Controls.Add(this.txtBarcode); this.pnlBarcode.Controls.Add(this.label2); this.pnlBarcode.Controls.Add(this.lblStatus); this.pnlBarcode.Dock = System.Windows.Forms.DockStyle.Top; this.pnlBarcode.Location = new System.Drawing.Point(7, 7); this.pnlBarcode.Name = "pnlBarcode"; this.pnlBarcode.Size = new System.Drawing.Size(233, 82); this.pnlBarcode.TabIndex = 8; // // txtBarcode // this.txtBarcode.BackColor = System.Drawing.Color.Azure; this.txtBarcode.Font = new System.Drawing.Font("Arial", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtBarcode.ForeColor = System.Drawing.Color.MidnightBlue; this.txtBarcode.Location = new System.Drawing.Point(0, 24); this.txtBarcode.Name = "txtBarcode"; this.txtBarcode.Size = new System.Drawing.Size(233, 29); this.txtBarcode.TabIndex = 1; this.txtBarcode.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.txtBarcode.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtBarcode_KeyDown); // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(-3, 8); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(44, 13); this.label2.TabIndex = 1; this.label2.Text = "บาร์โค้ด"; // // lblStatus // this.lblStatus.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblStatus.ForeColor = System.Drawing.Color.Green; this.lblStatus.Location = new System.Drawing.Point(0, 56); this.lblStatus.Name = "lblStatus"; this.lblStatus.Size = new System.Drawing.Size(233, 23); this.lblStatus.TabIndex = 2; this.lblStatus.Text = "ไม่พบข้อมูลสินค้าชิ้นนี้"; this.lblStatus.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.lblStatus.Visible = false; // // bwSearch // this.bwSearch.DoWork += new System.ComponentModel.DoWorkEventHandler(this.bwSearch_DoWork); this.bwSearch.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.bwSearch_RunWorkerCompleted); // // table1 // this.table1.BorderColor = System.Drawing.Color.Black; this.table1.ColumnModel = this.columnModel1; this.table1.DataMember = null; this.table1.DataSourceColumnBinder = dataSourceColumnBinder1; this.table1.Dock = System.Windows.Forms.DockStyle.Fill; dragDropRenderer1.ForeColor = System.Drawing.Color.Red; this.table1.DragDropRenderer = dragDropRenderer1; this.table1.EnableHeaderContextMenu = false; this.table1.FullRowSelect = true; this.table1.GridLines = XPTable.Models.GridLines.Both; this.table1.GridLinesContrainedToData = false; this.table1.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; this.table1.Location = new System.Drawing.Point(247, 39); this.table1.Name = "table1"; this.table1.NoItemsText = ""; this.table1.SelectionStyle = XPTable.Models.SelectionStyle.Grid; this.table1.Size = new System.Drawing.Size(706, 527); this.table1.TabIndex = 14; this.table1.TableModel = this.tableModel1; this.table1.Text = "table1"; this.table1.UnfocusedBorderColor = System.Drawing.Color.Black; // // columnModel1 // this.columnModel1.Columns.AddRange(new XPTable.Models.Column[] { this.clNo, this.clSellDate, this.clShop, this.clReceivedDate, this.clCustomer }); // // clNo // this.clNo.Alignment = XPTable.Models.ColumnAlignment.Center; this.clNo.Editable = false; this.clNo.IsTextTrimmed = false; this.clNo.Text = "ที่"; this.clNo.Width = 40; // // clSellDate // this.clSellDate.Alignment = XPTable.Models.ColumnAlignment.Center; this.clSellDate.Editable = false; this.clSellDate.IsTextTrimmed = false; this.clSellDate.Text = "วันที่ขายสินค้า"; this.clSellDate.Width = 180; // // clShop // this.clShop.Editable = false; this.clShop.IsTextTrimmed = false; this.clShop.Text = "ชื่อร้าน"; this.clShop.Width = 240; // // clReceivedDate // this.clReceivedDate.Alignment = XPTable.Models.ColumnAlignment.Center; this.clReceivedDate.Editable = false; this.clReceivedDate.IsTextTrimmed = false; this.clReceivedDate.Text = "วันที่รับสินค้าเข้า"; this.clReceivedDate.Width = 180; // // clCustomer // this.clCustomer.Editable = false; this.clCustomer.IsTextTrimmed = false; this.clCustomer.Text = "ชื่อลูกค้า"; this.clCustomer.Width = 200; // // bwGetProduct // this.bwGetProduct.DoWork += new System.ComponentModel.DoWorkEventHandler(this.bwGetProduct_DoWork); this.bwGetProduct.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.bwGetProduct_RunWorkerCompleted); // // bwDownloadImage // this.bwDownloadImage.DoWork += new System.ComponentModel.DoWorkEventHandler(this.bwDownloadImage_DoWork); // // bwGetShopName // this.bwGetShopName.DoWork += new System.ComponentModel.DoWorkEventHandler(this.bwGetShopName_DoWork); this.bwGetShopName.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.bwGetShopName_RunWorkerCompleted); // // bwGetCustomerName // this.bwGetCustomerName.DoWork += new System.ComponentModel.DoWorkEventHandler(this.bwGetCustomerName_DoWork); this.bwGetCustomerName.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.bwGetCustomerName_RunWorkerCompleted); // // clBarcodeClaim // this.clBarcodeClaim.IsTextTrimmed = false; this.clBarcodeClaim.Text = "เปลี่ยนสินค้าจาก"; // // bwSearchBarcode // this.bwSearchBarcode.DoWork += new System.ComponentModel.DoWorkEventHandler(this.bwSearchBarcode_DoWork); this.bwSearchBarcode.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.bwSearchBarcode_RunWorkerCompleted); // // UcClaim // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.table1); this.Controls.Add(this.panel3); this.Controls.Add(this.panel1); this.Name = "UcClaim"; this.Size = new System.Drawing.Size(953, 566); this.Load += new System.EventHandler(this.UcClaim_Load); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.panel3.ResumeLayout(false); this.panel5.ResumeLayout(false); this.panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.ptbProduct)).EndInit(); this.pnlBarcode.ResumeLayout(false); this.pnlBarcode.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.table1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { XPTable.Models.DataSourceColumnBinder dataSourceColumnBinder1 = new XPTable.Models.DataSourceColumnBinder(); XPTable.Renderers.DragDropRenderer dragDropRenderer1 = new XPTable.Renderers.DragDropRenderer(); this.panel1 = new System.Windows.Forms.Panel(); this.gbHeader = new System.Windows.Forms.GroupBox(); this.label1 = new System.Windows.Forms.Label(); this.lblTotal = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.lblCustomer = new System.Windows.Forms.Label(); this.lblSellNo = new System.Windows.Forms.Label(); this.lblSellDate = new System.Windows.Forms.Label(); this.panel2 = new System.Windows.Forms.Panel(); this.table1 = new XPTable.Models.Table(); this.columnModel1 = new XPTable.Models.ColumnModel(); this.No = new XPTable.Models.TextColumn(); this.ProductCode = new XPTable.Models.TextColumn(); this.ProductName = new XPTable.Models.TextColumn(); this.Price = new XPTable.Models.NumberColumn(); this.Quantity = new XPTable.Models.NumberColumn(); this.Total = new XPTable.Models.NumberColumn(); this.tableModel1 = new XPTable.Models.TableModel(); this.panel3 = new System.Windows.Forms.Panel(); this.btnCancel = new System.Windows.Forms.Button(); this.panel1.SuspendLayout(); this.gbHeader.SuspendLayout(); this.panel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.table1)).BeginInit(); this.panel3.SuspendLayout(); this.SuspendLayout(); // // panel1 // this.panel1.Controls.Add(this.gbHeader); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(722, 78); this.panel1.TabIndex = 0; // // gbHeader // this.gbHeader.Controls.Add(this.label1); this.gbHeader.Controls.Add(this.lblTotal); this.gbHeader.Controls.Add(this.label2); this.gbHeader.Controls.Add(this.label5); this.gbHeader.Controls.Add(this.label3); this.gbHeader.Controls.Add(this.lblCustomer); this.gbHeader.Controls.Add(this.lblSellNo); this.gbHeader.Controls.Add(this.lblSellDate); this.gbHeader.Location = new System.Drawing.Point(12, 3); this.gbHeader.Name = "gbHeader"; this.gbHeader.Size = new System.Drawing.Size(707, 63); this.gbHeader.TabIndex = 8; this.gbHeader.TabStop = false; // // label1 // this.label1.AutoSize = true; this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.label1.Location = new System.Drawing.Point(34, 13); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(87, 18); this.label1.TabIndex = 0; this.label1.Text = "เลขที่การขาย :"; // // lblTotal // this.lblTotal.AutoSize = true; this.lblTotal.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.lblTotal.Location = new System.Drawing.Point(433, 37); this.lblTotal.Name = "lblTotal"; this.lblTotal.Size = new System.Drawing.Size(55, 18); this.lblTotal.TabIndex = 7; this.lblTotal.Text = "lblTotal"; // // label2 // this.label2.AutoSize = true; this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.label2.Location = new System.Drawing.Point(364, 13); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(63, 18); this.label2.TabIndex = 1; this.label2.Text = "วันที่ขาย :"; // // label5 // this.label5.AutoSize = true; this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.label5.Location = new System.Drawing.Point(364, 37); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(63, 18); this.label5.TabIndex = 6; this.label5.Text = "ยอดรวม :"; // // label3 // this.label3.AutoSize = true; this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.label3.Location = new System.Drawing.Point(33, 37); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(45, 18); this.label3.TabIndex = 2; this.label3.Text = "ลูกค้า :"; // // lblCustomer // this.lblCustomer.AutoSize = true; this.lblCustomer.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.lblCustomer.Location = new System.Drawing.Point(85, 37); this.lblCustomer.Name = "lblCustomer"; this.lblCustomer.Size = new System.Drawing.Size(88, 18); this.lblCustomer.TabIndex = 5; this.lblCustomer.Text = "lblCustomer"; // // lblSellNo // this.lblSellNo.AutoSize = true; this.lblSellNo.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.lblSellNo.Location = new System.Drawing.Point(120, 13); this.lblSellNo.Name = "lblSellNo"; this.lblSellNo.Size = new System.Drawing.Size(66, 18); this.lblSellNo.TabIndex = 3; this.lblSellNo.Text = "lblSellNo"; // // lblSellDate // this.lblSellDate.AutoSize = true; this.lblSellDate.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.lblSellDate.Location = new System.Drawing.Point(433, 13); this.lblSellDate.Name = "lblSellDate"; this.lblSellDate.Size = new System.Drawing.Size(77, 18); this.lblSellDate.TabIndex = 4; this.lblSellDate.Text = "lblSellDate"; // // panel2 // this.panel2.Controls.Add(this.table1); this.panel2.Controls.Add(this.panel3); this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; this.panel2.Location = new System.Drawing.Point(0, 78); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(722, 379); this.panel2.TabIndex = 1; // // table1 // this.table1.BorderColor = System.Drawing.Color.Black; this.table1.ColumnModel = this.columnModel1; this.table1.DataMember = null; this.table1.DataSourceColumnBinder = dataSourceColumnBinder1; this.table1.Dock = System.Windows.Forms.DockStyle.Fill; dragDropRenderer1.ForeColor = System.Drawing.Color.Red; this.table1.DragDropRenderer = dragDropRenderer1; this.table1.EnableHeaderContextMenu = false; this.table1.FullRowSelect = true; this.table1.GridLines = XPTable.Models.GridLines.Both; this.table1.GridLinesContrainedToData = false; this.table1.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.table1.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; this.table1.Location = new System.Drawing.Point(0, 0); this.table1.Name = "table1"; this.table1.NoItemsText = ""; this.table1.SelectionStyle = XPTable.Models.SelectionStyle.Grid; this.table1.Size = new System.Drawing.Size(722, 341); this.table1.TabIndex = 13; this.table1.TableModel = this.tableModel1; this.table1.Text = "table1"; this.table1.UnfocusedBorderColor = System.Drawing.Color.Black; // // columnModel1 // this.columnModel1.Columns.AddRange(new XPTable.Models.Column[] { this.No, this.ProductCode, this.ProductName, this.Price, this.Quantity, this.Total}); // // No // this.No.IsTextTrimmed = false; this.No.Text = "ที่"; this.No.Width = 40; // // ProductCode // this.ProductCode.IsTextTrimmed = false; this.ProductCode.Text = "รหัสสินค้า"; this.ProductCode.Width = 90; // // ProductName // this.ProductName.IsTextTrimmed = false; this.ProductName.Text = "ชื่อสินค้า"; this.ProductName.Width = 250; // // Price // this.Price.Alignment = XPTable.Models.ColumnAlignment.Right; this.Price.IsTextTrimmed = false; this.Price.Text = "ราคา"; // // Quantity // this.Quantity.Alignment = XPTable.Models.ColumnAlignment.Right; this.Quantity.IsTextTrimmed = false; this.Quantity.Text = "จำนวน"; // // Total // this.Total.Alignment = XPTable.Models.ColumnAlignment.Right; this.Total.IsTextTrimmed = false; this.Total.Text = "รวม"; // // panel3 // this.panel3.Controls.Add(this.btnCancel); this.panel3.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel3.Location = new System.Drawing.Point(0, 341); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(722, 38); this.panel3.TabIndex = 14; // // btnCancel // this.btnCancel.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.btnCancel.Image = global::PowerPOS_Online.Properties.Resources.arrow_circle_225_left; this.btnCancel.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btnCancel.Location = new System.Drawing.Point(646, 3); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(66, 32); this.btnCancel.TabIndex = 16; this.btnCancel.Text = "ยกเลิก"; this.btnCancel.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.btnCancel.UseVisualStyleBackColor = true; this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); // // FmSellDetial // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(722, 457); this.Controls.Add(this.panel2); this.Controls.Add(this.panel1); this.Name = "FmSellDetial"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "รายละเอียดการขาย"; this.Load += new System.EventHandler(this.FmSellDetial_Load); this.panel1.ResumeLayout(false); this.gbHeader.ResumeLayout(false); this.gbHeader.PerformLayout(); this.panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.table1)).EndInit(); this.panel3.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { XPTable.Models.DataSourceColumnBinder dataSourceColumnBinder2 = new XPTable.Models.DataSourceColumnBinder(); XPTable.Renderers.DragDropRenderer dragDropRenderer2 = new XPTable.Renderers.DragDropRenderer(); this.table1 = new XPTable.Models.Table(); this.columnModel1 = new XPTable.Models.ColumnModel(); this.tableModel1 = new XPTable.Models.TableModel(); this.btn_Create = new System.Windows.Forms.Button(); this.btn_Read = new System.Windows.Forms.Button(); this.input_subscriptionId = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); this.input_resourceGroupName = new System.Windows.Forms.TextBox(); this.label2 = new System.Windows.Forms.Label(); this.input_applicationGroupName = new System.Windows.Forms.TextBox(); this.label3 = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.table1)).BeginInit(); this.SuspendLayout(); // // table1 // this.table1.BorderColor = System.Drawing.Color.Black; this.table1.ColumnModel = this.columnModel1; this.table1.DataMember = null; this.table1.DataSourceColumnBinder = dataSourceColumnBinder2; dragDropRenderer2.ForeColor = System.Drawing.Color.Red; this.table1.DragDropRenderer = dragDropRenderer2; this.table1.GridLinesContrainedToData = false; this.table1.HeaderAlignWithColumn = true; this.table1.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 10F); this.table1.Location = new System.Drawing.Point(35, 38); this.table1.Name = "table1"; this.table1.Size = new System.Drawing.Size(133, 301); this.table1.TabIndex = 0; this.table1.TableModel = this.tableModel1; this.table1.Text = "table1"; this.table1.UnfocusedBorderColor = System.Drawing.Color.Black; // // btn_Create // this.btn_Create.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F); this.btn_Create.Location = new System.Drawing.Point(228, 249); this.btn_Create.Name = "btn_Create"; this.btn_Create.Size = new System.Drawing.Size(99, 46); this.btn_Create.TabIndex = 1; this.btn_Create.Text = "Create"; this.btn_Create.UseVisualStyleBackColor = true; // // btn_Read // this.btn_Read.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F); this.btn_Read.Location = new System.Drawing.Point(447, 249); this.btn_Read.Name = "btn_Read"; this.btn_Read.Size = new System.Drawing.Size(99, 46); this.btn_Read.TabIndex = 2; this.btn_Read.Text = "Read"; this.btn_Read.UseVisualStyleBackColor = true; this.btn_Read.Click += new System.EventHandler(this.btn_Read_Click); // // input_subscriptionId // this.input_subscriptionId.Location = new System.Drawing.Point(340, 67); this.input_subscriptionId.Name = "input_subscriptionId"; this.input_subscriptionId.Size = new System.Drawing.Size(274, 20); this.input_subscriptionId.TabIndex = 3; // // label1 // this.label1.AutoSize = true; this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F); this.label1.Location = new System.Drawing.Point(235, 68); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(99, 17); this.label1.TabIndex = 4; this.label1.Text = "subscriptionId:"; // // input_resourceGroupName // this.input_resourceGroupName.Location = new System.Drawing.Point(340, 110); this.input_resourceGroupName.Name = "input_resourceGroupName"; this.input_resourceGroupName.Size = new System.Drawing.Size(274, 20); this.input_resourceGroupName.TabIndex = 3; // // label2 // this.label2.AutoSize = true; this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F); this.label2.Location = new System.Drawing.Point(189, 111); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(145, 17); this.label2.TabIndex = 4; this.label2.Text = "resourceGroupName:"; // // input_applicationGroupName // this.input_applicationGroupName.Location = new System.Drawing.Point(340, 153); this.input_applicationGroupName.Name = "input_applicationGroupName"; this.input_applicationGroupName.Size = new System.Drawing.Size(274, 20); this.input_applicationGroupName.TabIndex = 3; // // label3 // this.label3.AutoSize = true; this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F); this.label3.Location = new System.Drawing.Point(177, 154); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(157, 17); this.label3.TabIndex = 4; this.label3.Text = "applicationGroupName:"; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(626, 373); this.Controls.Add(this.label3); this.Controls.Add(this.input_applicationGroupName); this.Controls.Add(this.label2); this.Controls.Add(this.input_resourceGroupName); this.Controls.Add(this.label1); this.Controls.Add(this.input_subscriptionId); this.Controls.Add(this.btn_Read); this.Controls.Add(this.btn_Create); this.Controls.Add(this.table1); this.Name = "Form1"; this.Text = "Form1"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.table1)).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() { XPTable.Models.DataSourceColumnBinder dataSourceColumnBinder1 = new XPTable.Models.DataSourceColumnBinder(); XPTable.Renderers.DragDropRenderer dragDropRenderer1 = new XPTable.Renderers.DragDropRenderer(); this.panel1 = new System.Windows.Forms.Panel(); this.lblRecords = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.panel3 = new System.Windows.Forms.Panel(); this.panel5 = new System.Windows.Forms.Panel(); this.btnPrint = new System.Windows.Forms.Button(); this.gbOrderNo = new System.Windows.Forms.GroupBox(); this.rbtNoSerial = new System.Windows.Forms.RadioButton(); this.rbtSerial = new System.Windows.Forms.RadioButton(); this.cbNoPrice = new System.Windows.Forms.CheckBox(); this.cbNoStock = new System.Windows.Forms.CheckBox(); this.btnSearch = new System.Windows.Forms.Button(); this.cbbBrand = new System.Windows.Forms.ComboBox(); this.cbbCategory = new System.Windows.Forms.ComboBox(); this.txtSearch = new System.Windows.Forms.TextBox(); this.pnlPrice = new System.Windows.Forms.Panel(); this.lblCategory = new System.Windows.Forms.Label(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.label12 = new System.Windows.Forms.Label(); this.label13 = new System.Windows.Forms.Label(); this.txtPercent4 = new System.Windows.Forms.TextBox(); this.txtPercent3 = new System.Windows.Forms.TextBox(); this.txtPrice4 = new System.Windows.Forms.TextBox(); this.txtPrice3 = new System.Windows.Forms.TextBox(); this.nudPrice4 = new System.Windows.Forms.NumericUpDown(); this.nudPrice3 = new System.Windows.Forms.NumericUpDown(); this.btnSave = new System.Windows.Forms.Button(); this.panel4 = new System.Windows.Forms.Panel(); this.lblCost = new System.Windows.Forms.Label(); this.label11 = new System.Windows.Forms.Label(); this.label10 = new System.Windows.Forms.Label(); this.btnConfig = new System.Windows.Forms.Button(); this.btnUsePercentPrice = new System.Windows.Forms.Button(); this.btnUseWebPrice = new System.Windows.Forms.Button(); this.label9 = new System.Windows.Forms.Label(); this.label8 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.txtPercent2 = new System.Windows.Forms.TextBox(); this.txtPercent1 = new System.Windows.Forms.TextBox(); this.txtPrice2 = new System.Windows.Forms.TextBox(); this.txtPercent = new System.Windows.Forms.TextBox(); this.txtPrice1 = new System.Windows.Forms.TextBox(); this.txtPrice = new System.Windows.Forms.TextBox(); this.nudPrice2 = new System.Windows.Forms.NumericUpDown(); this.nudPrice1 = new System.Windows.Forms.NumericUpDown(); this.nudPrice = new System.Windows.Forms.NumericUpDown(); this.label4 = new System.Windows.Forms.Label(); this.panel2 = new System.Windows.Forms.Panel(); this.ptbProduct = new System.Windows.Forms.PictureBox(); this.columnModel1 = new XPTable.Models.ColumnModel(); this.clNo = new XPTable.Models.TextColumn(); this.clSku = new XPTable.Models.TextColumn(); this.clName = new XPTable.Models.TextColumn(); this.clQty = new XPTable.Models.NumberColumn(); this.clCategory = new XPTable.Models.TextColumn(); this.clBrand = new XPTable.Models.TextColumn(); this.clWarranty = new XPTable.Models.TextColumn(); this.clCost = new XPTable.Models.NumberColumn(); this.clPrice = new XPTable.Models.NumberColumn(); this.clPrice1 = new XPTable.Models.NumberColumn(); this.clPrice2 = new XPTable.Models.NumberColumn(); this.clPrice3 = new XPTable.Models.NumberColumn(); this.clPrice4 = new XPTable.Models.NumberColumn(); this.clWebPrice = new XPTable.Models.NumberColumn(); this.clWebPrice1 = new XPTable.Models.NumberColumn(); this.clWebPrice2 = new XPTable.Models.NumberColumn(); this.clWebPrice3 = new XPTable.Models.NumberColumn(); this.clWebPrice4 = new XPTable.Models.NumberColumn(); this.tableModel1 = new XPTable.Models.TableModel(); this.table1 = new XPTable.Models.Table(); this.panel1.SuspendLayout(); this.panel3.SuspendLayout(); this.panel5.SuspendLayout(); this.gbOrderNo.SuspendLayout(); this.pnlPrice.SuspendLayout(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.nudPrice4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.nudPrice3)).BeginInit(); this.panel4.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.nudPrice2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.nudPrice1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.nudPrice)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ptbProduct)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.table1)).BeginInit(); this.SuspendLayout(); // // panel1 // this.panel1.BackColor = System.Drawing.Color.DimGray; this.panel1.Controls.Add(this.lblRecords); this.panel1.Controls.Add(this.label1); this.panel1.Controls.Add(this.label3); this.panel1.Controls.Add(this.label2); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(1024, 39); this.panel1.TabIndex = 7; // // lblRecords // this.lblRecords.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.lblRecords.ForeColor = System.Drawing.Color.White; this.lblRecords.Location = new System.Drawing.Point(261, 13); this.lblRecords.Name = "lblRecords"; this.lblRecords.Size = new System.Drawing.Size(42, 16); this.lblRecords.TabIndex = 6; this.lblRecords.Text = "0"; this.lblRecords.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label1 // this.label1.AutoSize = true; this.label1.Dock = System.Windows.Forms.DockStyle.Fill; this.label1.Font = new System.Drawing.Font("DilleniaUPC", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.ForeColor = System.Drawing.Color.White; this.label1.Location = new System.Drawing.Point(0, 0); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(159, 38); this.label1.TabIndex = 0; this.label1.Text = "ข้อมูลสินค้าในระบบ"; // // label3 // this.label3.AutoSize = true; this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F); this.label3.ForeColor = System.Drawing.Color.White; this.label3.Location = new System.Drawing.Point(301, 13); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(42, 16); this.label3.TabIndex = 6; this.label3.Text = "รายการ"; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label2 // this.label2.AutoSize = true; this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F); this.label2.ForeColor = System.Drawing.Color.White; this.label2.Location = new System.Drawing.Point(166, 13); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(99, 16); this.label2.TabIndex = 5; this.label2.Text = "ค้นพบข้อมูลทั้งหมด"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // panel3 // this.panel3.Controls.Add(this.panel5); this.panel3.Controls.Add(this.gbOrderNo); this.panel3.Dock = System.Windows.Forms.DockStyle.Left; this.panel3.Location = new System.Drawing.Point(0, 39); this.panel3.Name = "panel3"; this.panel3.Padding = new System.Windows.Forms.Padding(7, 10, 7, 0); this.panel3.Size = new System.Drawing.Size(247, 635); this.panel3.TabIndex = 8; // // panel5 // this.panel5.Controls.Add(this.btnPrint); this.panel5.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel5.Location = new System.Drawing.Point(7, 594); this.panel5.Name = "panel5"; this.panel5.Size = new System.Drawing.Size(233, 41); this.panel5.TabIndex = 1; // // btnPrint // this.btnPrint.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.btnPrint.Location = new System.Drawing.Point(50, 7); this.btnPrint.Name = "btnPrint"; this.btnPrint.Size = new System.Drawing.Size(120, 31); this.btnPrint.TabIndex = 0; this.btnPrint.Text = "พิมพ์รายการสินค้า"; this.btnPrint.UseVisualStyleBackColor = true; this.btnPrint.Click += new System.EventHandler(this.btnPrint_Click); // // gbOrderNo // this.gbOrderNo.Controls.Add(this.rbtNoSerial); this.gbOrderNo.Controls.Add(this.rbtSerial); this.gbOrderNo.Controls.Add(this.cbNoPrice); this.gbOrderNo.Controls.Add(this.cbNoStock); this.gbOrderNo.Controls.Add(this.btnSearch); this.gbOrderNo.Controls.Add(this.cbbBrand); this.gbOrderNo.Controls.Add(this.cbbCategory); this.gbOrderNo.Controls.Add(this.txtSearch); this.gbOrderNo.Dock = System.Windows.Forms.DockStyle.Top; this.gbOrderNo.Location = new System.Drawing.Point(7, 10); this.gbOrderNo.Name = "gbOrderNo"; this.gbOrderNo.Size = new System.Drawing.Size(233, 206); this.gbOrderNo.TabIndex = 0; this.gbOrderNo.TabStop = false; this.gbOrderNo.Text = "ค้นหาข้อมูล"; // // rbtNoSerial // this.rbtNoSerial.AutoSize = true; this.rbtNoSerial.Location = new System.Drawing.Point(14, 44); this.rbtNoSerial.Name = "rbtNoSerial"; this.rbtNoSerial.Size = new System.Drawing.Size(122, 17); this.rbtNoSerial.TabIndex = 8; this.rbtNoSerial.Text = "สินค้าแบบไม่มี Serial"; this.rbtNoSerial.UseVisualStyleBackColor = true; this.rbtNoSerial.CheckedChanged += new System.EventHandler(this.rbtNoSerial_CheckedChanged); // // rbtSerial // this.rbtSerial.AutoSize = true; this.rbtSerial.Checked = true; this.rbtSerial.Location = new System.Drawing.Point(14, 21); this.rbtSerial.Name = "rbtSerial"; this.rbtSerial.Size = new System.Drawing.Size(109, 17); this.rbtSerial.TabIndex = 7; this.rbtSerial.TabStop = true; this.rbtSerial.Text = "สินค้าแบบมี Serial"; this.rbtSerial.UseVisualStyleBackColor = true; this.rbtSerial.CheckedChanged += new System.EventHandler(this.rbtSerial_CheckedChanged); // // cbNoPrice // this.cbNoPrice.AutoSize = true; this.cbNoPrice.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F); this.cbNoPrice.Location = new System.Drawing.Point(14, 157); this.cbNoPrice.Name = "cbNoPrice"; this.cbNoPrice.Size = new System.Drawing.Size(125, 20); this.cbNoPrice.TabIndex = 6; this.cbNoPrice.Text = "ยังไม่กำหนดราคาขาย"; this.cbNoPrice.UseVisualStyleBackColor = true; this.cbNoPrice.CheckedChanged += new System.EventHandler(this.btnSearch_Click); // // cbNoStock // this.cbNoStock.AutoSize = true; this.cbNoStock.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F); this.cbNoStock.Location = new System.Drawing.Point(14, 179); this.cbNoStock.Name = "cbNoStock"; this.cbNoStock.Size = new System.Drawing.Size(103, 20); this.cbNoStock.TabIndex = 5; this.cbNoStock.Text = "ไม่มีในคลังสินค้า"; this.cbNoStock.UseVisualStyleBackColor = true; this.cbNoStock.CheckedChanged += new System.EventHandler(this.btnSearch_Click); // // btnSearch // this.btnSearch.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.btnSearch.Image = global::PowerPOS_Online.Properties.Resources.magnifier_left; this.btnSearch.Location = new System.Drawing.Point(187, 125); this.btnSearch.Name = "btnSearch"; this.btnSearch.Size = new System.Drawing.Size(31, 31); this.btnSearch.TabIndex = 4; this.btnSearch.UseVisualStyleBackColor = true; this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click); // // cbbBrand // this.cbbBrand.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbbBrand.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.cbbBrand.FormattingEnabled = true; this.cbbBrand.Items.AddRange(new object[] { "เลขที่ใบสั่งซื้อ"}); this.cbbBrand.Location = new System.Drawing.Point(14, 95); this.cbbBrand.Name = "cbbBrand"; this.cbbBrand.Size = new System.Drawing.Size(204, 24); this.cbbBrand.TabIndex = 3; this.cbbBrand.SelectedIndexChanged += new System.EventHandler(this.btnSearch_Click); // // cbbCategory // this.cbbCategory.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbbCategory.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.cbbCategory.FormattingEnabled = true; this.cbbCategory.Items.AddRange(new object[] { "เลขที่ใบสั่งซื้อ"}); this.cbbCategory.Location = new System.Drawing.Point(14, 65); this.cbbCategory.Name = "cbbCategory"; this.cbbCategory.Size = new System.Drawing.Size(204, 24); this.cbbCategory.TabIndex = 0; this.cbbCategory.SelectedIndexChanged += new System.EventHandler(this.btnSearch_Click); // // txtSearch // this.txtSearch.BackColor = System.Drawing.Color.Azure; this.txtSearch.Font = new System.Drawing.Font("Arial", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtSearch.ForeColor = System.Drawing.Color.MidnightBlue; this.txtSearch.Location = new System.Drawing.Point(14, 125); this.txtSearch.Name = "txtSearch"; this.txtSearch.Size = new System.Drawing.Size(167, 29); this.txtSearch.TabIndex = 1; this.txtSearch.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.txtSearch.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtSearch_KeyDown); // // pnlPrice // this.pnlPrice.Controls.Add(this.lblCategory); this.pnlPrice.Controls.Add(this.groupBox1); this.pnlPrice.Controls.Add(this.panel2); this.pnlPrice.Controls.Add(this.ptbProduct); this.pnlPrice.Dock = System.Windows.Forms.DockStyle.Top; this.pnlPrice.Location = new System.Drawing.Point(247, 39); this.pnlPrice.Name = "pnlPrice"; this.pnlPrice.Padding = new System.Windows.Forms.Padding(5); this.pnlPrice.Size = new System.Drawing.Size(777, 129); this.pnlPrice.TabIndex = 9; this.pnlPrice.Visible = false; // // lblCategory // this.lblCategory.Location = new System.Drawing.Point(5, 106); this.lblCategory.Name = "lblCategory"; this.lblCategory.Size = new System.Drawing.Size(137, 12); this.lblCategory.TabIndex = 10; this.lblCategory.Text = "Category"; this.lblCategory.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.lblCategory.Visible = false; // // groupBox1 // this.groupBox1.Controls.Add(this.label12); this.groupBox1.Controls.Add(this.label13); this.groupBox1.Controls.Add(this.txtPercent4); this.groupBox1.Controls.Add(this.txtPercent3); this.groupBox1.Controls.Add(this.txtPrice4); this.groupBox1.Controls.Add(this.txtPrice3); this.groupBox1.Controls.Add(this.nudPrice4); this.groupBox1.Controls.Add(this.nudPrice3); this.groupBox1.Controls.Add(this.btnSave); this.groupBox1.Controls.Add(this.panel4); this.groupBox1.Controls.Add(this.btnConfig); this.groupBox1.Controls.Add(this.btnUsePercentPrice); this.groupBox1.Controls.Add(this.btnUseWebPrice); this.groupBox1.Controls.Add(this.label9); this.groupBox1.Controls.Add(this.label8); this.groupBox1.Controls.Add(this.label7); this.groupBox1.Controls.Add(this.label6); this.groupBox1.Controls.Add(this.label5); this.groupBox1.Controls.Add(this.txtPercent2); this.groupBox1.Controls.Add(this.txtPercent1); this.groupBox1.Controls.Add(this.txtPrice2); this.groupBox1.Controls.Add(this.txtPercent); this.groupBox1.Controls.Add(this.txtPrice1); this.groupBox1.Controls.Add(this.txtPrice); this.groupBox1.Controls.Add(this.nudPrice2); this.groupBox1.Controls.Add(this.nudPrice1); this.groupBox1.Controls.Add(this.nudPrice); this.groupBox1.Controls.Add(this.label4); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Left; this.groupBox1.Location = new System.Drawing.Point(129, 5); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(640, 119); this.groupBox1.TabIndex = 0; this.groupBox1.TabStop = false; this.groupBox1.Text = "ราคาขาย"; // // label12 // this.label12.Location = new System.Drawing.Point(367, 11); this.label12.Name = "label12"; this.label12.Size = new System.Drawing.Size(66, 13); this.label12.TabIndex = 26; this.label12.Text = "ส่ง 4"; this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label13 // this.label13.Location = new System.Drawing.Point(298, 11); this.label13.Name = "label13"; this.label13.Size = new System.Drawing.Size(66, 13); this.label13.TabIndex = 25; this.label13.Text = "ส่ง 3"; this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // txtPercent4 // this.txtPercent4.Font = new System.Drawing.Font("Arial", 9.75F); this.txtPercent4.Location = new System.Drawing.Point(370, 85); this.txtPercent4.Name = "txtPercent4"; this.txtPercent4.ReadOnly = true; this.txtPercent4.Size = new System.Drawing.Size(66, 22); this.txtPercent4.TabIndex = 23; this.txtPercent4.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // txtPercent3 // this.txtPercent3.Font = new System.Drawing.Font("Arial", 9.75F); this.txtPercent3.Location = new System.Drawing.Point(298, 85); this.txtPercent3.Name = "txtPercent3"; this.txtPercent3.ReadOnly = true; this.txtPercent3.Size = new System.Drawing.Size(66, 22); this.txtPercent3.TabIndex = 21; this.txtPercent3.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // txtPrice4 // this.txtPrice4.Font = new System.Drawing.Font("Arial", 9.75F); this.txtPrice4.Location = new System.Drawing.Point(370, 27); this.txtPrice4.Name = "txtPrice4"; this.txtPrice4.ReadOnly = true; this.txtPrice4.Size = new System.Drawing.Size(66, 22); this.txtPrice4.TabIndex = 24; this.txtPrice4.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // txtPrice3 // this.txtPrice3.Font = new System.Drawing.Font("Arial", 9.75F); this.txtPrice3.Location = new System.Drawing.Point(298, 27); this.txtPrice3.Name = "txtPrice3"; this.txtPrice3.ReadOnly = true; this.txtPrice3.Size = new System.Drawing.Size(66, 22); this.txtPrice3.TabIndex = 22; this.txtPrice3.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // nudPrice4 // this.nudPrice4.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.nudPrice4.Location = new System.Drawing.Point(370, 55); this.nudPrice4.Maximum = new decimal(new int[] { 99999999, 0, 0, 0}); this.nudPrice4.Name = "nudPrice4"; this.nudPrice4.Size = new System.Drawing.Size(66, 22); this.nudPrice4.TabIndex = 20; this.nudPrice4.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.nudPrice4.ThousandsSeparator = true; this.nudPrice4.ValueChanged += new System.EventHandler(this.nudPrice4_ValueChanged); // // nudPrice3 // this.nudPrice3.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.nudPrice3.Location = new System.Drawing.Point(298, 55); this.nudPrice3.Maximum = new decimal(new int[] { 99999999, 0, 0, 0}); this.nudPrice3.Name = "nudPrice3"; this.nudPrice3.Size = new System.Drawing.Size(66, 22); this.nudPrice3.TabIndex = 19; this.nudPrice3.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.nudPrice3.ThousandsSeparator = true; this.nudPrice3.ValueChanged += new System.EventHandler(this.nudPrice3_ValueChanged); // // btnSave // this.btnSave.Enabled = false; this.btnSave.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.btnSave.Image = global::PowerPOS_Online.Properties.Resources.disk_return_black; this.btnSave.Location = new System.Drawing.Point(598, 53); this.btnSave.Name = "btnSave"; this.btnSave.Size = new System.Drawing.Size(29, 24); this.btnSave.TabIndex = 18; this.btnSave.UseVisualStyleBackColor = true; this.btnSave.Click += new System.EventHandler(this.btnSave_Click); // // panel4 // this.panel4.Controls.Add(this.lblCost); this.panel4.Controls.Add(this.label11); this.panel4.Controls.Add(this.label10); this.panel4.Location = new System.Drawing.Point(448, 24); this.panel4.Name = "panel4"; this.panel4.Size = new System.Drawing.Size(146, 29); this.panel4.TabIndex = 17; // // lblCost // this.lblCost.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblCost.Location = new System.Drawing.Point(39, 1); this.lblCost.Name = "lblCost"; this.lblCost.Size = new System.Drawing.Size(79, 22); this.lblCost.TabIndex = 19; this.lblCost.Text = "0.00"; this.lblCost.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label11 // this.label11.AutoSize = true; this.label11.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F); this.label11.Location = new System.Drawing.Point(118, 5); this.label11.Name = "label11"; this.label11.Size = new System.Drawing.Size(28, 16); this.label11.TabIndex = 18; this.label11.Text = "บาท"; // // label10 // this.label10.AutoSize = true; this.label10.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F); this.label10.Location = new System.Drawing.Point(3, 5); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(37, 16); this.label10.TabIndex = 17; this.label10.Text = "ต้นทุน"; // // btnConfig // this.btnConfig.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.btnConfig.Image = global::PowerPOS_Online.Properties.Resources.gear; this.btnConfig.Location = new System.Drawing.Point(598, 83); this.btnConfig.Name = "btnConfig"; this.btnConfig.Size = new System.Drawing.Size(29, 24); this.btnConfig.TabIndex = 13; this.btnConfig.UseVisualStyleBackColor = true; this.btnConfig.Click += new System.EventHandler(this.btnConfig_Click); // // btnUsePercentPrice // this.btnUsePercentPrice.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.btnUsePercentPrice.Location = new System.Drawing.Point(448, 83); this.btnUsePercentPrice.Name = "btnUsePercentPrice"; this.btnUsePercentPrice.Size = new System.Drawing.Size(146, 24); this.btnUsePercentPrice.TabIndex = 13; this.btnUsePercentPrice.Text = "ใช้ % กำไรที่กำหนดไว้"; this.btnUsePercentPrice.UseVisualStyleBackColor = true; this.btnUsePercentPrice.Click += new System.EventHandler(this.btnUsePercentPrice_Click); // // btnUseWebPrice // this.btnUseWebPrice.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.btnUseWebPrice.Location = new System.Drawing.Point(448, 53); this.btnUseWebPrice.Name = "btnUseWebPrice"; this.btnUseWebPrice.Size = new System.Drawing.Size(146, 24); this.btnUseWebPrice.TabIndex = 12; this.btnUseWebPrice.Text = "ใช้ราคาหน้าเว็บ"; this.btnUseWebPrice.UseVisualStyleBackColor = true; this.btnUseWebPrice.Click += new System.EventHandler(this.btnUseWebPrice_Click); // // label9 // this.label9.AutoSize = true; this.label9.Location = new System.Drawing.Point(29, 89); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(48, 13); this.label9.TabIndex = 11; this.label9.Text = "กำไร (%)"; // // label8 // this.label8.AutoSize = true; this.label8.Location = new System.Drawing.Point(8, 58); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(69, 13); this.label8.TabIndex = 10; this.label8.Text = "ราคาหน้าร้าน"; // // label7 // this.label7.Location = new System.Drawing.Point(223, 10); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(66, 13); this.label7.TabIndex = 9; this.label7.Text = "ส่ง 2"; this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label6 // this.label6.Location = new System.Drawing.Point(154, 10); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(66, 13); this.label6.TabIndex = 8; this.label6.Text = "ส่ง 1"; this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label5 // this.label5.Location = new System.Drawing.Point(82, 10); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(66, 13); this.label5.TabIndex = 7; this.label5.Text = "ปลีก"; this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // txtPercent2 // this.txtPercent2.Font = new System.Drawing.Font("Arial", 9.75F); this.txtPercent2.Location = new System.Drawing.Point(226, 84); this.txtPercent2.Name = "txtPercent2"; this.txtPercent2.ReadOnly = true; this.txtPercent2.Size = new System.Drawing.Size(66, 22); this.txtPercent2.TabIndex = 6; this.txtPercent2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // txtPercent1 // this.txtPercent1.Font = new System.Drawing.Font("Arial", 9.75F); this.txtPercent1.Location = new System.Drawing.Point(154, 84); this.txtPercent1.Name = "txtPercent1"; this.txtPercent1.ReadOnly = true; this.txtPercent1.Size = new System.Drawing.Size(66, 22); this.txtPercent1.TabIndex = 5; this.txtPercent1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // txtPrice2 // this.txtPrice2.Font = new System.Drawing.Font("Arial", 9.75F); this.txtPrice2.Location = new System.Drawing.Point(226, 26); this.txtPrice2.Name = "txtPrice2"; this.txtPrice2.ReadOnly = true; this.txtPrice2.Size = new System.Drawing.Size(66, 22); this.txtPrice2.TabIndex = 6; this.txtPrice2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // txtPercent // this.txtPercent.Font = new System.Drawing.Font("Arial", 9.75F); this.txtPercent.Location = new System.Drawing.Point(82, 84); this.txtPercent.Name = "txtPercent"; this.txtPercent.ReadOnly = true; this.txtPercent.Size = new System.Drawing.Size(66, 22); this.txtPercent.TabIndex = 4; this.txtPercent.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // txtPrice1 // this.txtPrice1.Font = new System.Drawing.Font("Arial", 9.75F); this.txtPrice1.Location = new System.Drawing.Point(154, 26); this.txtPrice1.Name = "txtPrice1"; this.txtPrice1.ReadOnly = true; this.txtPrice1.Size = new System.Drawing.Size(66, 22); this.txtPrice1.TabIndex = 5; this.txtPrice1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // txtPrice // this.txtPrice.Font = new System.Drawing.Font("Arial", 9.75F); this.txtPrice.Location = new System.Drawing.Point(82, 26); this.txtPrice.Name = "txtPrice"; this.txtPrice.ReadOnly = true; this.txtPrice.Size = new System.Drawing.Size(66, 22); this.txtPrice.TabIndex = 4; this.txtPrice.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // nudPrice2 // this.nudPrice2.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.nudPrice2.Location = new System.Drawing.Point(226, 54); this.nudPrice2.Maximum = new decimal(new int[] { 99999999, 0, 0, 0}); this.nudPrice2.Name = "nudPrice2"; this.nudPrice2.Size = new System.Drawing.Size(66, 22); this.nudPrice2.TabIndex = 3; this.nudPrice2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.nudPrice2.ThousandsSeparator = true; this.nudPrice2.ValueChanged += new System.EventHandler(this.nudPrice2_ValueChanged); // // nudPrice1 // this.nudPrice1.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.nudPrice1.Location = new System.Drawing.Point(154, 54); this.nudPrice1.Maximum = new decimal(new int[] { 99999999, 0, 0, 0}); this.nudPrice1.Name = "nudPrice1"; this.nudPrice1.Size = new System.Drawing.Size(66, 22); this.nudPrice1.TabIndex = 2; this.nudPrice1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.nudPrice1.ThousandsSeparator = true; this.nudPrice1.ValueChanged += new System.EventHandler(this.nudPrice1_ValueChanged); // // nudPrice // this.nudPrice.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.nudPrice.Location = new System.Drawing.Point(82, 54); this.nudPrice.Maximum = new decimal(new int[] { 99999999, 0, 0, 0}); this.nudPrice.Name = "nudPrice"; this.nudPrice.Size = new System.Drawing.Size(66, 22); this.nudPrice.TabIndex = 1; this.nudPrice.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.nudPrice.ThousandsSeparator = true; this.nudPrice.ValueChanged += new System.EventHandler(this.nudPrice_ValueChanged); // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(8, 29); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(68, 13); this.label4.TabIndex = 0; this.label4.Text = "ราคาหน้าเว็บ"; // // panel2 // this.panel2.Dock = System.Windows.Forms.DockStyle.Left; this.panel2.Location = new System.Drawing.Point(124, 5); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(5, 119); this.panel2.TabIndex = 9; // // ptbProduct // this.ptbProduct.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.ptbProduct.Dock = System.Windows.Forms.DockStyle.Left; this.ptbProduct.ImageLocation = ""; this.ptbProduct.Location = new System.Drawing.Point(5, 5); this.ptbProduct.Name = "ptbProduct"; this.ptbProduct.Size = new System.Drawing.Size(119, 119); this.ptbProduct.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.ptbProduct.TabIndex = 8; this.ptbProduct.TabStop = false; // // columnModel1 // this.columnModel1.Columns.AddRange(new XPTable.Models.Column[] { this.clNo, this.clSku, this.clName, this.clQty, this.clCategory, this.clBrand, this.clWarranty, this.clCost, this.clPrice, this.clPrice1, this.clPrice2, this.clPrice3, this.clPrice4, this.clWebPrice, this.clWebPrice1, this.clWebPrice2, this.clWebPrice3, this.clWebPrice4}); // // clNo // this.clNo.Alignment = XPTable.Models.ColumnAlignment.Center; this.clNo.Editable = false; this.clNo.IsTextTrimmed = false; this.clNo.Resizable = false; this.clNo.Sortable = false; this.clNo.Text = "ที่"; this.clNo.Width = 35; // // clSku // this.clSku.Alignment = XPTable.Models.ColumnAlignment.Center; this.clSku.Editable = false; this.clSku.IsTextTrimmed = false; this.clSku.Text = "รหัสสินค้า"; // // clName // this.clName.Editable = false; this.clName.IsTextTrimmed = false; this.clName.Text = "ชื่อสินค้า"; this.clName.Width = 400; // // clQty // this.clQty.Alignment = XPTable.Models.ColumnAlignment.Center; this.clQty.Editable = false; this.clQty.Format = "#,##0"; this.clQty.IsTextTrimmed = false; this.clQty.Text = "จำนวน"; this.clQty.Width = 65; // // clCategory // this.clCategory.Editable = false; this.clCategory.IsTextTrimmed = false; this.clCategory.Text = "หมวดหมู่"; this.clCategory.Width = 150; // // clBrand // this.clBrand.Editable = false; this.clBrand.IsTextTrimmed = false; this.clBrand.Text = "ยี่ห้อ"; // // clWarranty // this.clWarranty.Alignment = XPTable.Models.ColumnAlignment.Center; this.clWarranty.Editable = false; this.clWarranty.IsTextTrimmed = false; this.clWarranty.Text = "ประกัน"; this.clWarranty.Width = 65; // // clCost // this.clCost.Alignment = XPTable.Models.ColumnAlignment.Right; this.clCost.Editable = false; this.clCost.Format = "#,##0.00"; this.clCost.IsTextTrimmed = false; this.clCost.Text = "ทุน"; this.clCost.Width = 60; // // clPrice // this.clPrice.Alignment = XPTable.Models.ColumnAlignment.Right; this.clPrice.Editable = false; this.clPrice.Format = "#,###"; this.clPrice.IsTextTrimmed = false; this.clPrice.Text = "ราคาปลีก"; // // clPrice1 // this.clPrice1.Alignment = XPTable.Models.ColumnAlignment.Right; this.clPrice1.Editable = false; this.clPrice1.Format = "#,###"; this.clPrice1.IsTextTrimmed = false; this.clPrice1.Text = "ราคาส่ง"; // // clPrice2 // this.clPrice2.Alignment = XPTable.Models.ColumnAlignment.Right; this.clPrice2.Editable = false; this.clPrice2.Format = "#,###"; this.clPrice2.IsTextTrimmed = false; this.clPrice2.Text = "ราคาส่ง 2"; this.clPrice2.Visible = false; // // clPrice3 // this.clPrice3.Alignment = XPTable.Models.ColumnAlignment.Right; this.clPrice3.Format = "#,###"; this.clPrice3.IsTextTrimmed = false; this.clPrice3.Text = "ราคาส่ง 3"; this.clPrice3.Visible = false; // // clPrice4 // this.clPrice4.Alignment = XPTable.Models.ColumnAlignment.Right; this.clPrice4.Format = "#,###"; this.clPrice4.IsTextTrimmed = false; this.clPrice4.Text = "ราคาส่ง 4"; this.clPrice4.Visible = false; // // clWebPrice // this.clWebPrice.IsTextTrimmed = false; this.clWebPrice.Visible = false; // // clWebPrice1 // this.clWebPrice1.IsTextTrimmed = false; this.clWebPrice1.Visible = false; // // clWebPrice2 // this.clWebPrice2.AutoResizeMode = XPTable.Models.ColumnAutoResizeMode.Shrink; this.clWebPrice2.IsTextTrimmed = false; this.clWebPrice2.Visible = false; // // clWebPrice3 // this.clWebPrice3.IsTextTrimmed = false; this.clWebPrice3.Visible = false; // // clWebPrice4 // this.clWebPrice4.IsTextTrimmed = false; this.clWebPrice4.Visible = false; // // table1 // this.table1.BorderColor = System.Drawing.Color.Black; this.table1.ColumnModel = this.columnModel1; this.table1.DataMember = null; this.table1.DataSourceColumnBinder = dataSourceColumnBinder1; this.table1.Dock = System.Windows.Forms.DockStyle.Fill; dragDropRenderer1.ForeColor = System.Drawing.Color.Red; this.table1.DragDropRenderer = dragDropRenderer1; this.table1.EnableHeaderContextMenu = false; this.table1.FullRowSelect = true; this.table1.GridLines = XPTable.Models.GridLines.Both; this.table1.GridLinesContrainedToData = false; this.table1.Location = new System.Drawing.Point(247, 168); this.table1.Name = "table1"; this.table1.NoItemsText = ""; this.table1.SelectionStyle = XPTable.Models.SelectionStyle.Grid; this.table1.Size = new System.Drawing.Size(777, 506); this.table1.TabIndex = 10; this.table1.TableModel = this.tableModel1; this.table1.Text = "table1"; this.table1.UnfocusedBorderColor = System.Drawing.Color.Black; this.table1.EndSort += new XPTable.Events.ColumnEventHandler(this.table1_EndSort); this.table1.SelectionChanged += new XPTable.Events.SelectionEventHandler(this.table1_SelectionChanged); // // UcProduct // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.table1); this.Controls.Add(this.pnlPrice); this.Controls.Add(this.panel3); this.Controls.Add(this.panel1); this.Name = "UcProduct"; this.Size = new System.Drawing.Size(1024, 674); this.Load += new System.EventHandler(this.UcProduct_Load); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.panel3.ResumeLayout(false); this.panel5.ResumeLayout(false); this.gbOrderNo.ResumeLayout(false); this.gbOrderNo.PerformLayout(); this.pnlPrice.ResumeLayout(false); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.nudPrice4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.nudPrice3)).EndInit(); this.panel4.ResumeLayout(false); this.panel4.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.nudPrice2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.nudPrice1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.nudPrice)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ptbProduct)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.table1)).EndInit(); this.ResumeLayout(false); }
/// <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(); XPTable.Models.DataSourceColumnBinder dataSourceColumnBinder1 = new XPTable.Models.DataSourceColumnBinder(); XPTable.Renderers.DragDropRenderer dragDropRenderer1 = new XPTable.Renderers.DragDropRenderer(); XPTable.Models.DataSourceColumnBinder dataSourceColumnBinder2 = new XPTable.Models.DataSourceColumnBinder(); XPTable.Renderers.DragDropRenderer dragDropRenderer2 = new XPTable.Renderers.DragDropRenderer(); XPTable.Models.DataSourceColumnBinder dataSourceColumnBinder3 = new XPTable.Models.DataSourceColumnBinder(); XPTable.Renderers.DragDropRenderer dragDropRenderer3 = new XPTable.Renderers.DragDropRenderer(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); this.tabMain = new System.Windows.Forms.TabControl(); this.pageSource = new System.Windows.Forms.TabPage(); this.btnReload = new System.Windows.Forms.Button(); this.listSources = new System.Windows.Forms.ListView(); this.colURL = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.colPackages = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.btnEdit = new System.Windows.Forms.Button(); this.btnDelete = new System.Windows.Forms.Button(); this.btnAdd = new System.Windows.Forms.Button(); this.pagePackages = new System.Windows.Forms.TabPage(); this.splitContainer1 = new System.Windows.Forms.SplitContainer(); this.tablePackages = new XPTable.Models.Table(); this.webBrowser1 = new System.Windows.Forms.WebBrowser(); this.btnSearch = new System.Windows.Forms.Button(); this.txtSearch = new System.Windows.Forms.TextBox(); this.pageQueue = new System.Windows.Forms.TabPage(); this.tableQueue = new XPTable.Models.Table(); this.pageChanges = new System.Windows.Forms.TabPage(); this.tableChanges = new XPTable.Models.Table(); this.trackBarZoom = new System.Windows.Forms.TrackBar(); this.statusStrip = new System.Windows.Forms.StatusStrip(); this.statusBarProgressbar = new System.Windows.Forms.ToolStripProgressBar(); this.statusLabelDownload = new System.Windows.Forms.ToolStripStatusLabel(); this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel(); this.statusLabelZoom = new System.Windows.Forms.ToolStripStatusLabel(); this.contextMenuQueue = new System.Windows.Forms.ContextMenuStrip(this.components); this.deleteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.openFolderToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripDropDownButton1 = new System.Windows.Forms.ToolStripDropDownButton(); this.tabMain.SuspendLayout(); this.pageSource.SuspendLayout(); this.pagePackages.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout(); this.splitContainer1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.tablePackages)).BeginInit(); this.pageQueue.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.tableQueue)).BeginInit(); this.pageChanges.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.tableChanges)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.trackBarZoom)).BeginInit(); this.statusStrip.SuspendLayout(); this.contextMenuQueue.SuspendLayout(); this.SuspendLayout(); // // tabMain // this.tabMain.Controls.Add(this.pageSource); this.tabMain.Controls.Add(this.pagePackages); this.tabMain.Controls.Add(this.pageQueue); this.tabMain.Controls.Add(this.pageChanges); this.tabMain.Dock = System.Windows.Forms.DockStyle.Fill; this.tabMain.Location = new System.Drawing.Point(0, 0); this.tabMain.Name = "tabMain"; this.tabMain.SelectedIndex = 0; this.tabMain.Size = new System.Drawing.Size(500, 348); this.tabMain.TabIndex = 0; this.tabMain.SelectedIndexChanged += new System.EventHandler(this.tabMain_SelectedIndexChanged); // // pageSource // this.pageSource.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(254)))), ((int)(((byte)(254))))); this.pageSource.Controls.Add(this.btnReload); this.pageSource.Controls.Add(this.listSources); this.pageSource.Controls.Add(this.btnEdit); this.pageSource.Controls.Add(this.btnDelete); this.pageSource.Controls.Add(this.btnAdd); this.pageSource.Location = new System.Drawing.Point(4, 22); this.pageSource.Name = "pageSource"; this.pageSource.Padding = new System.Windows.Forms.Padding(3); this.pageSource.Size = new System.Drawing.Size(492, 322); this.pageSource.TabIndex = 0; this.pageSource.Text = "Sources"; // // btnReload // this.btnReload.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnReload.Location = new System.Drawing.Point(411, 93); this.btnReload.Name = "btnReload"; this.btnReload.Size = new System.Drawing.Size(75, 23); this.btnReload.TabIndex = 4; this.btnReload.Text = "&Reload"; this.btnReload.UseVisualStyleBackColor = true; this.btnReload.Click += new System.EventHandler(this.btnReload_Click); // // listSources // this.listSources.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.listSources.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.colURL, this.colPackages }); this.listSources.FullRowSelect = true; this.listSources.GridLines = true; this.listSources.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; this.listSources.Location = new System.Drawing.Point(8, 6); this.listSources.MultiSelect = false; this.listSources.Name = "listSources"; this.listSources.Size = new System.Drawing.Size(399, 283); this.listSources.TabIndex = 0; this.listSources.UseCompatibleStateImageBehavior = false; this.listSources.View = System.Windows.Forms.View.Details; this.listSources.KeyDown += new System.Windows.Forms.KeyEventHandler(this.listSources_KeyDown); // // colURL // this.colURL.Text = "URL"; this.colURL.Width = 185; // // colPackages // this.colPackages.Text = "Number of Packages"; this.colPackages.Width = 112; // // btnEdit // this.btnEdit.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnEdit.Location = new System.Drawing.Point(411, 64); this.btnEdit.Name = "btnEdit"; this.btnEdit.Size = new System.Drawing.Size(75, 23); this.btnEdit.TabIndex = 3; this.btnEdit.Text = "&Edit"; this.btnEdit.UseVisualStyleBackColor = true; this.btnEdit.Click += new System.EventHandler(this.btnEdit_Click); // // btnDelete // this.btnDelete.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnDelete.Location = new System.Drawing.Point(411, 35); this.btnDelete.Name = "btnDelete"; this.btnDelete.Size = new System.Drawing.Size(75, 23); this.btnDelete.TabIndex = 2; this.btnDelete.Text = "&Delete"; this.btnDelete.UseVisualStyleBackColor = true; this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click); // // btnAdd // this.btnAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnAdd.Location = new System.Drawing.Point(411, 6); this.btnAdd.Name = "btnAdd"; this.btnAdd.Size = new System.Drawing.Size(75, 23); this.btnAdd.TabIndex = 1; this.btnAdd.Text = "&Add"; this.btnAdd.UseVisualStyleBackColor = true; this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click); // // pagePackages // this.pagePackages.Controls.Add(this.splitContainer1); this.pagePackages.Controls.Add(this.btnSearch); this.pagePackages.Controls.Add(this.txtSearch); this.pagePackages.Location = new System.Drawing.Point(4, 22); this.pagePackages.Name = "pagePackages"; this.pagePackages.Padding = new System.Windows.Forms.Padding(3); this.pagePackages.Size = new System.Drawing.Size(492, 322); this.pagePackages.TabIndex = 1; this.pagePackages.Text = "Packages"; this.pagePackages.UseVisualStyleBackColor = true; // // splitContainer1 // this.splitContainer1.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.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel2; this.splitContainer1.Location = new System.Drawing.Point(8, 32); this.splitContainer1.Name = "splitContainer1"; // // splitContainer1.Panel1 // this.splitContainer1.Panel1.Controls.Add(this.tablePackages); // // splitContainer1.Panel2 // this.splitContainer1.Panel2.Controls.Add(this.webBrowser1); this.splitContainer1.Size = new System.Drawing.Size(473, 255); this.splitContainer1.SplitterDistance = 227; this.splitContainer1.TabIndex = 4; this.splitContainer1.SplitterMoved += new System.Windows.Forms.SplitterEventHandler(this.splitContainer1_SplitterMoved); // // tablePackages // this.tablePackages.BorderColor = System.Drawing.Color.Black; this.tablePackages.ColumnResizing = false; this.tablePackages.DataMember = null; this.tablePackages.DataSourceColumnBinder = dataSourceColumnBinder1; this.tablePackages.Dock = System.Windows.Forms.DockStyle.Fill; dragDropRenderer1.ForeColor = System.Drawing.Color.Red; this.tablePackages.DragDropRenderer = dragDropRenderer1; this.tablePackages.FamilyRowSelect = true; this.tablePackages.FullRowSelect = true; this.tablePackages.GridLinesContrainedToData = false; this.tablePackages.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None; this.tablePackages.Location = new System.Drawing.Point(0, 0); this.tablePackages.Name = "tablePackages"; this.tablePackages.NoItemsText = ""; this.tablePackages.ShowSelectionRectangle = false; this.tablePackages.Size = new System.Drawing.Size(227, 255); this.tablePackages.TabIndex = 0; this.tablePackages.UnfocusedBorderColor = System.Drawing.Color.Black; this.tablePackages.SelectionChanged += new XPTable.Events.SelectionEventHandler(this.listPackages_SelectionChanged); // // webBrowser1 // this.webBrowser1.Dock = System.Windows.Forms.DockStyle.Fill; this.webBrowser1.Location = new System.Drawing.Point(0, 0); this.webBrowser1.MinimumSize = new System.Drawing.Size(20, 20); this.webBrowser1.Name = "webBrowser1"; this.webBrowser1.ScriptErrorsSuppressed = true; this.webBrowser1.ScrollBarsEnabled = false; this.webBrowser1.Size = new System.Drawing.Size(242, 255); this.webBrowser1.TabIndex = 0; this.webBrowser1.NewWindow += new System.ComponentModel.CancelEventHandler(this.webBrowser1_NewWindow); // // btnSearch // this.btnSearch.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnSearch.Location = new System.Drawing.Point(404, 4); this.btnSearch.Name = "btnSearch"; this.btnSearch.Size = new System.Drawing.Size(77, 24); this.btnSearch.TabIndex = 3; this.btnSearch.Text = "&Search"; this.btnSearch.UseVisualStyleBackColor = true; this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click); // // txtSearch // this.txtSearch.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.txtSearch.Location = new System.Drawing.Point(8, 6); this.txtSearch.Name = "txtSearch"; this.txtSearch.Size = new System.Drawing.Size(392, 20); this.txtSearch.TabIndex = 2; this.txtSearch.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtSearch_KeyDown); // // pageQueue // this.pageQueue.Controls.Add(this.tableQueue); this.pageQueue.Location = new System.Drawing.Point(4, 22); this.pageQueue.Name = "pageQueue"; this.pageQueue.Size = new System.Drawing.Size(492, 322); this.pageQueue.TabIndex = 3; this.pageQueue.Text = "Queue"; this.pageQueue.UseVisualStyleBackColor = true; // // tableQueue // this.tableQueue.AllowRMBSelection = true; this.tableQueue.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.tableQueue.BorderColor = System.Drawing.Color.Black; this.tableQueue.ColumnResizing = false; this.tableQueue.DataMember = null; this.tableQueue.DataSourceColumnBinder = dataSourceColumnBinder2; dragDropRenderer2.ForeColor = System.Drawing.Color.Red; this.tableQueue.DragDropRenderer = dragDropRenderer2; this.tableQueue.EnableHeaderContextMenu = false; this.tableQueue.FamilyRowSelect = true; this.tableQueue.FullRowSelect = true; this.tableQueue.GridLinesContrainedToData = false; this.tableQueue.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None; this.tableQueue.Location = new System.Drawing.Point(8, 6); this.tableQueue.Name = "tableQueue"; this.tableQueue.NoItemsText = "Queue is empty..."; this.tableQueue.ShowSelectionRectangle = false; this.tableQueue.Size = new System.Drawing.Size(473, 281); this.tableQueue.TabIndex = 1; this.tableQueue.UnfocusedBorderColor = System.Drawing.Color.Black; this.tableQueue.MouseDown += new System.Windows.Forms.MouseEventHandler(this.tableQueue_MouseDown); // // pageChanges // this.pageChanges.Controls.Add(this.tableChanges); this.pageChanges.Location = new System.Drawing.Point(4, 22); this.pageChanges.Name = "pageChanges"; this.pageChanges.Padding = new System.Windows.Forms.Padding(3); this.pageChanges.Size = new System.Drawing.Size(492, 322); this.pageChanges.TabIndex = 2; this.pageChanges.Text = "Changes"; this.pageChanges.UseVisualStyleBackColor = true; // // tableChanges // this.tableChanges.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.tableChanges.BorderColor = System.Drawing.Color.Black; this.tableChanges.ColumnResizing = false; this.tableChanges.DataMember = null; this.tableChanges.DataSourceColumnBinder = dataSourceColumnBinder3; dragDropRenderer3.ForeColor = System.Drawing.Color.Red; this.tableChanges.DragDropRenderer = dragDropRenderer3; this.tableChanges.FamilyRowSelect = true; this.tableChanges.FullRowSelect = true; this.tableChanges.GridLinesContrainedToData = false; this.tableChanges.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None; this.tableChanges.Location = new System.Drawing.Point(8, 6); this.tableChanges.Name = "tableChanges"; this.tableChanges.NoItemsText = "No changes found..."; this.tableChanges.ShowSelectionRectangle = false; this.tableChanges.Size = new System.Drawing.Size(473, 281); this.tableChanges.TabIndex = 1; this.tableChanges.UnfocusedBorderColor = System.Drawing.Color.Black; // // trackBarZoom // this.trackBarZoom.AutoSize = false; this.trackBarZoom.LargeChange = 2; this.trackBarZoom.Location = new System.Drawing.Point(399, 2); this.trackBarZoom.Maximum = 12; this.trackBarZoom.Minimum = 1; this.trackBarZoom.Name = "trackBarZoom"; this.trackBarZoom.Size = new System.Drawing.Size(87, 25); this.trackBarZoom.TabIndex = 6; this.trackBarZoom.Value = 10; this.trackBarZoom.Scroll += new System.EventHandler(this.trackBarZoom_Scroll); // // statusStrip // this.statusStrip.AutoSize = false; this.statusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.statusBarProgressbar, this.statusLabelDownload, this.toolStripStatusLabel1, this.statusLabelZoom }); this.statusStrip.Location = new System.Drawing.Point(0, 322); this.statusStrip.Name = "statusStrip"; this.statusStrip.Size = new System.Drawing.Size(500, 26); this.statusStrip.TabIndex = 1; // // statusBarProgressbar // this.statusBarProgressbar.Name = "statusBarProgressbar"; this.statusBarProgressbar.Size = new System.Drawing.Size(100, 20); this.statusBarProgressbar.Visible = false; // // statusLabelDownload // this.statusLabelDownload.Name = "statusLabelDownload"; this.statusLabelDownload.Size = new System.Drawing.Size(111, 21); this.statusLabelDownload.Text = "{0}% Complete ({1})"; this.statusLabelDownload.Visible = false; // // toolStripStatusLabel1 // this.toolStripStatusLabel1.Name = "toolStripStatusLabel1"; this.toolStripStatusLabel1.Size = new System.Drawing.Size(416, 21); this.toolStripStatusLabel1.Spring = true; // // statusLabelZoom // this.statusLabelZoom.Name = "statusLabelZoom"; this.statusLabelZoom.Size = new System.Drawing.Size(69, 21); this.statusLabelZoom.Text = "Zoom: {0}%"; // // contextMenuQueue // this.contextMenuQueue.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.deleteToolStripMenuItem, this.openFolderToolStripMenuItem }); this.contextMenuQueue.Name = "contextMenuQueue"; this.contextMenuQueue.Size = new System.Drawing.Size(198, 48); // // deleteToolStripMenuItem // this.deleteToolStripMenuItem.Name = "deleteToolStripMenuItem"; this.deleteToolStripMenuItem.Size = new System.Drawing.Size(197, 22); this.deleteToolStripMenuItem.Text = "Delete"; this.deleteToolStripMenuItem.Click += new System.EventHandler(this.deleteToolStripMenuItem_Click); // // openFolderToolStripMenuItem // this.openFolderToolStripMenuItem.Name = "openFolderToolStripMenuItem"; this.openFolderToolStripMenuItem.Size = new System.Drawing.Size(197, 22); this.openFolderToolStripMenuItem.Text = "Open containing folder"; this.openFolderToolStripMenuItem.Click += new System.EventHandler(this.openFolderToolStripMenuItem_Click); // // toolStripDropDownButton1 // this.toolStripDropDownButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.toolStripDropDownButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripDropDownButton1.Image"))); this.toolStripDropDownButton1.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripDropDownButton1.Name = "toolStripDropDownButton1"; this.toolStripDropDownButton1.Size = new System.Drawing.Size(29, 20); this.toolStripDropDownButton1.Text = "toolStripDropDownButton1"; // // MainForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(500, 348); this.Controls.Add(this.statusStrip); this.Controls.Add(this.tabMain); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "MainForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Cygnus"; this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.MainForm_FormClosed); this.Load += new System.EventHandler(this.MainForm_Load); this.Resize += new System.EventHandler(this.MainForm_Resize); this.tabMain.ResumeLayout(false); this.pageSource.ResumeLayout(false); this.pagePackages.ResumeLayout(false); this.pagePackages.PerformLayout(); this.splitContainer1.Panel1.ResumeLayout(false); this.splitContainer1.Panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit(); this.splitContainer1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.tablePackages)).EndInit(); this.pageQueue.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.tableQueue)).EndInit(); this.pageChanges.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.tableChanges)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.trackBarZoom)).EndInit(); this.statusStrip.ResumeLayout(false); this.statusStrip.PerformLayout(); this.contextMenuQueue.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { XPTable.Models.DataSourceColumnBinder dataSourceColumnBinder1 = new XPTable.Models.DataSourceColumnBinder(); XPTable.Renderers.DragDropRenderer dragDropRenderer1 = new XPTable.Renderers.DragDropRenderer(); this.tableModel1 = new XPTable.Models.TableModel(); this.clReceived = new XPTable.Models.TextColumn(); this.clQty = new XPTable.Models.TextColumn(); this.clName = new XPTable.Models.TextColumn(); this.clSku = new XPTable.Models.TextColumn(); this.clNo = new XPTable.Models.TextColumn(); this.columnModel1 = new XPTable.Models.ColumnModel(); this.clProgress = new XPTable.Models.ProgressBarColumn(); this.table1 = new XPTable.Models.Table(); this.label1 = new System.Windows.Forms.Label(); this.panel1 = new System.Windows.Forms.Panel(); this.label4 = new System.Windows.Forms.Label(); this.lblRecords = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.pnlLeft = new System.Windows.Forms.Panel(); this.panel5 = new System.Windows.Forms.Panel(); this.btnNewCount = new System.Windows.Forms.Button(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.cbbPrintType = new System.Windows.Forms.ComboBox(); this.btnPrint = new System.Windows.Forms.Button(); this.pnlBarcode = new System.Windows.Forms.Panel(); this.ptbProduct = new System.Windows.Forms.PictureBox(); this.txtBarcode = new System.Windows.Forms.TextBox(); this.label2 = new System.Windows.Forms.Label(); this.lblStatus = new System.Windows.Forms.Label(); this.gbCategory = new System.Windows.Forms.GroupBox(); this.progressBar1 = new System.Windows.Forms.ProgressBar(); this.bwDownloadImage = new System.ComponentModel.BackgroundWorker(); this.bwGetProduct = new System.ComponentModel.BackgroundWorker(); ((System.ComponentModel.ISupportInitialize)(this.table1)).BeginInit(); this.panel1.SuspendLayout(); this.pnlLeft.SuspendLayout(); this.panel5.SuspendLayout(); this.groupBox1.SuspendLayout(); this.pnlBarcode.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.ptbProduct)).BeginInit(); this.gbCategory.SuspendLayout(); this.SuspendLayout(); // // clReceived // this.clReceived.Alignment = XPTable.Models.ColumnAlignment.Center; this.clReceived.Editable = false; this.clReceived.IsTextTrimmed = false; this.clReceived.Text = "ตรวจสอบแล้ว"; this.clReceived.Width = 90; // // clQty // this.clQty.Alignment = XPTable.Models.ColumnAlignment.Center; this.clQty.Editable = false; this.clQty.IsTextTrimmed = false; this.clQty.Text = "จำนวน"; this.clQty.Width = 70; // // clName // this.clName.Editable = false; this.clName.IsTextTrimmed = false; this.clName.Text = "ชื่อสินค้า"; this.clName.Width = 450; // // clSku // this.clSku.Alignment = XPTable.Models.ColumnAlignment.Center; this.clSku.Editable = false; this.clSku.IsTextTrimmed = false; this.clSku.Text = "รหัสสินค้า"; this.clSku.Width = 80; // // clNo // this.clNo.Alignment = XPTable.Models.ColumnAlignment.Center; this.clNo.Editable = false; this.clNo.IsTextTrimmed = false; this.clNo.Resizable = false; this.clNo.Selectable = false; this.clNo.Text = "ที่"; this.clNo.Width = 40; // // columnModel1 // this.columnModel1.Columns.AddRange(new XPTable.Models.Column[] { this.clNo, this.clSku, this.clName, this.clQty, this.clReceived, this.clProgress }); // // clProgress // this.clProgress.Alignment = XPTable.Models.ColumnAlignment.Center; this.clProgress.IsTextTrimmed = false; this.clProgress.Resizable = false; this.clProgress.Width = 100; // // table1 // this.table1.BorderColor = System.Drawing.Color.Black; this.table1.ColumnModel = this.columnModel1; this.table1.DataMember = null; this.table1.DataSourceColumnBinder = dataSourceColumnBinder1; this.table1.Dock = System.Windows.Forms.DockStyle.Fill; dragDropRenderer1.ForeColor = System.Drawing.Color.Red; this.table1.DragDropRenderer = dragDropRenderer1; this.table1.EnableHeaderContextMenu = false; this.table1.FullRowSelect = true; this.table1.GridLines = XPTable.Models.GridLines.Both; this.table1.GridLinesContrainedToData = false; this.table1.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; this.table1.Location = new System.Drawing.Point(247, 39); this.table1.Name = "table1"; this.table1.NoItemsText = ""; this.table1.SelectionStyle = XPTable.Models.SelectionStyle.Grid; this.table1.Size = new System.Drawing.Size(752, 709); this.table1.TabIndex = 10; this.table1.TableModel = this.tableModel1; this.table1.Text = "table1"; this.table1.UnfocusedBorderColor = System.Drawing.Color.Black; this.table1.CellClick += new XPTable.Events.CellMouseEventHandler(this.table1_CellClick); this.table1.CellDoubleClick += new XPTable.Events.CellMouseEventHandler(this.table1_CellDoubleClick); // // label1 // this.label1.AutoSize = true; this.label1.Dock = System.Windows.Forms.DockStyle.Fill; this.label1.Font = new System.Drawing.Font("DilleniaUPC", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.ForeColor = System.Drawing.Color.White; this.label1.Location = new System.Drawing.Point(0, 0); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(168, 38); this.label1.TabIndex = 0; this.label1.Text = "ตรวจสอบสต็อกสินค้า"; // // panel1 // this.panel1.BackColor = System.Drawing.Color.DimGray; this.panel1.Controls.Add(this.label4); this.panel1.Controls.Add(this.lblRecords); this.panel1.Controls.Add(this.label1); this.panel1.Controls.Add(this.label3); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(999, 39); this.panel1.TabIndex = 8; // // label4 // this.label4.AutoSize = true; this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F); this.label4.ForeColor = System.Drawing.Color.White; this.label4.Location = new System.Drawing.Point(317, 13); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(42, 16); this.label4.TabIndex = 13; this.label4.Text = "รายการ"; this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // lblRecords // this.lblRecords.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.lblRecords.ForeColor = System.Drawing.Color.White; this.lblRecords.Location = new System.Drawing.Point(269, 13); this.lblRecords.Name = "lblRecords"; this.lblRecords.Size = new System.Drawing.Size(42, 16); this.lblRecords.TabIndex = 12; this.lblRecords.Text = "0"; this.lblRecords.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label3 // this.label3.AutoSize = true; this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F); this.label3.ForeColor = System.Drawing.Color.White; this.label3.Location = new System.Drawing.Point(174, 13); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(99, 16); this.label3.TabIndex = 11; this.label3.Text = "ค้นพบข้อมูลทั้งหมด"; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // pnlLeft // this.pnlLeft.Controls.Add(this.panel5); this.pnlLeft.Controls.Add(this.pnlBarcode); this.pnlLeft.Controls.Add(this.gbCategory); this.pnlLeft.Dock = System.Windows.Forms.DockStyle.Left; this.pnlLeft.Location = new System.Drawing.Point(0, 39); this.pnlLeft.Name = "pnlLeft"; this.pnlLeft.Padding = new System.Windows.Forms.Padding(7, 10, 7, 0); this.pnlLeft.Size = new System.Drawing.Size(247, 709); this.pnlLeft.TabIndex = 11; // // panel5 // this.panel5.Controls.Add(this.btnNewCount); this.panel5.Controls.Add(this.groupBox1); this.panel5.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel5.Location = new System.Drawing.Point(7, 590); this.panel5.Name = "panel5"; this.panel5.Size = new System.Drawing.Size(233, 119); this.panel5.TabIndex = 7; // // btnNewCount // this.btnNewCount.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.btnNewCount.Location = new System.Drawing.Point(14, 3); this.btnNewCount.Name = "btnNewCount"; this.btnNewCount.Size = new System.Drawing.Size(200, 33); this.btnNewCount.TabIndex = 0; this.btnNewCount.Text = "เริ่มต้นนับสต็อกสินค้าใหม่"; this.btnNewCount.UseVisualStyleBackColor = true; this.btnNewCount.Visible = false; this.btnNewCount.Click += new System.EventHandler(this.btnNewCount_Click); // // groupBox1 // this.groupBox1.Controls.Add(this.cbbPrintType); this.groupBox1.Controls.Add(this.btnPrint); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Bottom; this.groupBox1.Location = new System.Drawing.Point(0, 36); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(233, 83); this.groupBox1.TabIndex = 2; this.groupBox1.TabStop = false; // // cbbPrintType // this.cbbPrintType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbbPrintType.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.cbbPrintType.FormattingEnabled = true; this.cbbPrintType.Items.AddRange(new object[] { "เลือกประเภทการพิมพ์", "พิมพ์รายงานสรุป", "พิมพ์รายงานทั้งหมด", "พิมพ์รายงานที่ครบ", "พิมพ์รายงานที่ไม่ครบ" }); this.cbbPrintType.Location = new System.Drawing.Point(34, 15); this.cbbPrintType.Name = "cbbPrintType"; this.cbbPrintType.Size = new System.Drawing.Size(160, 24); this.cbbPrintType.TabIndex = 1; // // btnPrint // this.btnPrint.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222))); this.btnPrint.Location = new System.Drawing.Point(56, 46); this.btnPrint.Name = "btnPrint"; this.btnPrint.Size = new System.Drawing.Size(120, 31); this.btnPrint.TabIndex = 0; this.btnPrint.Text = "พิมพ์สต็อกสินค้า"; this.btnPrint.UseVisualStyleBackColor = true; this.btnPrint.Click += new System.EventHandler(this.btnPrint_Click); // // pnlBarcode // this.pnlBarcode.Controls.Add(this.ptbProduct); this.pnlBarcode.Controls.Add(this.txtBarcode); this.pnlBarcode.Controls.Add(this.label2); this.pnlBarcode.Controls.Add(this.lblStatus); this.pnlBarcode.Dock = System.Windows.Forms.DockStyle.Top; this.pnlBarcode.Location = new System.Drawing.Point(7, 58); this.pnlBarcode.Name = "pnlBarcode"; this.pnlBarcode.Size = new System.Drawing.Size(233, 321); this.pnlBarcode.TabIndex = 6; // // ptbProduct // this.ptbProduct.Dock = System.Windows.Forms.DockStyle.Bottom; this.ptbProduct.ImageLocation = ""; this.ptbProduct.Location = new System.Drawing.Point(0, 88); this.ptbProduct.Name = "ptbProduct"; this.ptbProduct.Size = new System.Drawing.Size(233, 233); this.ptbProduct.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.ptbProduct.TabIndex = 7; this.ptbProduct.TabStop = false; // // txtBarcode // this.txtBarcode.BackColor = System.Drawing.Color.Azure; this.txtBarcode.Font = new System.Drawing.Font("Arial", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtBarcode.ForeColor = System.Drawing.Color.MidnightBlue; this.txtBarcode.Location = new System.Drawing.Point(14, 24); this.txtBarcode.Name = "txtBarcode"; this.txtBarcode.Size = new System.Drawing.Size(204, 29); this.txtBarcode.TabIndex = 1; this.txtBarcode.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.txtBarcode.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtBarcode_KeyDown); // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(15, 8); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(44, 13); this.label2.TabIndex = 1; this.label2.Text = "บาร์โค้ด"; // // lblStatus // this.lblStatus.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblStatus.ForeColor = System.Drawing.Color.Green; this.lblStatus.Location = new System.Drawing.Point(14, 56); this.lblStatus.Name = "lblStatus"; this.lblStatus.Size = new System.Drawing.Size(204, 23); this.lblStatus.TabIndex = 2; this.lblStatus.Text = "ไม่พบข้อมูลสินค้าชิ้นนี้"; this.lblStatus.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.lblStatus.Visible = false; // // gbCategory // this.gbCategory.Controls.Add(this.progressBar1); this.gbCategory.Dock = System.Windows.Forms.DockStyle.Top; this.gbCategory.Location = new System.Drawing.Point(7, 10); this.gbCategory.Name = "gbCategory"; this.gbCategory.Size = new System.Drawing.Size(233, 48); this.gbCategory.TabIndex = 0; this.gbCategory.TabStop = false; // // progressBar1 // this.progressBar1.Location = new System.Drawing.Point(14, 17); this.progressBar1.Name = "progressBar1"; this.progressBar1.Size = new System.Drawing.Size(204, 23); this.progressBar1.Step = 1; this.progressBar1.TabIndex = 9; // // bwGetProduct // this.bwGetProduct.DoWork += new System.ComponentModel.DoWorkEventHandler(this.bwGetProduct_DoWork); this.bwGetProduct.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.bwGetProduct_RunWorkerCompleted); // // UcStock // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.table1); this.Controls.Add(this.pnlLeft); this.Controls.Add(this.panel1); this.Name = "UcStock"; this.Size = new System.Drawing.Size(999, 748); this.Load += new System.EventHandler(this.UcStock_Load); ((System.ComponentModel.ISupportInitialize)(this.table1)).EndInit(); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.pnlLeft.ResumeLayout(false); this.panel5.ResumeLayout(false); this.groupBox1.ResumeLayout(false); this.pnlBarcode.ResumeLayout(false); this.pnlBarcode.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.ptbProduct)).EndInit(); this.gbCategory.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent( ) { XPTable.Models.DataSourceColumnBinder dataSourceColumnBinder1 = new XPTable.Models.DataSourceColumnBinder(); XPTable.Renderers.DragDropRenderer dragDropRenderer1 = new XPTable.Renderers.DragDropRenderer(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(RegionDescriptionForm)); this.tableRegDescr = new XPTable.Models.Table(); this.columnModelRegDescr = new XPTable.Models.ColumnModel(); this.MPropName = new XPTable.Models.TextColumn(); this.MPropValue = new XPTable.Models.NumberColumn(); this.MPropUnit = new XPTable.Models.ComboBoxColumn(); this.MPropGRADE = new XPTable.Models.TextColumn(); this.MPropDesc = new XPTable.Models.TextColumn(); this.tableModelRegDescr = new XPTable.Models.TableModel(); this.buttonOK = new System.Windows.Forms.Button(); this.buttonCancel = new System.Windows.Forms.Button(); this.labelUnits = new System.Windows.Forms.Label(); this.comboUnits = new System.Windows.Forms.ComboBox(); this.radioKg = new System.Windows.Forms.RadioButton(); this.radioG = new System.Windows.Forms.RadioButton(); this.radioT = new System.Windows.Forms.RadioButton(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.checkDrawText = new System.Windows.Forms.CheckBox(); this.checkDrawDim = new System.Windows.Forms.CheckBox(); this.comboBoxDimensionStyle = new System.Windows.Forms.ComboBox(); ((System.ComponentModel.ISupportInitialize)(this.tableRegDescr)).BeginInit(); this.groupBox1.SuspendLayout(); this.SuspendLayout(); // // tableRegDescr // this.tableRegDescr.BorderColor = System.Drawing.Color.Black; this.tableRegDescr.ColumnModel = this.columnModelRegDescr; this.tableRegDescr.DataMember = null; this.tableRegDescr.DataSourceColumnBinder = dataSourceColumnBinder1; dragDropRenderer1.ForeColor = System.Drawing.Color.Red; this.tableRegDescr.DragDropRenderer = dragDropRenderer1; this.tableRegDescr.Location = new System.Drawing.Point(12, 12); this.tableRegDescr.Name = "tableRegDescr"; this.tableRegDescr.SelectionBackColor = System.Drawing.SystemColors.Control; this.tableRegDescr.Size = new System.Drawing.Size(634, 394); this.tableRegDescr.TabIndex = 0; this.tableRegDescr.TableModel = this.tableModelRegDescr; this.tableRegDescr.Text = "tableRegDescr"; this.tableRegDescr.UnfocusedBorderColor = System.Drawing.Color.Black; this.tableRegDescr.UnfocusedSelectionBackColor = System.Drawing.SystemColors.ActiveBorder; // // columnModelRegDescr // this.columnModelRegDescr.Columns.AddRange(new XPTable.Models.Column[] { this.MPropName, this.MPropValue, this.MPropUnit, this.MPropGRADE, this.MPropDesc }); // // MPropName // this.MPropName.IsTextTrimmed = false; this.MPropName.Text = "Name"; this.MPropName.Width = 100; // // MPropValue // this.MPropValue.Format = ".0000"; this.MPropValue.IsTextTrimmed = false; this.MPropValue.Maximum = new decimal(new int[] { -727379968, 232, 0, 0 }); this.MPropValue.Text = "Value"; this.MPropValue.Width = 250; // // MPropUnit // this.MPropUnit.IsTextTrimmed = false; this.MPropUnit.Text = "Unit"; this.MPropUnit.Width = 100; // // MPropGRADE // this.MPropGRADE.IsTextTrimmed = false; this.MPropGRADE.Text = "Grade"; this.MPropGRADE.Width = 50; // // MPropDesc // this.MPropDesc.IsTextTrimmed = false; this.MPropDesc.Text = "Description"; this.MPropDesc.Width = 125; // // buttonOK // this.buttonOK.Location = new System.Drawing.Point(572, 452); this.buttonOK.Name = "buttonOK"; this.buttonOK.Size = new System.Drawing.Size(75, 23); this.buttonOK.TabIndex = 1; this.buttonOK.Text = "OK"; this.buttonOK.UseVisualStyleBackColor = true; this.buttonOK.Click += new System.EventHandler(this.buttonOK_Click); // // buttonCancel // this.buttonCancel.Location = new System.Drawing.Point(571, 481); this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.Size = new System.Drawing.Size(75, 23); this.buttonCancel.TabIndex = 2; this.buttonCancel.Text = "Cancel"; this.buttonCancel.UseVisualStyleBackColor = true; this.buttonCancel.Click += new System.EventHandler(this.buttonCancel_Click); // // labelUnits // this.labelUnits.AutoSize = true; this.labelUnits.Location = new System.Drawing.Point(13, 419); this.labelUnits.Name = "labelUnits"; this.labelUnits.Size = new System.Drawing.Size(197, 13); this.labelUnits.TabIndex = 3; this.labelUnits.Text = "The drawing units of the current dile are "; // // comboUnits // this.comboUnits.FormattingEnabled = true; this.comboUnits.Location = new System.Drawing.Point(215, 413); this.comboUnits.Name = "comboUnits"; this.comboUnits.Size = new System.Drawing.Size(121, 21); this.comboUnits.TabIndex = 4; // // radioKg // this.radioKg.AutoSize = true; this.radioKg.Location = new System.Drawing.Point(11, 21); this.radioKg.Name = "radioKg"; this.radioKg.Size = new System.Drawing.Size(103, 17); this.radioKg.TabIndex = 5; this.radioKg.TabStop = true; this.radioKg.Text = "kg / cubic meter"; this.radioKg.UseVisualStyleBackColor = true; // // radioG // this.radioG.AutoSize = true; this.radioG.Location = new System.Drawing.Point(120, 21); this.radioG.Name = "radioG"; this.radioG.Size = new System.Drawing.Size(100, 17); this.radioG.TabIndex = 6; this.radioG.TabStop = true; this.radioG.Text = "g / cubic meter"; this.radioG.UseVisualStyleBackColor = true; this.radioG.CheckedChanged += new System.EventHandler(this.radioG_CheckedChanged); // // radioT // this.radioT.AutoSize = true; this.radioT.Location = new System.Drawing.Point(226, 21); this.radioT.Name = "radioT"; this.radioT.Size = new System.Drawing.Size(94, 17); this.radioT.TabIndex = 7; this.radioT.TabStop = true; this.radioT.Text = "t / cubic meter"; this.radioT.UseVisualStyleBackColor = true; this.radioT.CheckedChanged += new System.EventHandler(this.radioT_CheckedChanged); // // groupBox1 // this.groupBox1.Controls.Add(this.radioKg); this.groupBox1.Controls.Add(this.radioT); this.groupBox1.Controls.Add(this.radioG); this.groupBox1.Location = new System.Drawing.Point(12, 452); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(324, 52); this.groupBox1.TabIndex = 8; this.groupBox1.TabStop = false; this.groupBox1.Text = "Density Units"; // // checkDrawText // this.checkDrawText.AutoSize = true; this.checkDrawText.Location = new System.Drawing.Point(364, 417); this.checkDrawText.Name = "checkDrawText"; this.checkDrawText.Size = new System.Drawing.Size(172, 17); this.checkDrawText.TabIndex = 9; this.checkDrawText.Text = "Create text with the profile data"; this.checkDrawText.UseVisualStyleBackColor = true; // // checkDrawDim // this.checkDrawDim.AutoSize = true; this.checkDrawDim.Location = new System.Drawing.Point(364, 440); this.checkDrawDim.Name = "checkDrawDim"; this.checkDrawDim.Size = new System.Drawing.Size(173, 17); this.checkDrawDim.TabIndex = 10; this.checkDrawDim.Text = "Create dimensions of the profile"; this.checkDrawDim.UseVisualStyleBackColor = true; // // comboBoxDimensionStyle // this.comboBoxDimensionStyle.FormattingEnabled = true; this.comboBoxDimensionStyle.Location = new System.Drawing.Point(364, 462); this.comboBoxDimensionStyle.Name = "comboBoxDimensionStyle"; this.comboBoxDimensionStyle.Size = new System.Drawing.Size(121, 21); this.comboBoxDimensionStyle.TabIndex = 11; // // RegionDescriptionForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoSize = true; this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.ClientSize = new System.Drawing.Size(654, 516); this.Controls.Add(this.comboBoxDimensionStyle); this.Controls.Add(this.checkDrawDim); this.Controls.Add(this.checkDrawText); this.Controls.Add(this.groupBox1); this.Controls.Add(this.comboUnits); this.Controls.Add(this.labelUnits); this.Controls.Add(this.buttonCancel); this.Controls.Add(this.buttonOK); this.Controls.Add(this.tableRegDescr); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.KeyPreview = true; this.MaximizeBox = false; this.Name = "RegionDescriptionForm"; this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide; this.Text = " Cross section properties"; this.Load += new System.EventHandler(this.RegionDescriptionForm_Load); this.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.RegionDescriptionForm_KeyPress); ((System.ComponentModel.ISupportInitialize)(this.tableRegDescr)).EndInit(); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }