/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { IncLibrary.IncButton btnGetAllCategory; System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); this.panel1 = new System.Windows.Forms.Panel(); this.closeButton = new StoreInventory.ButtonZ(); this.txtID = new System.Windows.Forms.TextBox(); this.txtVendorName = new System.Windows.Forms.TextBox(); this.grpCategory = new System.Windows.Forms.GroupBox(); this.txtVendorEmail = new IncLibrary.EmailTextbox(); this.label4 = 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.dgvVendor = new System.Windows.Forms.DataGridView(); this.colSN = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colVendorName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colVendorID = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.txtVendorPhone = new System.Windows.Forms.TextBox(); this.txtVendorAddress = new System.Windows.Forms.TextBox(); this.btnUpdate = new IncLibrary.IncButton(); this.btnDelete = new IncLibrary.IncButton(); this.btnSave = new IncLibrary.IncButton(); btnGetAllCategory = new IncLibrary.IncButton(); this.panel1.SuspendLayout(); this.grpCategory.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dgvVendor)).BeginInit(); this.SuspendLayout(); // // btnGetAllCategory // btnGetAllCategory.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60))))); btnGetAllCategory.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); btnGetAllCategory.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); btnGetAllCategory.GlowColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(153)))), ((int)(((byte)(204))))); btnGetAllCategory.InnerBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); btnGetAllCategory.Location = new System.Drawing.Point(222, 221); btnGetAllCategory.Name = "btnGetAllCategory"; btnGetAllCategory.NextControl = null; btnGetAllCategory.OuterBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); btnGetAllCategory.PreviousControl = null; btnGetAllCategory.ShineColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); btnGetAllCategory.Size = new System.Drawing.Size(66, 24); btnGetAllCategory.TabIndex = 11; btnGetAllCategory.Text = "Get"; // // panel1 // this.panel1.Controls.Add(this.closeButton); this.panel1.Controls.Add(this.txtID); 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(529, 33); this.panel1.TabIndex = 8; // // closeButton // this.closeButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.closeButton.BZBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); this.closeButton.DisplayText = "X"; this.closeButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.closeButton.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.closeButton.ForeColor = System.Drawing.Color.White; this.closeButton.Location = new System.Drawing.Point(496, 2); this.closeButton.MouseClickColor1 = System.Drawing.Color.Red; this.closeButton.MouseHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(50)))), ((int)(((byte)(50))))); this.closeButton.Name = "closeButton"; this.closeButton.Size = new System.Drawing.Size(31, 24); this.closeButton.TabIndex = 9; this.closeButton.Text = "X"; this.closeButton.TextLocation_X = 6; this.closeButton.TextLocation_Y = 1; this.closeButton.UseVisualStyleBackColor = true; this.closeButton.Click += new System.EventHandler(this.closeButton_Click); this.closeButton.MouseLeave += new System.EventHandler(this.closeButton_MouseLeave); this.closeButton.MouseHover += new System.EventHandler(this.closeButton_MouseHover); // // txtID // this.txtID.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.txtID.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtID.ForeColor = System.Drawing.SystemColors.Window; this.txtID.Location = new System.Drawing.Point(153, 4); this.txtID.Name = "txtID"; this.txtID.Size = new System.Drawing.Size(41, 23); this.txtID.TabIndex = 13; // // txtVendorName // this.txtVendorName.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.txtVendorName.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtVendorName.ForeColor = System.Drawing.SystemColors.Window; this.txtVendorName.Location = new System.Drawing.Point(79, 35); this.txtVendorName.Name = "txtVendorName"; this.txtVendorName.Size = new System.Drawing.Size(183, 23); this.txtVendorName.TabIndex = 9; // // grpCategory // this.grpCategory.Controls.Add(this.txtVendorEmail); this.grpCategory.Controls.Add(this.label4); this.grpCategory.Controls.Add(this.label3); this.grpCategory.Controls.Add(this.label2); this.grpCategory.Controls.Add(this.label1); this.grpCategory.Controls.Add(this.dgvVendor); this.grpCategory.Controls.Add(this.txtVendorPhone); this.grpCategory.Controls.Add(this.txtVendorAddress); this.grpCategory.Controls.Add(this.txtVendorName); this.grpCategory.Controls.Add(this.btnUpdate); this.grpCategory.Controls.Add(this.btnDelete); this.grpCategory.Controls.Add(btnGetAllCategory); this.grpCategory.Controls.Add(this.btnSave); this.grpCategory.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.grpCategory.ForeColor = System.Drawing.SystemColors.ButtonHighlight; this.grpCategory.Location = new System.Drawing.Point(13, 39); this.grpCategory.Name = "grpCategory"; this.grpCategory.Size = new System.Drawing.Size(497, 304); this.grpCategory.TabIndex = 12; this.grpCategory.TabStop = false; this.grpCategory.Text = "Add Vendor"; // // txtVendorEmail // this.txtVendorEmail.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.txtVendorEmail.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.txtVendorEmail.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.txtVendorEmail.Location = new System.Drawing.Point(79, 159); this.txtVendorEmail.Mandatory = false; this.txtVendorEmail.Name = "txtVendorEmail"; this.txtVendorEmail.NextControl = null; this.txtVendorEmail.PreviousControl = null; this.txtVendorEmail.ReadonlyByOrchestrator = false; this.txtVendorEmail.Size = new System.Drawing.Size(183, 21); this.txtVendorEmail.TabIndex = 15; this.txtVendorEmail.Value_Orchestrator = ""; // // label4 // this.label4.AutoSize = true; this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label4.Location = new System.Drawing.Point(22, 120); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(49, 17); this.label4.TabIndex = 14; this.label4.Text = "Phone"; // // label3 // this.label3.AutoSize = true; this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label3.Location = new System.Drawing.Point(29, 161); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(42, 17); this.label3.TabIndex = 14; this.label3.Text = "Email"; // // label2 // this.label2.AutoSize = true; this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label2.Location = new System.Drawing.Point(11, 79); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(60, 17); this.label2.TabIndex = 14; this.label2.Text = "Address"; // // label1 // this.label1.AutoSize = true; this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.Location = new System.Drawing.Point(26, 38); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(45, 17); this.label1.TabIndex = 14; this.label1.Text = "Name"; // // dgvVendor // this.dgvVendor.AllowUserToAddRows = false; this.dgvVendor.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.dgvVendor.BorderStyle = System.Windows.Forms.BorderStyle.None; dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); dataGridViewCellStyle1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText; dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True; this.dgvVendor.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1; this.dgvVendor.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dgvVendor.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.colSN, this.colVendorName, this.colVendorID }); dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); dataGridViewCellStyle2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ButtonHighlight; dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False; this.dgvVendor.DefaultCellStyle = dataGridViewCellStyle2; this.dgvVendor.EnableHeadersVisualStyles = false; this.dgvVendor.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.dgvVendor.Location = new System.Drawing.Point(311, 20); this.dgvVendor.Name = "dgvVendor"; dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); dataGridViewCellStyle3.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.WindowText; dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True; this.dgvVendor.RowHeadersDefaultCellStyle = dataGridViewCellStyle3; this.dgvVendor.ScrollBars = System.Windows.Forms.ScrollBars.None; this.dgvVendor.Size = new System.Drawing.Size(172, 267); this.dgvVendor.TabIndex = 12; // // colSN // this.colSN.HeaderText = "SN"; this.colSN.Name = "colSN"; this.colSN.Width = 30; // // colVendorName // this.colVendorName.HeaderText = "Vendor"; this.colVendorName.Name = "colVendorName"; // // colVendorID // this.colVendorID.HeaderText = "VendorID"; this.colVendorID.Name = "colVendorID"; this.colVendorID.Visible = false; // // txtVendorPhone // this.txtVendorPhone.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.txtVendorPhone.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtVendorPhone.ForeColor = System.Drawing.SystemColors.Window; this.txtVendorPhone.Location = new System.Drawing.Point(79, 117); this.txtVendorPhone.Name = "txtVendorPhone"; this.txtVendorPhone.Size = new System.Drawing.Size(183, 23); this.txtVendorPhone.TabIndex = 9; // // txtVendorAddress // this.txtVendorAddress.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.txtVendorAddress.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtVendorAddress.ForeColor = System.Drawing.SystemColors.Window; this.txtVendorAddress.Location = new System.Drawing.Point(79, 76); this.txtVendorAddress.Name = "txtVendorAddress"; this.txtVendorAddress.Size = new System.Drawing.Size(183, 23); this.txtVendorAddress.TabIndex = 9; // // btnUpdate // this.btnUpdate.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60))))); this.btnUpdate.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnUpdate.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.btnUpdate.GlowColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(153)))), ((int)(((byte)(204))))); this.btnUpdate.InnerBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); this.btnUpdate.Location = new System.Drawing.Point(79, 221); this.btnUpdate.Name = "btnUpdate"; this.btnUpdate.NextControl = null; this.btnUpdate.OuterBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.btnUpdate.PreviousControl = null; this.btnUpdate.ShineColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.btnUpdate.Size = new System.Drawing.Size(73, 24); this.btnUpdate.TabIndex = 11; this.btnUpdate.Text = "Update"; // // btnDelete // this.btnDelete.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60))))); this.btnDelete.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnDelete.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.btnDelete.GlowColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(153)))), ((int)(((byte)(204))))); this.btnDelete.InnerBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); this.btnDelete.Location = new System.Drawing.Point(158, 221); this.btnDelete.Name = "btnDelete"; this.btnDelete.NextControl = null; this.btnDelete.OuterBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.btnDelete.PreviousControl = null; this.btnDelete.ShineColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.btnDelete.Size = new System.Drawing.Size(58, 24); this.btnDelete.TabIndex = 11; this.btnDelete.Text = "Delete"; // // btnSave // this.btnSave.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60))))); this.btnSave.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnSave.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.btnSave.GlowColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(153)))), ((int)(((byte)(204))))); this.btnSave.InnerBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); this.btnSave.Location = new System.Drawing.Point(21, 221); this.btnSave.Name = "btnSave"; this.btnSave.NextControl = null; this.btnSave.OuterBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.btnSave.PreviousControl = null; this.btnSave.ShineColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.btnSave.Size = new System.Drawing.Size(54, 24); this.btnSave.TabIndex = 11; this.btnSave.Text = "Save"; this.btnSave.Click += new System.EventHandler(this.btnSave_Click); // // frmVendor // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48))))); this.ClientSize = new System.Drawing.Size(529, 365); this.ControlBox = false; this.Controls.Add(this.grpCategory); this.Controls.Add(this.panel1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "frmVendor"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Login"; this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.grpCategory.ResumeLayout(false); this.grpCategory.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.dgvVendor)).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(); IncLibrary.IncButton GetPurchaseDetail; IncLibrary.IncButton btnClear; System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle22 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle23 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle24 = new System.Windows.Forms.DataGridViewCellStyle(); this.panel1 = new System.Windows.Forms.Panel(); this.closeButton = new StoreInventory.ButtonZ(); this.txtID = new System.Windows.Forms.TextBox(); this.txtQuantity = new System.Windows.Forms.TextBox(); this.grpPurchase = new System.Windows.Forms.GroupBox(); this.label5 = new System.Windows.Forms.Label(); this.txtGrandTotal = new System.Windows.Forms.TextBox(); this.btnSave = new IncLibrary.IncButton(); this.grpCRUD = new System.Windows.Forms.GroupBox(); this.btnUpdate = new IncLibrary.IncButton(); this.btnDelete = new IncLibrary.IncButton(); this.btnAdd = new IncLibrary.IncButton(); this.cboProduct = new System.Windows.Forms.ComboBox(); this.cboVendor = new System.Windows.Forms.ComboBox(); this.label4 = 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.dgvVendor = new System.Windows.Forms.DataGridView(); this.colSN = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colVendorID = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colVendorName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colProductID = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colProductName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colPurchasePrice = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colPurchaseQuantity = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colTotal = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.txtPrice = new System.Windows.Forms.TextBox(); this.erpGeneral = new System.Windows.Forms.ErrorProvider(this.components); GetPurchaseDetail = new IncLibrary.IncButton(); btnClear = new IncLibrary.IncButton(); this.panel1.SuspendLayout(); this.grpPurchase.SuspendLayout(); this.grpCRUD.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dgvVendor)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.erpGeneral)).BeginInit(); this.SuspendLayout(); // // GetPurchaseDetail // GetPurchaseDetail.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60))))); GetPurchaseDetail.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); GetPurchaseDetail.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); GetPurchaseDetail.GlowColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(153)))), ((int)(((byte)(204))))); GetPurchaseDetail.InnerBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); GetPurchaseDetail.Location = new System.Drawing.Point(534, 414); GetPurchaseDetail.Name = "GetPurchaseDetail"; GetPurchaseDetail.NextControl = null; GetPurchaseDetail.OuterBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); GetPurchaseDetail.PreviousControl = null; GetPurchaseDetail.ShineColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); GetPurchaseDetail.Size = new System.Drawing.Size(111, 58); GetPurchaseDetail.TabIndex = 11; GetPurchaseDetail.Text = "Get"; GetPurchaseDetail.Click += new System.EventHandler(this.GetPurchaseDetail_Click); // // btnClear // btnClear.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60))))); btnClear.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); btnClear.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); btnClear.GlowColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(153)))), ((int)(((byte)(204))))); btnClear.InnerBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); btnClear.Location = new System.Drawing.Point(657, 414); btnClear.Name = "btnClear"; btnClear.NextControl = null; btnClear.OuterBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); btnClear.PreviousControl = null; btnClear.ShineColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); btnClear.Size = new System.Drawing.Size(111, 58); btnClear.TabIndex = 11; btnClear.Text = "Clear"; btnClear.Click += new System.EventHandler(this.btnClear_Click); // // panel1 // this.panel1.Controls.Add(this.closeButton); this.panel1.Controls.Add(this.txtID); 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(976, 33); this.panel1.TabIndex = 8; // // closeButton // this.closeButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.closeButton.BZBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); this.closeButton.DisplayText = "X"; this.closeButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.closeButton.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.closeButton.ForeColor = System.Drawing.Color.White; this.closeButton.Location = new System.Drawing.Point(943, 2); this.closeButton.MouseClickColor1 = System.Drawing.Color.Red; this.closeButton.MouseHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(50)))), ((int)(((byte)(50))))); this.closeButton.Name = "closeButton"; this.closeButton.Size = new System.Drawing.Size(31, 24); this.closeButton.TabIndex = 9; this.closeButton.Text = "X"; this.closeButton.TextLocation_X = 6; this.closeButton.TextLocation_Y = 1; this.closeButton.UseVisualStyleBackColor = true; this.closeButton.Click += new System.EventHandler(this.closeButton_Click); this.closeButton.MouseLeave += new System.EventHandler(this.closeButton_MouseLeave); this.closeButton.MouseHover += new System.EventHandler(this.closeButton_MouseHover); // // txtID // this.txtID.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.txtID.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtID.ForeColor = System.Drawing.SystemColors.Window; this.txtID.Location = new System.Drawing.Point(647, 4); this.txtID.Name = "txtID"; this.txtID.Size = new System.Drawing.Size(41, 23); this.txtID.TabIndex = 13; this.txtID.Visible = false; // // txtQuantity // this.txtQuantity.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.txtQuantity.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtQuantity.ForeColor = System.Drawing.SystemColors.Window; this.txtQuantity.Location = new System.Drawing.Point(141, 249); this.txtQuantity.Name = "txtQuantity"; this.txtQuantity.Size = new System.Drawing.Size(104, 23); this.txtQuantity.TabIndex = 9; this.txtQuantity.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtQuantity_KeyPress); // // grpPurchase // this.grpPurchase.Controls.Add(this.label5); this.grpPurchase.Controls.Add(this.txtGrandTotal); this.grpPurchase.Controls.Add(this.btnSave); this.grpPurchase.Controls.Add(GetPurchaseDetail); this.grpPurchase.Controls.Add(this.grpCRUD); this.grpPurchase.Controls.Add(this.cboProduct); this.grpPurchase.Controls.Add(this.cboVendor); this.grpPurchase.Controls.Add(btnClear); this.grpPurchase.Controls.Add(this.label4); this.grpPurchase.Controls.Add(this.label3); this.grpPurchase.Controls.Add(this.label2); this.grpPurchase.Controls.Add(this.label1); this.grpPurchase.Controls.Add(this.dgvVendor); this.grpPurchase.Controls.Add(this.txtPrice); this.grpPurchase.Controls.Add(this.txtQuantity); this.grpPurchase.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.grpPurchase.ForeColor = System.Drawing.SystemColors.ButtonHighlight; this.grpPurchase.Location = new System.Drawing.Point(28, 39); this.grpPurchase.Name = "grpPurchase"; this.grpPurchase.Size = new System.Drawing.Size(909, 502); this.grpPurchase.TabIndex = 12; this.grpPurchase.TabStop = false; this.grpPurchase.Text = "Purchase"; // // label5 // this.label5.AutoSize = true; this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label5.Location = new System.Drawing.Point(660, 368); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(93, 20); this.label5.TabIndex = 19; this.label5.Text = "Grand Total"; // // txtGrandTotal // this.txtGrandTotal.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.txtGrandTotal.Font = new System.Drawing.Font("Microsoft Sans Serif", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtGrandTotal.ForeColor = System.Drawing.SystemColors.Window; this.txtGrandTotal.Location = new System.Drawing.Point(759, 364); this.txtGrandTotal.Name = "txtGrandTotal"; this.txtGrandTotal.Size = new System.Drawing.Size(133, 29); this.txtGrandTotal.TabIndex = 18; // // btnSave // this.btnSave.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60))))); this.btnSave.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnSave.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.btnSave.GlowColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(153)))), ((int)(((byte)(204))))); this.btnSave.InnerBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); this.btnSave.Location = new System.Drawing.Point(780, 414); this.btnSave.Name = "btnSave"; this.btnSave.NextControl = null; this.btnSave.OuterBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.btnSave.PreviousControl = null; this.btnSave.ShineColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.btnSave.Size = new System.Drawing.Size(111, 58); this.btnSave.TabIndex = 11; this.btnSave.Text = "Save"; this.btnSave.Click += new System.EventHandler(this.btnSave_Click); // // grpCRUD // this.grpCRUD.Controls.Add(this.btnUpdate); this.grpCRUD.Controls.Add(this.btnDelete); this.grpCRUD.Controls.Add(this.btnAdd); this.grpCRUD.Location = new System.Drawing.Point(41, 300); this.grpCRUD.Name = "grpCRUD"; this.grpCRUD.Size = new System.Drawing.Size(267, 76); this.grpCRUD.TabIndex = 17; this.grpCRUD.TabStop = false; // // btnUpdate // this.btnUpdate.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60))))); this.btnUpdate.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnUpdate.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.btnUpdate.GlowColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(153)))), ((int)(((byte)(204))))); this.btnUpdate.InnerBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); this.btnUpdate.Location = new System.Drawing.Point(187, 16); this.btnUpdate.Name = "btnUpdate"; this.btnUpdate.NextControl = null; this.btnUpdate.OuterBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.btnUpdate.PreviousControl = null; this.btnUpdate.ShineColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.btnUpdate.Size = new System.Drawing.Size(72, 48); this.btnUpdate.TabIndex = 11; this.btnUpdate.Text = "Update"; this.btnUpdate.Click += new System.EventHandler(this.btnUpdate_Click); // // btnDelete // this.btnDelete.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60))))); this.btnDelete.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnDelete.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.btnDelete.GlowColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(153)))), ((int)(((byte)(204))))); this.btnDelete.InnerBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); this.btnDelete.Location = new System.Drawing.Point(99, 16); this.btnDelete.Name = "btnDelete"; this.btnDelete.NextControl = null; this.btnDelete.OuterBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.btnDelete.PreviousControl = null; this.btnDelete.ShineColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.btnDelete.Size = new System.Drawing.Size(72, 48); this.btnDelete.TabIndex = 11; this.btnDelete.Text = "Delete"; this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click); // // btnAdd // this.btnAdd.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60))))); this.btnAdd.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnAdd.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.btnAdd.GlowColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(153)))), ((int)(((byte)(204))))); this.btnAdd.InnerBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); this.btnAdd.Location = new System.Drawing.Point(9, 16); this.btnAdd.Name = "btnAdd"; this.btnAdd.NextControl = null; this.btnAdd.OuterBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.btnAdd.PreviousControl = null; this.btnAdd.ShineColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.btnAdd.Size = new System.Drawing.Size(72, 48); this.btnAdd.TabIndex = 11; this.btnAdd.Text = "Add"; this.btnAdd.Click += new System.EventHandler(this.btnAdd_click); // // cboProduct // this.cboProduct.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.cboProduct.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cboProduct.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.cboProduct.FormattingEnabled = true; this.cboProduct.Location = new System.Drawing.Point(141, 127); this.cboProduct.Name = "cboProduct"; this.cboProduct.Size = new System.Drawing.Size(167, 23); this.cboProduct.TabIndex = 16; // // cboVendor // this.cboVendor.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.cboVendor.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cboVendor.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.cboVendor.FormattingEnabled = true; this.cboVendor.Location = new System.Drawing.Point(141, 71); this.cboVendor.Name = "cboVendor"; this.cboVendor.Size = new System.Drawing.Size(167, 23); this.cboVendor.TabIndex = 16; // // label4 // this.label4.AutoSize = true; this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label4.Location = new System.Drawing.Point(80, 186); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(40, 17); this.label4.TabIndex = 14; this.label4.Text = "Price"; // // label3 // this.label3.AutoSize = true; this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label3.Location = new System.Drawing.Point(59, 249); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(61, 17); this.label3.TabIndex = 14; this.label3.Text = "Quantity"; // // label2 // this.label2.AutoSize = true; this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label2.Location = new System.Drawing.Point(63, 130); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(57, 17); this.label2.TabIndex = 14; this.label2.Text = "Product"; // // label1 // this.label1.AutoSize = true; this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.Location = new System.Drawing.Point(66, 74); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(54, 17); this.label1.TabIndex = 14; this.label1.Text = "Vendor"; // // dgvVendor // this.dgvVendor.AllowUserToAddRows = false; this.dgvVendor.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.dgvVendor.BorderStyle = System.Windows.Forms.BorderStyle.None; dataGridViewCellStyle22.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle22.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); dataGridViewCellStyle22.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); dataGridViewCellStyle22.ForeColor = System.Drawing.SystemColors.WindowText; dataGridViewCellStyle22.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle22.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle22.WrapMode = System.Windows.Forms.DataGridViewTriState.True; this.dgvVendor.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle22; this.dgvVendor.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dgvVendor.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.colSN, this.colVendorID, this.colVendorName, this.colProductID, this.colProductName, this.colPurchasePrice, this.colPurchaseQuantity, this.colTotal }); dataGridViewCellStyle23.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle23.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); dataGridViewCellStyle23.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); dataGridViewCellStyle23.ForeColor = System.Drawing.SystemColors.ButtonHighlight; dataGridViewCellStyle23.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle23.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle23.WrapMode = System.Windows.Forms.DataGridViewTriState.False; this.dgvVendor.DefaultCellStyle = dataGridViewCellStyle23; this.dgvVendor.EnableHeadersVisualStyles = false; this.dgvVendor.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.dgvVendor.Location = new System.Drawing.Point(350, 33); this.dgvVendor.Name = "dgvVendor"; dataGridViewCellStyle24.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle24.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); dataGridViewCellStyle24.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); dataGridViewCellStyle24.ForeColor = System.Drawing.SystemColors.WindowText; dataGridViewCellStyle24.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle24.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle24.WrapMode = System.Windows.Forms.DataGridViewTriState.True; this.dgvVendor.RowHeadersDefaultCellStyle = dataGridViewCellStyle24; this.dgvVendor.ScrollBars = System.Windows.Forms.ScrollBars.None; this.dgvVendor.Size = new System.Drawing.Size(542, 321); this.dgvVendor.TabIndex = 12; this.dgvVendor.MouseClick += new System.Windows.Forms.MouseEventHandler(this.dgvVendor_MouseClick); // // colSN // this.colSN.HeaderText = "SN"; this.colSN.Name = "colSN"; this.colSN.ReadOnly = true; this.colSN.Width = 30; // // colVendorID // this.colVendorID.HeaderText = "VendorID"; this.colVendorID.Name = "colVendorID"; this.colVendorID.ReadOnly = true; this.colVendorID.Visible = false; // // colVendorName // this.colVendorName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells; this.colVendorName.HeaderText = "VendorName"; this.colVendorName.Name = "colVendorName"; this.colVendorName.ReadOnly = true; this.colVendorName.Width = 105; // // colProductID // this.colProductID.HeaderText = "ProductID"; this.colProductID.Name = "colProductID"; this.colProductID.ReadOnly = true; this.colProductID.Visible = false; // // colProductName // this.colProductName.HeaderText = "Product Name"; this.colProductName.Name = "colProductName"; this.colProductName.ReadOnly = true; // // colPurchasePrice // this.colPurchasePrice.HeaderText = "Price"; this.colPurchasePrice.Name = "colPurchasePrice"; this.colPurchasePrice.ReadOnly = true; // // colPurchaseQuantity // this.colPurchaseQuantity.HeaderText = "Quantity"; this.colPurchaseQuantity.Name = "colPurchaseQuantity"; this.colPurchaseQuantity.ReadOnly = true; this.colPurchaseQuantity.Width = 60; // // colTotal // this.colTotal.HeaderText = "Total"; this.colTotal.Name = "colTotal"; // // txtPrice // this.txtPrice.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.txtPrice.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtPrice.ForeColor = System.Drawing.SystemColors.Window; this.txtPrice.Location = new System.Drawing.Point(141, 186); this.txtPrice.Name = "txtPrice"; this.txtPrice.Size = new System.Drawing.Size(104, 23); this.txtPrice.TabIndex = 9; this.txtPrice.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtPrice_KeyPress); // // erpGeneral // this.erpGeneral.ContainerControl = this; // // frmPurchase // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48))))); this.ClientSize = new System.Drawing.Size(976, 572); this.ControlBox = false; this.Controls.Add(this.grpPurchase); this.Controls.Add(this.panel1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.Location = new System.Drawing.Point(200, 80); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "frmPurchase"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Login"; this.Load += new System.EventHandler(this.frmPurchase_Load); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.grpPurchase.ResumeLayout(false); this.grpPurchase.PerformLayout(); this.grpCRUD.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dgvVendor)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.erpGeneral)).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() { IncLibrary.IncButton btnGetAllCategory; System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle(); this.panel1 = new System.Windows.Forms.Panel(); this.closeButton = new StoreInventory.ButtonZ(); this.txtCategoryName = new System.Windows.Forms.TextBox(); this.grpCategory = new System.Windows.Forms.GroupBox(); this.txtID = new System.Windows.Forms.TextBox(); this.dgvCategory = new System.Windows.Forms.DataGridView(); this.colSN = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colCategoryID = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colCategoryName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.btnUpdate = new IncLibrary.IncButton(); this.btnDelete = new IncLibrary.IncButton(); this.btnSave = new IncLibrary.IncButton(); btnGetAllCategory = new IncLibrary.IncButton(); this.panel1.SuspendLayout(); this.grpCategory.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dgvCategory)).BeginInit(); this.SuspendLayout(); // // btnGetAllCategory // btnGetAllCategory.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60))))); btnGetAllCategory.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); btnGetAllCategory.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); btnGetAllCategory.GlowColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(153)))), ((int)(((byte)(204))))); btnGetAllCategory.InnerBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); btnGetAllCategory.Location = new System.Drawing.Point(18, 293); btnGetAllCategory.Name = "btnGetAllCategory"; btnGetAllCategory.NextControl = null; btnGetAllCategory.OuterBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); btnGetAllCategory.PreviousControl = null; btnGetAllCategory.ShineColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); btnGetAllCategory.Size = new System.Drawing.Size(66, 39); btnGetAllCategory.TabIndex = 11; btnGetAllCategory.Text = "Get"; btnGetAllCategory.Click += new System.EventHandler(this.btnGetAllCategory_Click); // // panel1 // this.panel1.Controls.Add(this.closeButton); 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(401, 33); this.panel1.TabIndex = 8; // // closeButton // this.closeButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.closeButton.BZBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); this.closeButton.DisplayText = "X"; this.closeButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.closeButton.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.closeButton.ForeColor = System.Drawing.Color.White; this.closeButton.Location = new System.Drawing.Point(368, 2); this.closeButton.MouseClickColor1 = System.Drawing.Color.Red; this.closeButton.MouseHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(50)))), ((int)(((byte)(50))))); this.closeButton.Name = "closeButton"; this.closeButton.Size = new System.Drawing.Size(31, 24); this.closeButton.TabIndex = 9; this.closeButton.Text = "X"; this.closeButton.TextLocation_X = 6; this.closeButton.TextLocation_Y = 1; this.closeButton.UseVisualStyleBackColor = true; this.closeButton.Click += new System.EventHandler(this.closeButton_Click); this.closeButton.MouseLeave += new System.EventHandler(this.closeButton_MouseLeave); this.closeButton.MouseHover += new System.EventHandler(this.closeButton_MouseHover); // // txtCategoryName // this.txtCategoryName.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.txtCategoryName.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtCategoryName.ForeColor = System.Drawing.SystemColors.Window; this.txtCategoryName.Location = new System.Drawing.Point(17, 38); this.txtCategoryName.Name = "txtCategoryName"; this.txtCategoryName.Size = new System.Drawing.Size(324, 23); this.txtCategoryName.TabIndex = 9; this.txtCategoryName.TextChanged += new System.EventHandler(this.txtCategoryName_TextChanged); // // grpCategory // this.grpCategory.Controls.Add(this.txtID); this.grpCategory.Controls.Add(this.dgvCategory); this.grpCategory.Controls.Add(this.txtCategoryName); this.grpCategory.Controls.Add(this.btnUpdate); this.grpCategory.Controls.Add(this.btnDelete); this.grpCategory.Controls.Add(btnGetAllCategory); this.grpCategory.Controls.Add(this.btnSave); this.grpCategory.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.grpCategory.ForeColor = System.Drawing.SystemColors.ButtonHighlight; this.grpCategory.Location = new System.Drawing.Point(12, 39); this.grpCategory.Name = "grpCategory"; this.grpCategory.Size = new System.Drawing.Size(369, 384); this.grpCategory.TabIndex = 12; this.grpCategory.TabStop = false; this.grpCategory.Text = "Add Category"; // // txtID // this.txtID.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.txtID.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtID.ForeColor = System.Drawing.SystemColors.Window; this.txtID.Location = new System.Drawing.Point(281, 67); this.txtID.Name = "txtID"; this.txtID.Size = new System.Drawing.Size(60, 23); this.txtID.TabIndex = 13; // // dgvCategory // this.dgvCategory.AllowUserToAddRows = false; this.dgvCategory.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.dgvCategory.BorderStyle = System.Windows.Forms.BorderStyle.None; dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); dataGridViewCellStyle7.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); dataGridViewCellStyle7.ForeColor = System.Drawing.SystemColors.WindowText; dataGridViewCellStyle7.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle7.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.True; this.dgvCategory.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle7; this.dgvCategory.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dgvCategory.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.colSN, this.colCategoryID, this.colCategoryName }); dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle8.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); dataGridViewCellStyle8.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); dataGridViewCellStyle8.ForeColor = System.Drawing.SystemColors.ButtonHighlight; dataGridViewCellStyle8.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle8.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.False; this.dgvCategory.DefaultCellStyle = dataGridViewCellStyle8; this.dgvCategory.EnableHeadersVisualStyles = false; this.dgvCategory.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.dgvCategory.Location = new System.Drawing.Point(106, 101); this.dgvCategory.Name = "dgvCategory"; dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle9.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); dataGridViewCellStyle9.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); dataGridViewCellStyle9.ForeColor = System.Drawing.SystemColors.WindowText; dataGridViewCellStyle9.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle9.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle9.WrapMode = System.Windows.Forms.DataGridViewTriState.True; this.dgvCategory.RowHeadersDefaultCellStyle = dataGridViewCellStyle9; this.dgvCategory.ScrollBars = System.Windows.Forms.ScrollBars.None; this.dgvCategory.Size = new System.Drawing.Size(235, 256); this.dgvCategory.TabIndex = 12; this.dgvCategory.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.dgvCategory_MouseDoubleClick); // // colSN // this.colSN.HeaderText = "SN"; this.colSN.Name = "colSN"; // // colCategoryID // this.colCategoryID.HeaderText = "CategoryID"; this.colCategoryID.Name = "colCategoryID"; this.colCategoryID.Visible = false; // // colCategoryName // this.colCategoryName.HeaderText = "Category"; this.colCategoryName.Name = "colCategoryName"; // // btnUpdate // this.btnUpdate.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60))))); this.btnUpdate.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnUpdate.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.btnUpdate.GlowColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(153)))), ((int)(((byte)(204))))); this.btnUpdate.InnerBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); this.btnUpdate.Location = new System.Drawing.Point(18, 165); this.btnUpdate.Name = "btnUpdate"; this.btnUpdate.NextControl = null; this.btnUpdate.OuterBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.btnUpdate.PreviousControl = null; this.btnUpdate.ShineColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.btnUpdate.Size = new System.Drawing.Size(66, 39); this.btnUpdate.TabIndex = 11; this.btnUpdate.Text = "Update"; this.btnUpdate.Click += new System.EventHandler(this.btnUpdate_Click); // // btnDelete // this.btnDelete.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60))))); this.btnDelete.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnDelete.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.btnDelete.GlowColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(153)))), ((int)(((byte)(204))))); this.btnDelete.InnerBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); this.btnDelete.Location = new System.Drawing.Point(18, 229); this.btnDelete.Name = "btnDelete"; this.btnDelete.NextControl = null; this.btnDelete.OuterBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.btnDelete.PreviousControl = null; this.btnDelete.ShineColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.btnDelete.Size = new System.Drawing.Size(66, 39); this.btnDelete.TabIndex = 11; this.btnDelete.Text = "Delete"; this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click); // // btnSave // this.btnSave.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60))))); this.btnSave.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnSave.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.btnSave.GlowColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(153)))), ((int)(((byte)(204))))); this.btnSave.InnerBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); this.btnSave.Location = new System.Drawing.Point(18, 101); this.btnSave.Name = "btnSave"; this.btnSave.NextControl = null; this.btnSave.OuterBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.btnSave.PreviousControl = null; this.btnSave.ShineColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.btnSave.Size = new System.Drawing.Size(66, 39); this.btnSave.TabIndex = 11; this.btnSave.Text = "Save"; this.btnSave.Click += new System.EventHandler(this.btnSave_Click); // // frmCategory // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48))))); this.ClientSize = new System.Drawing.Size(401, 458); this.ControlBox = false; this.Controls.Add(this.grpCategory); this.Controls.Add(this.panel1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "frmCategory"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Login"; this.panel1.ResumeLayout(false); this.grpCategory.ResumeLayout(false); this.grpCategory.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.dgvCategory)).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() { IncLibrary.IncButton btnGetAllBrand; IncLibrary.IncButton btnClear; System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); this.txtBrandName = new System.Windows.Forms.TextBox(); this.grpCategory = new System.Windows.Forms.GroupBox(); this.cboCategory = new System.Windows.Forms.ComboBox(); this.btnOpenCategory = new IncLibrary.IncButton(); this.incLabel2 = new IncLibrary.IncLabel(); this.incLabel1 = new IncLibrary.IncLabel(); this.txtBrandID = new System.Windows.Forms.TextBox(); this.dgvBrand = new System.Windows.Forms.DataGridView(); this.colSN = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colBrandID = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colBrandName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colCategoryName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colCategoryID = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.btnUpdate = new IncLibrary.IncButton(); this.btnDelete = new IncLibrary.IncButton(); this.btnSave = new IncLibrary.IncButton(); this.panel1 = new System.Windows.Forms.Panel(); this._CloseButton = new StoreInventory.ButtonZ(); btnGetAllBrand = new IncLibrary.IncButton(); btnClear = new IncLibrary.IncButton(); this.grpCategory.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dgvBrand)).BeginInit(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // btnGetAllBrand // btnGetAllBrand.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60))))); btnGetAllBrand.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); btnGetAllBrand.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); btnGetAllBrand.GlowColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(153)))), ((int)(((byte)(204))))); btnGetAllBrand.InnerBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); btnGetAllBrand.Location = new System.Drawing.Point(17, 340); btnGetAllBrand.Name = "btnGetAllBrand"; btnGetAllBrand.NextControl = null; btnGetAllBrand.OuterBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); btnGetAllBrand.PreviousControl = null; btnGetAllBrand.ShineColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); btnGetAllBrand.Size = new System.Drawing.Size(66, 39); btnGetAllBrand.TabIndex = 11; btnGetAllBrand.Text = "Get"; btnGetAllBrand.Click += new System.EventHandler(this.btnGetAllBrand_Click); // // btnClear // btnClear.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60))))); btnClear.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); btnClear.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); btnClear.GlowColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(153)))), ((int)(((byte)(204))))); btnClear.InnerBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); btnClear.Location = new System.Drawing.Point(17, 409); btnClear.Name = "btnClear"; btnClear.NextControl = null; btnClear.OuterBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); btnClear.PreviousControl = null; btnClear.ShineColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); btnClear.Size = new System.Drawing.Size(66, 39); btnClear.TabIndex = 11; btnClear.Text = "Clear"; btnClear.Click += new System.EventHandler(this.clear); // // txtBrandName // this.txtBrandName.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.txtBrandName.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtBrandName.ForeColor = System.Drawing.SystemColors.Window; this.txtBrandName.Location = new System.Drawing.Point(210, 78); this.txtBrandName.Name = "txtBrandName"; this.txtBrandName.Size = new System.Drawing.Size(204, 23); this.txtBrandName.TabIndex = 9; this.txtBrandName.TextChanged += new System.EventHandler(this.txtBrandName_TextChanged); // // grpCategory // this.grpCategory.Controls.Add(this.cboCategory); this.grpCategory.Controls.Add(this.btnOpenCategory); this.grpCategory.Controls.Add(this.incLabel2); this.grpCategory.Controls.Add(this.incLabel1); this.grpCategory.Controls.Add(this.txtBrandID); this.grpCategory.Controls.Add(this.dgvBrand); this.grpCategory.Controls.Add(this.txtBrandName); this.grpCategory.Controls.Add(this.btnUpdate); this.grpCategory.Controls.Add(this.btnDelete); this.grpCategory.Controls.Add(btnClear); this.grpCategory.Controls.Add(btnGetAllBrand); this.grpCategory.Controls.Add(this.btnSave); this.grpCategory.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.grpCategory.ForeColor = System.Drawing.SystemColors.ButtonHighlight; this.grpCategory.Location = new System.Drawing.Point(12, 39); this.grpCategory.Name = "grpCategory"; this.grpCategory.Size = new System.Drawing.Size(467, 485); this.grpCategory.TabIndex = 12; this.grpCategory.TabStop = false; this.grpCategory.Text = "Add Sub Category"; // // cboCategory // this.cboCategory.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.cboCategory.FormattingEnabled = true; this.cboCategory.Location = new System.Drawing.Point(210, 32); this.cboCategory.Name = "cboCategory"; this.cboCategory.Size = new System.Drawing.Size(204, 23); this.cboCategory.TabIndex = 17; this.cboCategory.TextChanged += new System.EventHandler(this.cboCategory_TextChanged); // // btnOpenCategory // this.btnOpenCategory.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60))))); this.btnOpenCategory.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.btnOpenCategory.GlowColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(153)))), ((int)(((byte)(204))))); this.btnOpenCategory.InnerBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); this.btnOpenCategory.Location = new System.Drawing.Point(421, 33); this.btnOpenCategory.Name = "btnOpenCategory"; this.btnOpenCategory.NextControl = null; this.btnOpenCategory.OuterBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.btnOpenCategory.PreviousControl = null; this.btnOpenCategory.ShineColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.btnOpenCategory.Size = new System.Drawing.Size(20, 23); this.btnOpenCategory.TabIndex = 16; this.btnOpenCategory.Text = "+"; this.btnOpenCategory.Click += new System.EventHandler(this.btnOpenCategory_Click); // // incLabel2 // this.incLabel2.AutoSize = true; this.incLabel2.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.incLabel2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.incLabel2.Location = new System.Drawing.Point(86, 32); this.incLabel2.Name = "incLabel2"; this.incLabel2.Readonly = false; this.incLabel2.Size = new System.Drawing.Size(106, 17); this.incLabel2.TabIndex = 15; this.incLabel2.Text = "Category Name"; this.incLabel2.ValueByOrchestrator = "Category Name"; // // incLabel1 // this.incLabel1.AutoSize = true; this.incLabel1.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.incLabel1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.incLabel1.Location = new System.Drawing.Point(105, 84); this.incLabel1.Name = "incLabel1"; this.incLabel1.Readonly = false; this.incLabel1.Size = new System.Drawing.Size(87, 17); this.incLabel1.TabIndex = 15; this.incLabel1.Text = "Brand Name"; this.incLabel1.ValueByOrchestrator = "Brand Name"; // // txtBrandID // this.txtBrandID.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.txtBrandID.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtBrandID.ForeColor = System.Drawing.SystemColors.Window; this.txtBrandID.Location = new System.Drawing.Point(6, 20); this.txtBrandID.Name = "txtBrandID"; this.txtBrandID.Size = new System.Drawing.Size(51, 23); this.txtBrandID.TabIndex = 13; this.txtBrandID.Visible = false; // // dgvBrand // this.dgvBrand.AllowUserToAddRows = false; this.dgvBrand.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.dgvBrand.BorderStyle = System.Windows.Forms.BorderStyle.None; dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); dataGridViewCellStyle1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText; dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True; this.dgvBrand.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1; this.dgvBrand.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dgvBrand.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.colSN, this.colBrandID, this.colBrandName, this.colCategoryName, this.colCategoryID }); dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); dataGridViewCellStyle2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ButtonHighlight; dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False; this.dgvBrand.DefaultCellStyle = dataGridViewCellStyle2; this.dgvBrand.EnableHeadersVisualStyles = false; this.dgvBrand.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.dgvBrand.Location = new System.Drawing.Point(106, 133); this.dgvBrand.Name = "dgvBrand"; this.dgvBrand.ReadOnly = true; dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); dataGridViewCellStyle3.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.WindowText; dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True; this.dgvBrand.RowHeadersDefaultCellStyle = dataGridViewCellStyle3; this.dgvBrand.ScrollBars = System.Windows.Forms.ScrollBars.None; this.dgvBrand.Size = new System.Drawing.Size(343, 332); this.dgvBrand.TabIndex = 12; this.dgvBrand.MouseClick += new System.Windows.Forms.MouseEventHandler(this.dgvBrand_MouseClick); // // colSN // this.colSN.HeaderText = "SN"; this.colSN.Name = "colSN"; this.colSN.ReadOnly = true; // // colBrandID // this.colBrandID.HeaderText = "Brand"; this.colBrandID.Name = "colBrandID"; this.colBrandID.ReadOnly = true; this.colBrandID.Visible = false; // // colBrandName // this.colBrandName.HeaderText = "Brand"; this.colBrandName.Name = "colBrandName"; this.colBrandName.ReadOnly = true; // // colCategoryName // this.colCategoryName.HeaderText = "Category"; this.colCategoryName.Name = "colCategoryName"; this.colCategoryName.ReadOnly = true; // // colCategoryID // this.colCategoryID.HeaderText = "CategoryID"; this.colCategoryID.Name = "colCategoryID"; this.colCategoryID.ReadOnly = true; this.colCategoryID.Visible = false; // // btnUpdate // this.btnUpdate.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60))))); this.btnUpdate.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnUpdate.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.btnUpdate.GlowColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(153)))), ((int)(((byte)(204))))); this.btnUpdate.InnerBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); this.btnUpdate.Location = new System.Drawing.Point(17, 202); this.btnUpdate.Name = "btnUpdate"; this.btnUpdate.NextControl = null; this.btnUpdate.OuterBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.btnUpdate.PreviousControl = null; this.btnUpdate.ShineColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.btnUpdate.Size = new System.Drawing.Size(66, 39); this.btnUpdate.TabIndex = 11; this.btnUpdate.Text = "Update"; this.btnUpdate.Click += new System.EventHandler(this.btnUpdate_Click); // // btnDelete // this.btnDelete.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60))))); this.btnDelete.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnDelete.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.btnDelete.GlowColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(153)))), ((int)(((byte)(204))))); this.btnDelete.InnerBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); this.btnDelete.Location = new System.Drawing.Point(17, 271); this.btnDelete.Name = "btnDelete"; this.btnDelete.NextControl = null; this.btnDelete.OuterBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.btnDelete.PreviousControl = null; this.btnDelete.ShineColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.btnDelete.Size = new System.Drawing.Size(66, 39); this.btnDelete.TabIndex = 11; this.btnDelete.Text = "Delete"; this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click); // // btnSave // this.btnSave.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60))))); this.btnSave.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnSave.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.btnSave.GlowColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(153)))), ((int)(((byte)(204))))); this.btnSave.InnerBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); this.btnSave.Location = new System.Drawing.Point(17, 133); this.btnSave.Name = "btnSave"; this.btnSave.NextControl = null; this.btnSave.OuterBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.btnSave.PreviousControl = null; this.btnSave.ShineColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.btnSave.Size = new System.Drawing.Size(66, 39); this.btnSave.TabIndex = 11; this.btnSave.Text = "Save"; this.btnSave.Click += new System.EventHandler(this.btnSave_Click); // // panel1 // this.panel1.Controls.Add(this._CloseButton); 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(497, 33); this.panel1.TabIndex = 8; // // _CloseButton // this._CloseButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this._CloseButton.BZBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); this._CloseButton.DisplayText = "X"; this._CloseButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this._CloseButton.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this._CloseButton.ForeColor = System.Drawing.Color.White; this._CloseButton.Location = new System.Drawing.Point(463, 3); this._CloseButton.MouseClickColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(160))))); this._CloseButton.MouseHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(50)))), ((int)(((byte)(50))))); this._CloseButton.Name = "_CloseButton"; this._CloseButton.Size = new System.Drawing.Size(31, 24); this._CloseButton.TabIndex = 1; this._CloseButton.Text = "X"; this._CloseButton.TextLocation_X = 6; this._CloseButton.TextLocation_Y = 1; this._CloseButton.UseVisualStyleBackColor = true; this._CloseButton.Click += new System.EventHandler(this._CloseButton_Click); // // frmBrand // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48))))); this.ClientSize = new System.Drawing.Size(497, 547); this.ControlBox = false; this.Controls.Add(this.grpCategory); this.Controls.Add(this.panel1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "frmBrand"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Login"; this.Load += new System.EventHandler(this.frmBrand_Load); this.grpCategory.ResumeLayout(false); this.grpCategory.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.dgvBrand)).EndInit(); 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() { this.components = new System.ComponentModel.Container(); IncLibrary.IncButton btnGetAllBrand; IncLibrary.IncButton btnClear; System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle(); this.grpProduct = new System.Windows.Forms.GroupBox(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.btnSave = new IncLibrary.IncButton(); this.btnDelete = new IncLibrary.IncButton(); this.btnUpdate = new IncLibrary.IncButton(); this.dgvFeatures = new System.Windows.Forms.DataGridView(); this.cboBrand = new System.Windows.Forms.ComboBox(); this.cboCategory = new System.Windows.Forms.ComboBox(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.btnAddBrand = new IncLibrary.IncButton(); this.btnAddCategory = new IncLibrary.IncButton(); this.incLabel5 = new IncLibrary.IncLabel(); this.incLabel4 = new IncLibrary.IncLabel(); this.incLabel3 = new IncLibrary.IncLabel(); this.incLabel2 = new IncLibrary.IncLabel(); this.incLabel1 = new IncLibrary.IncLabel(); this.dgvProduct = new System.Windows.Forms.DataGridView(); this.txtPrice = new System.Windows.Forms.TextBox(); this.txtProductName = new System.Windows.Forms.TextBox(); this.btnBrowse = new IncLibrary.IncButton(); this.panel1 = new System.Windows.Forms.Panel(); this.erpGeneral = new System.Windows.Forms.ErrorProvider(this.components); this.colFeaturesList = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colSN = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colProductName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colPrice = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colProductID = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colFeatures = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colBrandID = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colBrandName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colCategoryID = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colCategoryName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.txtProductID = new System.Windows.Forms.TextBox(); this._CloseButton = new StoreInventory.ButtonZ(); btnGetAllBrand = new IncLibrary.IncButton(); btnClear = new IncLibrary.IncButton(); this.grpProduct.SuspendLayout(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dgvFeatures)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dgvProduct)).BeginInit(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.erpGeneral)).BeginInit(); this.SuspendLayout(); // // btnGetAllBrand // btnGetAllBrand.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60))))); btnGetAllBrand.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); btnGetAllBrand.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); btnGetAllBrand.GlowColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(153)))), ((int)(((byte)(204))))); btnGetAllBrand.InnerBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); btnGetAllBrand.Location = new System.Drawing.Point(21, 238); btnGetAllBrand.Name = "btnGetAllBrand"; btnGetAllBrand.NextControl = null; btnGetAllBrand.OuterBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); btnGetAllBrand.PreviousControl = null; btnGetAllBrand.ShineColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); btnGetAllBrand.Size = new System.Drawing.Size(63, 39); btnGetAllBrand.TabIndex = 11; btnGetAllBrand.Text = "Get"; btnGetAllBrand.Click += new System.EventHandler(this.btnGetAllBrand_Click); // // btnClear // btnClear.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60))))); btnClear.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); btnClear.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); btnClear.GlowColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(153)))), ((int)(((byte)(204))))); btnClear.InnerBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); btnClear.Location = new System.Drawing.Point(21, 312); btnClear.Name = "btnClear"; btnClear.NextControl = null; btnClear.OuterBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); btnClear.PreviousControl = null; btnClear.ShineColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); btnClear.Size = new System.Drawing.Size(63, 39); btnClear.TabIndex = 11; btnClear.Text = "Clear"; btnClear.Click += new System.EventHandler(this.btnClear_Click); // // grpProduct // this.grpProduct.Controls.Add(this.groupBox1); this.grpProduct.Controls.Add(this.dgvFeatures); this.grpProduct.Controls.Add(this.cboBrand); this.grpProduct.Controls.Add(this.cboCategory); this.grpProduct.Controls.Add(this.pictureBox1); this.grpProduct.Controls.Add(this.btnAddBrand); this.grpProduct.Controls.Add(this.btnAddCategory); this.grpProduct.Controls.Add(this.incLabel5); this.grpProduct.Controls.Add(this.incLabel4); this.grpProduct.Controls.Add(this.incLabel3); this.grpProduct.Controls.Add(this.incLabel2); this.grpProduct.Controls.Add(this.incLabel1); this.grpProduct.Controls.Add(this.dgvProduct); this.grpProduct.Controls.Add(this.txtPrice); this.grpProduct.Controls.Add(this.txtProductName); this.grpProduct.Controls.Add(this.btnBrowse); this.grpProduct.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.grpProduct.ForeColor = System.Drawing.SystemColors.ButtonHighlight; this.grpProduct.Location = new System.Drawing.Point(12, 39); this.grpProduct.Name = "grpProduct"; this.grpProduct.Size = new System.Drawing.Size(939, 506); this.grpProduct.TabIndex = 12; this.grpProduct.TabStop = false; this.grpProduct.Text = "Add Product"; // // groupBox1 // this.groupBox1.Controls.Add(this.btnSave); this.groupBox1.Controls.Add(btnGetAllBrand); this.groupBox1.Controls.Add(btnClear); this.groupBox1.Controls.Add(this.btnDelete); this.groupBox1.Controls.Add(this.btnUpdate); this.groupBox1.Location = new System.Drawing.Point(812, 20); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(107, 374); this.groupBox1.TabIndex = 22; this.groupBox1.TabStop = false; // // btnSave // this.btnSave.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60))))); this.btnSave.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnSave.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.btnSave.GlowColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(153)))), ((int)(((byte)(204))))); this.btnSave.InnerBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); this.btnSave.Location = new System.Drawing.Point(21, 20); this.btnSave.Name = "btnSave"; this.btnSave.NextControl = null; this.btnSave.OuterBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.btnSave.PreviousControl = null; this.btnSave.ShineColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.btnSave.Size = new System.Drawing.Size(63, 39); this.btnSave.TabIndex = 11; this.btnSave.Text = "Save"; this.btnSave.Click += new System.EventHandler(this.btnSave_Click); // // btnDelete // this.btnDelete.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60))))); this.btnDelete.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnDelete.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.btnDelete.GlowColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(153)))), ((int)(((byte)(204))))); this.btnDelete.InnerBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); this.btnDelete.Location = new System.Drawing.Point(21, 171); this.btnDelete.Name = "btnDelete"; this.btnDelete.NextControl = null; this.btnDelete.OuterBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.btnDelete.PreviousControl = null; this.btnDelete.ShineColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.btnDelete.Size = new System.Drawing.Size(63, 39); this.btnDelete.TabIndex = 11; this.btnDelete.Text = "Delete"; this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click); // // btnUpdate // this.btnUpdate.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60))))); this.btnUpdate.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnUpdate.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.btnUpdate.GlowColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(153)))), ((int)(((byte)(204))))); this.btnUpdate.InnerBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); this.btnUpdate.Location = new System.Drawing.Point(21, 95); this.btnUpdate.Name = "btnUpdate"; this.btnUpdate.NextControl = null; this.btnUpdate.OuterBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.btnUpdate.PreviousControl = null; this.btnUpdate.ShineColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.btnUpdate.Size = new System.Drawing.Size(63, 39); this.btnUpdate.TabIndex = 11; this.btnUpdate.Text = "Update"; this.btnUpdate.Click += new System.EventHandler(this.btnUpdate_Click); // // dgvFeatures // this.dgvFeatures.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.dgvFeatures.BorderStyle = System.Windows.Forms.BorderStyle.None; dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); dataGridViewCellStyle1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText; dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True; this.dgvFeatures.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1; this.dgvFeatures.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dgvFeatures.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.colFeaturesList }); dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); dataGridViewCellStyle2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ButtonHighlight; dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False; this.dgvFeatures.DefaultCellStyle = dataGridViewCellStyle2; this.dgvFeatures.EnableHeadersVisualStyles = false; this.dgvFeatures.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.dgvFeatures.Location = new System.Drawing.Point(132, 203); this.dgvFeatures.Name = "dgvFeatures"; dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); dataGridViewCellStyle3.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.WindowText; dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True; this.dgvFeatures.RowHeadersDefaultCellStyle = dataGridViewCellStyle3; this.dgvFeatures.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; this.dgvFeatures.Size = new System.Drawing.Size(256, 168); this.dgvFeatures.TabIndex = 21; // // cboBrand // this.cboBrand.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.cboBrand.FormattingEnabled = true; this.cboBrand.Location = new System.Drawing.Point(132, 87); this.cboBrand.Name = "cboBrand"; this.cboBrand.Size = new System.Drawing.Size(252, 23); this.cboBrand.TabIndex = 20; // // cboCategory // this.cboCategory.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.cboCategory.FormattingEnabled = true; this.cboCategory.Location = new System.Drawing.Point(132, 28); this.cboCategory.Name = "cboCategory"; this.cboCategory.Size = new System.Drawing.Size(252, 23); this.cboCategory.TabIndex = 19; this.cboCategory.SelectedIndexChanged += new System.EventHandler(this.cboCategory_SelectedIndexChanged); this.cboCategory.TextChanged += new System.EventHandler(this.cboCategory_TextChanged); // // pictureBox1 // this.pictureBox1.Location = new System.Drawing.Point(587, 30); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size(206, 198); this.pictureBox1.TabIndex = 18; this.pictureBox1.TabStop = false; // // btnAddBrand // this.btnAddBrand.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60))))); this.btnAddBrand.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.btnAddBrand.GlowColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(153)))), ((int)(((byte)(204))))); this.btnAddBrand.InnerBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); this.btnAddBrand.Location = new System.Drawing.Point(397, 86); this.btnAddBrand.Name = "btnAddBrand"; this.btnAddBrand.NextControl = null; this.btnAddBrand.OuterBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.btnAddBrand.PreviousControl = null; this.btnAddBrand.ShineColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.btnAddBrand.Size = new System.Drawing.Size(19, 23); this.btnAddBrand.TabIndex = 17; this.btnAddBrand.Text = "+"; this.btnAddBrand.Click += new System.EventHandler(this.btnAddBrand_Click); // // btnAddCategory // this.btnAddCategory.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60))))); this.btnAddCategory.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.btnAddCategory.GlowColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(153)))), ((int)(((byte)(204))))); this.btnAddCategory.InnerBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); this.btnAddCategory.Location = new System.Drawing.Point(397, 28); this.btnAddCategory.Name = "btnAddCategory"; this.btnAddCategory.NextControl = null; this.btnAddCategory.OuterBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.btnAddCategory.PreviousControl = null; this.btnAddCategory.ShineColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.btnAddCategory.Size = new System.Drawing.Size(19, 23); this.btnAddCategory.TabIndex = 16; this.btnAddCategory.Text = "+"; this.btnAddCategory.Click += new System.EventHandler(this.btnAddCategory_Click); // // incLabel5 // this.incLabel5.AutoSize = true; this.incLabel5.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.incLabel5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.incLabel5.Location = new System.Drawing.Point(79, 402); this.incLabel5.Name = "incLabel5"; this.incLabel5.Readonly = false; this.incLabel5.Size = new System.Drawing.Size(40, 17); this.incLabel5.TabIndex = 15; this.incLabel5.Text = "Price"; this.incLabel5.ValueByOrchestrator = "Price"; // // incLabel4 // this.incLabel4.AutoSize = true; this.incLabel4.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.incLabel4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.incLabel4.Location = new System.Drawing.Point(55, 268); this.incLabel4.Name = "incLabel4"; this.incLabel4.Readonly = false; this.incLabel4.Size = new System.Drawing.Size(64, 17); this.incLabel4.TabIndex = 15; this.incLabel4.Text = "Features"; this.incLabel4.ValueByOrchestrator = "Features"; // // incLabel3 // this.incLabel3.AutoSize = true; this.incLabel3.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.incLabel3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.incLabel3.Location = new System.Drawing.Point(13, 156); this.incLabel3.Name = "incLabel3"; this.incLabel3.Readonly = false; this.incLabel3.Size = new System.Drawing.Size(98, 17); this.incLabel3.TabIndex = 15; this.incLabel3.Text = "Product Name"; this.incLabel3.ValueByOrchestrator = "Product Name"; // // incLabel2 // this.incLabel2.AutoSize = true; this.incLabel2.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.incLabel2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.incLabel2.Location = new System.Drawing.Point(13, 30); this.incLabel2.Name = "incLabel2"; this.incLabel2.Readonly = false; this.incLabel2.Size = new System.Drawing.Size(106, 17); this.incLabel2.TabIndex = 15; this.incLabel2.Text = "Category Name"; this.incLabel2.ValueByOrchestrator = "Category Name"; // // incLabel1 // this.incLabel1.AutoSize = true; this.incLabel1.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.incLabel1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.incLabel1.Location = new System.Drawing.Point(32, 93); this.incLabel1.Name = "incLabel1"; this.incLabel1.Readonly = false; this.incLabel1.Size = new System.Drawing.Size(87, 17); this.incLabel1.TabIndex = 15; this.incLabel1.Text = "Brand Name"; this.incLabel1.ValueByOrchestrator = "Brand Name"; // // dgvProduct // this.dgvProduct.AllowUserToAddRows = false; this.dgvProduct.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.dgvProduct.BorderStyle = System.Windows.Forms.BorderStyle.None; dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); dataGridViewCellStyle4.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText; dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True; this.dgvProduct.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle4; this.dgvProduct.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dgvProduct.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.colSN, this.colProductName, this.colPrice, this.colProductID, this.colFeatures, this.colBrandID, this.colBrandName, this.colCategoryID, this.colCategoryName }); dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); dataGridViewCellStyle5.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); dataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.ButtonHighlight; dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.False; this.dgvProduct.DefaultCellStyle = dataGridViewCellStyle5; this.dgvProduct.EnableHeadersVisualStyles = false; this.dgvProduct.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.dgvProduct.Location = new System.Drawing.Point(424, 21); this.dgvProduct.Name = "dgvProduct"; this.dgvProduct.ReadOnly = true; dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); dataGridViewCellStyle6.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); dataGridViewCellStyle6.ForeColor = System.Drawing.SystemColors.WindowText; dataGridViewCellStyle6.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle6.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.True; this.dgvProduct.RowHeadersDefaultCellStyle = dataGridViewCellStyle6; this.dgvProduct.ScrollBars = System.Windows.Forms.ScrollBars.None; this.dgvProduct.Size = new System.Drawing.Size(145, 444); this.dgvProduct.TabIndex = 12; this.dgvProduct.Click += new System.EventHandler(this.dgvProduct_Click); // // txtPrice // this.txtPrice.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.txtPrice.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtPrice.ForeColor = System.Drawing.SystemColors.Window; this.txtPrice.Location = new System.Drawing.Point(132, 396); this.txtPrice.Name = "txtPrice"; this.txtPrice.Size = new System.Drawing.Size(61, 23); this.txtPrice.TabIndex = 9; this.txtPrice.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtPrice_KeyPress); // // txtProductName // this.txtProductName.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.txtProductName.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtProductName.ForeColor = System.Drawing.SystemColors.Window; this.txtProductName.Location = new System.Drawing.Point(132, 154); this.txtProductName.Name = "txtProductName"; this.txtProductName.Size = new System.Drawing.Size(256, 23); this.txtProductName.TabIndex = 9; this.txtProductName.TextChanged += new System.EventHandler(this.txtProductName_TextChanged); // // btnBrowse // this.btnBrowse.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60))))); this.btnBrowse.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnBrowse.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.btnBrowse.GlowColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(153)))), ((int)(((byte)(204))))); this.btnBrowse.InnerBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); this.btnBrowse.Location = new System.Drawing.Point(587, 234); this.btnBrowse.Name = "btnBrowse"; this.btnBrowse.NextControl = null; this.btnBrowse.OuterBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.btnBrowse.PreviousControl = null; this.btnBrowse.ShineColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.btnBrowse.Size = new System.Drawing.Size(206, 39); this.btnBrowse.TabIndex = 11; this.btnBrowse.Text = "Browse"; // // panel1 // this.panel1.Controls.Add(this.txtProductID); this.panel1.Controls.Add(this._CloseButton); 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(964, 33); this.panel1.TabIndex = 8; // // erpGeneral // this.erpGeneral.ContainerControl = this; // // colFeaturesList // this.colFeaturesList.HeaderText = "Features"; this.colFeaturesList.Name = "colFeaturesList"; this.colFeaturesList.Width = 214; // // colSN // this.colSN.HeaderText = "SN"; this.colSN.Name = "colSN"; this.colSN.ReadOnly = true; this.colSN.Visible = false; this.colSN.Width = 30; // // colProductName // this.colProductName.HeaderText = "Product"; this.colProductName.Name = "colProductName"; this.colProductName.ReadOnly = true; // // colPrice // this.colPrice.HeaderText = "Price"; this.colPrice.Name = "colPrice"; this.colPrice.ReadOnly = true; // // colProductID // this.colProductID.HeaderText = "ProductID"; this.colProductID.Name = "colProductID"; this.colProductID.ReadOnly = true; this.colProductID.Visible = false; // // colFeatures // this.colFeatures.HeaderText = "Features"; this.colFeatures.Name = "colFeatures"; this.colFeatures.ReadOnly = true; this.colFeatures.Visible = false; // // colBrandID // this.colBrandID.HeaderText = "BrandID"; this.colBrandID.Name = "colBrandID"; this.colBrandID.ReadOnly = true; this.colBrandID.Visible = false; // // colBrandName // this.colBrandName.HeaderText = "BrandName"; this.colBrandName.Name = "colBrandName"; this.colBrandName.ReadOnly = true; this.colBrandName.Visible = false; // // colCategoryID // this.colCategoryID.HeaderText = "CategoryID"; this.colCategoryID.Name = "colCategoryID"; this.colCategoryID.ReadOnly = true; this.colCategoryID.Visible = false; // // colCategoryName // this.colCategoryName.HeaderText = "CategoryName"; this.colCategoryName.Name = "colCategoryName"; this.colCategoryName.ReadOnly = true; this.colCategoryName.Visible = false; // // txtProductID // this.txtProductID.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.txtProductID.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtProductID.ForeColor = System.Drawing.SystemColors.Window; this.txtProductID.Location = new System.Drawing.Point(419, 5); this.txtProductID.Name = "txtProductID"; this.txtProductID.Size = new System.Drawing.Size(61, 23); this.txtProductID.TabIndex = 23; this.txtProductID.Visible = false; // // _CloseButton // this._CloseButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this._CloseButton.BZBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); this._CloseButton.DisplayText = "X"; this._CloseButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this._CloseButton.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this._CloseButton.ForeColor = System.Drawing.Color.White; this._CloseButton.Location = new System.Drawing.Point(930, 3); this._CloseButton.MouseClickColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(160))))); this._CloseButton.MouseHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(50)))), ((int)(((byte)(50))))); this._CloseButton.Name = "_CloseButton"; this._CloseButton.Size = new System.Drawing.Size(31, 24); this._CloseButton.TabIndex = 1; this._CloseButton.Text = "X"; this._CloseButton.TextLocation_X = 6; this._CloseButton.TextLocation_Y = 1; this._CloseButton.UseVisualStyleBackColor = true; this._CloseButton.Click += new System.EventHandler(this._CloseButton_Click); // // frmProduct // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48))))); this.ClientSize = new System.Drawing.Size(964, 557); this.ControlBox = false; this.Controls.Add(this.grpProduct); this.Controls.Add(this.panel1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "frmProduct"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Login"; this.Load += new System.EventHandler(this.frmProduct_Load); this.grpProduct.ResumeLayout(false); this.grpProduct.PerformLayout(); this.groupBox1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dgvFeatures)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dgvProduct)).EndInit(); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.erpGeneral)).EndInit(); this.ResumeLayout(false); }