You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
546 lines
30 KiB
546 lines
30 KiB
3 months ago
|
using BiskLog_Point_Of_Sale.Classes;
|
||
|
|
||
|
namespace BiskLog_Point_Of_Sale.Products_Module
|
||
|
{
|
||
|
partial class Prices
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// Required designer variable.
|
||
|
/// </summary>
|
||
|
private System.ComponentModel.IContainer components = null;
|
||
|
|
||
|
/// <summary>
|
||
|
/// Clean up any resources being used.
|
||
|
/// </summary>
|
||
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||
|
protected override void Dispose(bool disposing)
|
||
|
{
|
||
|
if (disposing && (components != null))
|
||
|
{
|
||
|
components.Dispose();
|
||
|
}
|
||
|
base.Dispose(disposing);
|
||
|
}
|
||
|
|
||
|
#region Windows Form Designer generated code
|
||
|
|
||
|
/// <summary>
|
||
|
/// Required method for Designer support - do not modify
|
||
|
/// the contents of this method with the code editor.
|
||
|
/// </summary>
|
||
|
private void InitializeComponent()
|
||
|
{
|
||
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Prices));
|
||
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
|
||
|
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();
|
||
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
|
||
|
this.panel2 = new System.Windows.Forms.Panel();
|
||
|
this.panel5 = new System.Windows.Forms.Panel();
|
||
|
this.updateBox = new System.Windows.Forms.GroupBox();
|
||
|
this.holding2 = new MetroFramework.Controls.MetroProgressSpinner();
|
||
|
this.button1 = new System.Windows.Forms.Button();
|
||
|
this.BTNsave = new System.Windows.Forms.Button();
|
||
|
this.txtProductID = new System.Windows.Forms.TextBox();
|
||
|
this.newPrice = new System.Windows.Forms.TextBox();
|
||
|
this.lblProductName = new System.Windows.Forms.Label();
|
||
|
this.previousPrice = new System.Windows.Forms.Label();
|
||
|
this.label7 = new System.Windows.Forms.Label();
|
||
|
this.label3 = new System.Windows.Forms.Label();
|
||
|
this.label2 = new System.Windows.Forms.Label();
|
||
|
this.label1 = new System.Windows.Forms.Label();
|
||
|
this.panel3 = new System.Windows.Forms.Panel();
|
||
|
this.txtSearch = new MetroFramework.Controls.MetroTextBox();
|
||
|
this.panel4 = new System.Windows.Forms.Panel();
|
||
|
this.holding = new MetroFramework.Controls.MetroProgressSpinner();
|
||
|
this.products = new System.Windows.Forms.DataGridView();
|
||
|
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||
|
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||
|
this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||
|
this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||
|
this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||
|
this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||
|
this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||
|
this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||
|
this.linkLabel1 = new System.Windows.Forms.LinkLabel();
|
||
|
this.header = new BiskLog_Point_Of_Sale.Classes.gradientPanel();
|
||
|
this.label4 = new System.Windows.Forms.Label();
|
||
|
this.panel2.SuspendLayout();
|
||
|
this.updateBox.SuspendLayout();
|
||
|
this.panel3.SuspendLayout();
|
||
|
this.panel4.SuspendLayout();
|
||
|
((System.ComponentModel.ISupportInitialize)(this.products)).BeginInit();
|
||
|
this.header.SuspendLayout();
|
||
|
this.SuspendLayout();
|
||
|
//
|
||
|
// panel2
|
||
|
//
|
||
|
this.panel2.Controls.Add(this.panel5);
|
||
|
this.panel2.Controls.Add(this.updateBox);
|
||
|
this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
|
||
|
this.panel2.Location = new System.Drawing.Point(0, 36);
|
||
|
this.panel2.Margin = new System.Windows.Forms.Padding(4);
|
||
|
this.panel2.Name = "panel2";
|
||
|
this.panel2.Size = new System.Drawing.Size(1346, 208);
|
||
|
this.panel2.TabIndex = 4;
|
||
|
//
|
||
|
// panel5
|
||
|
//
|
||
|
this.panel5.BackColor = System.Drawing.SystemColors.ButtonShadow;
|
||
|
this.panel5.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||
|
this.panel5.Location = new System.Drawing.Point(0, 207);
|
||
|
this.panel5.Name = "panel5";
|
||
|
this.panel5.Size = new System.Drawing.Size(1346, 1);
|
||
|
this.panel5.TabIndex = 1;
|
||
|
//
|
||
|
// updateBox
|
||
|
//
|
||
|
this.updateBox.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||
|
this.updateBox.Controls.Add(this.linkLabel1);
|
||
|
this.updateBox.Controls.Add(this.holding2);
|
||
|
this.updateBox.Controls.Add(this.button1);
|
||
|
this.updateBox.Controls.Add(this.BTNsave);
|
||
|
this.updateBox.Controls.Add(this.txtProductID);
|
||
|
this.updateBox.Controls.Add(this.newPrice);
|
||
|
this.updateBox.Controls.Add(this.lblProductName);
|
||
|
this.updateBox.Controls.Add(this.previousPrice);
|
||
|
this.updateBox.Controls.Add(this.label7);
|
||
|
this.updateBox.Controls.Add(this.label3);
|
||
|
this.updateBox.Controls.Add(this.label2);
|
||
|
this.updateBox.Controls.Add(this.label1);
|
||
|
this.updateBox.Location = new System.Drawing.Point(281, -5);
|
||
|
this.updateBox.Margin = new System.Windows.Forms.Padding(4);
|
||
|
this.updateBox.Name = "updateBox";
|
||
|
this.updateBox.Padding = new System.Windows.Forms.Padding(4);
|
||
|
this.updateBox.Size = new System.Drawing.Size(551, 209);
|
||
|
this.updateBox.TabIndex = 0;
|
||
|
this.updateBox.TabStop = false;
|
||
|
//
|
||
|
// holding2
|
||
|
//
|
||
|
this.holding2.Location = new System.Drawing.Point(231, 67);
|
||
|
this.holding2.Maximum = 100;
|
||
|
this.holding2.Name = "holding2";
|
||
|
this.holding2.Size = new System.Drawing.Size(37, 35);
|
||
|
this.holding2.TabIndex = 3;
|
||
|
this.holding2.UseCustomBackColor = true;
|
||
|
this.holding2.UseSelectable = true;
|
||
|
this.holding2.Visible = false;
|
||
|
//
|
||
|
// button1
|
||
|
//
|
||
|
this.button1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(158)))), ((int)(((byte)(132)))));
|
||
|
this.button1.Cursor = System.Windows.Forms.Cursors.Hand;
|
||
|
this.button1.Font = new System.Drawing.Font("Segoe UI", 10F);
|
||
|
this.button1.ForeColor = System.Drawing.Color.White;
|
||
|
this.button1.Location = new System.Drawing.Point(401, 17);
|
||
|
this.button1.Name = "button1";
|
||
|
this.button1.Size = new System.Drawing.Size(135, 39);
|
||
|
this.button1.TabIndex = 2;
|
||
|
this.button1.Text = "SEARCH";
|
||
|
this.button1.UseVisualStyleBackColor = false;
|
||
|
this.button1.Click += new System.EventHandler(this.Button1_Click);
|
||
|
//
|
||
|
// BTNsave
|
||
|
//
|
||
|
this.BTNsave.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(187)))), ((int)(((byte)(56)))));
|
||
|
this.BTNsave.Cursor = System.Windows.Forms.Cursors.Hand;
|
||
|
this.BTNsave.Enabled = false;
|
||
|
this.BTNsave.Font = new System.Drawing.Font("Segoe UI", 10F);
|
||
|
this.BTNsave.ForeColor = System.Drawing.Color.Gray;
|
||
|
this.BTNsave.Location = new System.Drawing.Point(145, 155);
|
||
|
this.BTNsave.Name = "BTNsave";
|
||
|
this.BTNsave.Size = new System.Drawing.Size(139, 39);
|
||
|
this.BTNsave.TabIndex = 2;
|
||
|
this.BTNsave.Text = "UPDATE";
|
||
|
this.BTNsave.UseVisualStyleBackColor = false;
|
||
|
this.BTNsave.Click += new System.EventHandler(this.BTNsave_Click);
|
||
|
//
|
||
|
// txtProductID
|
||
|
//
|
||
|
this.txtProductID.Font = new System.Drawing.Font("Segoe UI", 10F);
|
||
|
this.txtProductID.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(52)))), ((int)(((byte)(69)))));
|
||
|
this.txtProductID.Location = new System.Drawing.Point(173, 21);
|
||
|
this.txtProductID.Name = "txtProductID";
|
||
|
this.txtProductID.Size = new System.Drawing.Size(204, 25);
|
||
|
this.txtProductID.TabIndex = 1;
|
||
|
this.txtProductID.TextChanged += new System.EventHandler(this.TxtProductID_TextChanged);
|
||
|
//
|
||
|
// newPrice
|
||
|
//
|
||
|
this.newPrice.Enabled = false;
|
||
|
this.newPrice.Font = new System.Drawing.Font("Segoe UI", 10F);
|
||
|
this.newPrice.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(52)))), ((int)(((byte)(69)))));
|
||
|
this.newPrice.Location = new System.Drawing.Point(173, 114);
|
||
|
this.newPrice.Name = "newPrice";
|
||
|
this.newPrice.Size = new System.Drawing.Size(204, 25);
|
||
|
this.newPrice.TabIndex = 1;
|
||
|
this.newPrice.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.newPrice_KeyPress);
|
||
|
//
|
||
|
// lblProductName
|
||
|
//
|
||
|
this.lblProductName.AutoSize = true;
|
||
|
this.lblProductName.Font = new System.Drawing.Font("Segoe UI", 10F);
|
||
|
this.lblProductName.Location = new System.Drawing.Point(169, 57);
|
||
|
this.lblProductName.Name = "lblProductName";
|
||
|
this.lblProductName.Size = new System.Drawing.Size(0, 19);
|
||
|
this.lblProductName.TabIndex = 0;
|
||
|
//
|
||
|
// previousPrice
|
||
|
//
|
||
|
this.previousPrice.AutoSize = true;
|
||
|
this.previousPrice.Font = new System.Drawing.Font("Segoe UI", 10F);
|
||
|
this.previousPrice.Location = new System.Drawing.Point(169, 87);
|
||
|
this.previousPrice.Name = "previousPrice";
|
||
|
this.previousPrice.Size = new System.Drawing.Size(0, 19);
|
||
|
this.previousPrice.TabIndex = 0;
|
||
|
//
|
||
|
// label7
|
||
|
//
|
||
|
this.label7.AutoSize = true;
|
||
|
this.label7.Font = new System.Drawing.Font("Segoe UI", 10F);
|
||
|
this.label7.Location = new System.Drawing.Point(15, 117);
|
||
|
this.label7.Name = "label7";
|
||
|
this.label7.Size = new System.Drawing.Size(79, 19);
|
||
|
this.label7.TabIndex = 0;
|
||
|
this.label7.Text = "NEW PRICE";
|
||
|
//
|
||
|
// label3
|
||
|
//
|
||
|
this.label3.AutoSize = true;
|
||
|
this.label3.Font = new System.Drawing.Font("Segoe UI", 10F);
|
||
|
this.label3.Location = new System.Drawing.Point(15, 87);
|
||
|
this.label3.Name = "label3";
|
||
|
this.label3.Size = new System.Drawing.Size(113, 19);
|
||
|
this.label3.TabIndex = 0;
|
||
|
this.label3.Text = "PREVIOUS PRICE";
|
||
|
//
|
||
|
// label2
|
||
|
//
|
||
|
this.label2.AutoSize = true;
|
||
|
this.label2.Font = new System.Drawing.Font("Segoe UI", 10F);
|
||
|
this.label2.Location = new System.Drawing.Point(15, 57);
|
||
|
this.label2.Name = "label2";
|
||
|
this.label2.Size = new System.Drawing.Size(115, 19);
|
||
|
this.label2.TabIndex = 0;
|
||
|
this.label2.Text = "PRODUCT NAME";
|
||
|
//
|
||
|
// label1
|
||
|
//
|
||
|
this.label1.AutoSize = true;
|
||
|
this.label1.Font = new System.Drawing.Font("Segoe UI", 10F);
|
||
|
this.label1.Location = new System.Drawing.Point(15, 24);
|
||
|
this.label1.Name = "label1";
|
||
|
this.label1.Size = new System.Drawing.Size(113, 19);
|
||
|
this.label1.TabIndex = 0;
|
||
|
this.label1.Text = "PRODUCT CODE";
|
||
|
//
|
||
|
// panel3
|
||
|
//
|
||
|
this.panel3.Controls.Add(this.txtSearch);
|
||
|
this.panel3.Dock = System.Windows.Forms.DockStyle.Top;
|
||
|
this.panel3.Location = new System.Drawing.Point(0, 244);
|
||
|
this.panel3.Margin = new System.Windows.Forms.Padding(4);
|
||
|
this.panel3.Name = "panel3";
|
||
|
this.panel3.Size = new System.Drawing.Size(1346, 35);
|
||
|
this.panel3.TabIndex = 5;
|
||
|
//
|
||
|
// txtSearch
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
this.txtSearch.CustomButton.Image = null;
|
||
|
this.txtSearch.CustomButton.Location = new System.Drawing.Point(365, 1);
|
||
|
this.txtSearch.CustomButton.Margin = new System.Windows.Forms.Padding(4);
|
||
|
this.txtSearch.CustomButton.Name = "";
|
||
|
this.txtSearch.CustomButton.Size = new System.Drawing.Size(33, 33);
|
||
|
this.txtSearch.CustomButton.Style = MetroFramework.MetroColorStyle.Blue;
|
||
|
this.txtSearch.CustomButton.TabIndex = 1;
|
||
|
this.txtSearch.CustomButton.Theme = MetroFramework.MetroThemeStyle.Light;
|
||
|
this.txtSearch.CustomButton.UseSelectable = true;
|
||
|
this.txtSearch.CustomButton.Visible = false;
|
||
|
this.txtSearch.DisplayIcon = true;
|
||
|
this.txtSearch.Dock = System.Windows.Forms.DockStyle.Right;
|
||
|
this.txtSearch.FontSize = MetroFramework.MetroTextBoxSize.Medium;
|
||
|
this.txtSearch.Icon = ((System.Drawing.Image)(resources.GetObject("txtSearch.Icon")));
|
||
|
this.txtSearch.Lines = new string[0];
|
||
|
this.txtSearch.Location = new System.Drawing.Point(947, 0);
|
||
|
this.txtSearch.Margin = new System.Windows.Forms.Padding(4);
|
||
|
this.txtSearch.MaxLength = 32767;
|
||
|
this.txtSearch.Name = "txtSearch";
|
||
|
this.txtSearch.PasswordChar = '\0';
|
||
|
this.txtSearch.PromptText = "Enter product name ,code or description here";
|
||
|
this.txtSearch.ScrollBars = System.Windows.Forms.ScrollBars.None;
|
||
|
this.txtSearch.SelectedText = "";
|
||
|
this.txtSearch.SelectionLength = 0;
|
||
|
this.txtSearch.SelectionStart = 0;
|
||
|
this.txtSearch.ShortcutsEnabled = true;
|
||
|
this.txtSearch.Size = new System.Drawing.Size(399, 35);
|
||
|
this.txtSearch.TabIndex = 14;
|
||
|
this.txtSearch.UseSelectable = true;
|
||
|
this.txtSearch.WaterMark = "Enter product name ,code or description here";
|
||
|
this.txtSearch.WaterMarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
|
||
|
this.txtSearch.WaterMarkFont = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||
|
this.txtSearch.TextChanged += new System.EventHandler(this.txtSearch_TextChanged);
|
||
|
//
|
||
|
// panel4
|
||
|
//
|
||
|
this.panel4.Controls.Add(this.holding);
|
||
|
this.panel4.Controls.Add(this.products);
|
||
|
this.panel4.Dock = System.Windows.Forms.DockStyle.Fill;
|
||
|
this.panel4.Location = new System.Drawing.Point(0, 279);
|
||
|
this.panel4.Margin = new System.Windows.Forms.Padding(4);
|
||
|
this.panel4.Name = "panel4";
|
||
|
this.panel4.Size = new System.Drawing.Size(1346, 744);
|
||
|
this.panel4.TabIndex = 6;
|
||
|
//
|
||
|
// holding
|
||
|
//
|
||
|
this.holding.Location = new System.Drawing.Point(554, 288);
|
||
|
this.holding.Margin = new System.Windows.Forms.Padding(4);
|
||
|
this.holding.Maximum = 100;
|
||
|
this.holding.Name = "holding";
|
||
|
this.holding.Size = new System.Drawing.Size(70, 58);
|
||
|
this.holding.TabIndex = 13;
|
||
|
this.holding.UseSelectable = true;
|
||
|
//
|
||
|
// products
|
||
|
//
|
||
|
this.products.AllowUserToAddRows = false;
|
||
|
this.products.AllowUserToDeleteRows = false;
|
||
|
this.products.AllowUserToResizeColumns = false;
|
||
|
this.products.AllowUserToResizeRows = false;
|
||
|
dataGridViewCellStyle6.BackColor = System.Drawing.Color.White;
|
||
|
dataGridViewCellStyle6.Font = new System.Drawing.Font("Segoe UI", 12F);
|
||
|
dataGridViewCellStyle6.ForeColor = System.Drawing.Color.Black;
|
||
|
dataGridViewCellStyle6.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||
|
dataGridViewCellStyle6.SelectionForeColor = System.Drawing.Color.White;
|
||
|
this.products.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle6;
|
||
|
this.products.BackgroundColor = System.Drawing.Color.White;
|
||
|
this.products.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None;
|
||
|
dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||
|
dataGridViewCellStyle7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(10)))), ((int)(((byte)(10)))), ((int)(((byte)(56)))));
|
||
|
dataGridViewCellStyle7.Font = new System.Drawing.Font("Segoe UI", 12F);
|
||
|
dataGridViewCellStyle7.ForeColor = System.Drawing.Color.White;
|
||
|
dataGridViewCellStyle7.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||
|
dataGridViewCellStyle7.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||
|
dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||
|
this.products.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle7;
|
||
|
this.products.ColumnHeadersHeight = 30;
|
||
|
this.products.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
|
||
|
this.products.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||
|
this.dataGridViewTextBoxColumn1,
|
||
|
this.dataGridViewTextBoxColumn2,
|
||
|
this.dataGridViewTextBoxColumn3,
|
||
|
this.dataGridViewTextBoxColumn4,
|
||
|
this.dataGridViewTextBoxColumn5,
|
||
|
this.dataGridViewTextBoxColumn6,
|
||
|
this.dataGridViewTextBoxColumn7,
|
||
|
this.dataGridViewTextBoxColumn8});
|
||
|
this.products.Cursor = System.Windows.Forms.Cursors.Hand;
|
||
|
dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||
|
dataGridViewCellStyle8.BackColor = System.Drawing.SystemColors.Window;
|
||
|
dataGridViewCellStyle8.Font = new System.Drawing.Font("Segoe UI", 12F);
|
||
|
dataGridViewCellStyle8.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(52)))), ((int)(((byte)(69)))));
|
||
|
dataGridViewCellStyle8.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||
|
dataGridViewCellStyle8.SelectionForeColor = System.Drawing.Color.White;
|
||
|
dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||
|
this.products.DefaultCellStyle = dataGridViewCellStyle8;
|
||
|
this.products.Dock = System.Windows.Forms.DockStyle.Fill;
|
||
|
this.products.EnableHeadersVisualStyles = false;
|
||
|
this.products.Location = new System.Drawing.Point(0, 0);
|
||
|
this.products.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
|
||
|
this.products.Name = "products";
|
||
|
this.products.ReadOnly = true;
|
||
|
this.products.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None;
|
||
|
dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||
|
dataGridViewCellStyle9.BackColor = System.Drawing.SystemColors.ActiveCaptionText;
|
||
|
dataGridViewCellStyle9.Font = new System.Drawing.Font("Segoe UI", 12F);
|
||
|
dataGridViewCellStyle9.ForeColor = System.Drawing.Color.White;
|
||
|
dataGridViewCellStyle9.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||
|
dataGridViewCellStyle9.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||
|
dataGridViewCellStyle9.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||
|
this.products.RowHeadersDefaultCellStyle = dataGridViewCellStyle9;
|
||
|
this.products.RowHeadersVisible = false;
|
||
|
dataGridViewCellStyle10.BackColor = System.Drawing.Color.White;
|
||
|
dataGridViewCellStyle10.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||
|
dataGridViewCellStyle10.ForeColor = System.Drawing.Color.Black;
|
||
|
dataGridViewCellStyle10.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||
|
dataGridViewCellStyle10.SelectionForeColor = System.Drawing.Color.White;
|
||
|
dataGridViewCellStyle10.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||
|
this.products.RowsDefaultCellStyle = dataGridViewCellStyle10;
|
||
|
this.products.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
||
|
this.products.Size = new System.Drawing.Size(1346, 744);
|
||
|
this.products.TabIndex = 13;
|
||
|
this.products.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.Products_CellClick);
|
||
|
//
|
||
|
// dataGridViewTextBoxColumn1
|
||
|
//
|
||
|
this.dataGridViewTextBoxColumn1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
|
||
|
this.dataGridViewTextBoxColumn1.HeaderText = "#";
|
||
|
this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
|
||
|
this.dataGridViewTextBoxColumn1.ReadOnly = true;
|
||
|
this.dataGridViewTextBoxColumn1.Width = 42;
|
||
|
//
|
||
|
// dataGridViewTextBoxColumn2
|
||
|
//
|
||
|
this.dataGridViewTextBoxColumn2.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
|
||
|
this.dataGridViewTextBoxColumn2.DataPropertyName = "pcode";
|
||
|
this.dataGridViewTextBoxColumn2.HeaderText = "PCODE";
|
||
|
this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
|
||
|
this.dataGridViewTextBoxColumn2.ReadOnly = true;
|
||
|
this.dataGridViewTextBoxColumn2.Width = 83;
|
||
|
//
|
||
|
// dataGridViewTextBoxColumn3
|
||
|
//
|
||
|
this.dataGridViewTextBoxColumn3.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
|
||
|
this.dataGridViewTextBoxColumn3.HeaderText = "PRODUCT NAME";
|
||
|
this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
|
||
|
this.dataGridViewTextBoxColumn3.ReadOnly = true;
|
||
|
this.dataGridViewTextBoxColumn3.Width = 152;
|
||
|
//
|
||
|
// dataGridViewTextBoxColumn4
|
||
|
//
|
||
|
this.dataGridViewTextBoxColumn4.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||
|
this.dataGridViewTextBoxColumn4.DataPropertyName = "pdesc";
|
||
|
this.dataGridViewTextBoxColumn4.HeaderText = "DESCRIPTION";
|
||
|
this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
|
||
|
this.dataGridViewTextBoxColumn4.ReadOnly = true;
|
||
|
//
|
||
|
// dataGridViewTextBoxColumn5
|
||
|
//
|
||
|
this.dataGridViewTextBoxColumn5.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
|
||
|
this.dataGridViewTextBoxColumn5.DataPropertyName = "brand";
|
||
|
this.dataGridViewTextBoxColumn5.HeaderText = "BRAND";
|
||
|
this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
|
||
|
this.dataGridViewTextBoxColumn5.ReadOnly = true;
|
||
|
this.dataGridViewTextBoxColumn5.Width = 85;
|
||
|
//
|
||
|
// dataGridViewTextBoxColumn6
|
||
|
//
|
||
|
this.dataGridViewTextBoxColumn6.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
|
||
|
this.dataGridViewTextBoxColumn6.HeaderText = "DATE CHANGED";
|
||
|
this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
|
||
|
this.dataGridViewTextBoxColumn6.ReadOnly = true;
|
||
|
this.dataGridViewTextBoxColumn6.Width = 146;
|
||
|
//
|
||
|
// dataGridViewTextBoxColumn7
|
||
|
//
|
||
|
this.dataGridViewTextBoxColumn7.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
|
||
|
this.dataGridViewTextBoxColumn7.DataPropertyName = "price";
|
||
|
this.dataGridViewTextBoxColumn7.HeaderText = "PREVIOUS PRICE";
|
||
|
this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7";
|
||
|
this.dataGridViewTextBoxColumn7.ReadOnly = true;
|
||
|
this.dataGridViewTextBoxColumn7.Width = 151;
|
||
|
//
|
||
|
// dataGridViewTextBoxColumn8
|
||
|
//
|
||
|
this.dataGridViewTextBoxColumn8.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
|
||
|
this.dataGridViewTextBoxColumn8.HeaderText = "CURRENT PRICE";
|
||
|
this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8";
|
||
|
this.dataGridViewTextBoxColumn8.ReadOnly = true;
|
||
|
this.dataGridViewTextBoxColumn8.Width = 147;
|
||
|
//
|
||
|
// linkLabel1
|
||
|
//
|
||
|
this.linkLabel1.AutoSize = true;
|
||
|
this.linkLabel1.Location = new System.Drawing.Point(323, 163);
|
||
|
this.linkLabel1.Name = "linkLabel1";
|
||
|
this.linkLabel1.Size = new System.Drawing.Size(191, 21);
|
||
|
this.linkLabel1.TabIndex = 4;
|
||
|
this.linkLabel1.TabStop = true;
|
||
|
this.linkLabel1.Text = "Alter prices for other units";
|
||
|
this.linkLabel1.Click += new System.EventHandler(this.Button1_Click);
|
||
|
//
|
||
|
// header
|
||
|
//
|
||
|
this.header.BackColor = System.Drawing.Color.Transparent;
|
||
|
this.header.ColorBottom = System.Drawing.Color.FromArgb(((int)(((byte)(10)))), ((int)(((byte)(10)))), ((int)(((byte)(56)))));
|
||
|
this.header.ColorTop = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(158)))), ((int)(((byte)(132)))));
|
||
|
this.header.Controls.Add(this.label4);
|
||
|
this.header.Dock = System.Windows.Forms.DockStyle.Top;
|
||
|
this.header.Location = new System.Drawing.Point(0, 0);
|
||
|
this.header.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
|
||
|
this.header.Name = "header";
|
||
|
this.header.Size = new System.Drawing.Size(1346, 36);
|
||
|
this.header.TabIndex = 3;
|
||
|
//
|
||
|
// label4
|
||
|
//
|
||
|
this.label4.BackColor = System.Drawing.Color.Transparent;
|
||
|
this.label4.Dock = System.Windows.Forms.DockStyle.Fill;
|
||
|
this.label4.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold);
|
||
|
this.label4.ForeColor = System.Drawing.Color.White;
|
||
|
this.label4.Location = new System.Drawing.Point(0, 0);
|
||
|
this.label4.Name = "label4";
|
||
|
this.label4.Size = new System.Drawing.Size(1346, 36);
|
||
|
this.label4.TabIndex = 0;
|
||
|
this.label4.Text = "CHANGE PRODUCT PRICES";
|
||
|
this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||
|
//
|
||
|
// Prices
|
||
|
//
|
||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 21F);
|
||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||
|
this.ClientSize = new System.Drawing.Size(1346, 1023);
|
||
|
this.ControlBox = false;
|
||
|
this.Controls.Add(this.panel4);
|
||
|
this.Controls.Add(this.panel3);
|
||
|
this.Controls.Add(this.panel2);
|
||
|
this.Controls.Add(this.header);
|
||
|
this.Font = new System.Drawing.Font("Segoe UI", 12F);
|
||
|
this.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(52)))), ((int)(((byte)(69)))));
|
||
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
|
||
|
this.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||
|
this.Name = "Prices";
|
||
|
this.ShowIcon = false;
|
||
|
this.ShowInTaskbar = false;
|
||
|
this.Text = "Prices";
|
||
|
this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
|
||
|
this.Load += new System.EventHandler(this.Prices_Load);
|
||
|
this.panel2.ResumeLayout(false);
|
||
|
this.updateBox.ResumeLayout(false);
|
||
|
this.updateBox.PerformLayout();
|
||
|
this.panel3.ResumeLayout(false);
|
||
|
this.panel4.ResumeLayout(false);
|
||
|
((System.ComponentModel.ISupportInitialize)(this.products)).EndInit();
|
||
|
this.header.ResumeLayout(false);
|
||
|
this.ResumeLayout(false);
|
||
|
|
||
|
}
|
||
|
|
||
|
#endregion
|
||
|
private gradientPanel header;
|
||
|
private System.Windows.Forms.Panel panel2;
|
||
|
private System.Windows.Forms.Panel panel3;
|
||
|
private System.Windows.Forms.Panel panel4;
|
||
|
private MetroFramework.Controls.MetroTextBox txtSearch;
|
||
|
private MetroFramework.Controls.MetroProgressSpinner holding;
|
||
|
private System.Windows.Forms.GroupBox updateBox;
|
||
|
private System.Windows.Forms.TextBox newPrice;
|
||
|
private System.Windows.Forms.Label lblProductName;
|
||
|
private System.Windows.Forms.Label previousPrice;
|
||
|
private System.Windows.Forms.Label label7;
|
||
|
private System.Windows.Forms.Label label3;
|
||
|
private System.Windows.Forms.Label label2;
|
||
|
private System.Windows.Forms.Label label1;
|
||
|
private System.Windows.Forms.Button BTNsave;
|
||
|
private System.Windows.Forms.TextBox txtProductID;
|
||
|
private System.Windows.Forms.Panel panel5;
|
||
|
private System.Windows.Forms.DataGridView products;
|
||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
|
||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
|
||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
|
||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
|
||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn5;
|
||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn6;
|
||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn7;
|
||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn8;
|
||
|
private MetroFramework.Controls.MetroProgressSpinner holding2;
|
||
|
private System.Windows.Forms.Button button1;
|
||
|
private System.Windows.Forms.Label label4;
|
||
|
private System.Windows.Forms.LinkLabel linkLabel1;
|
||
|
}
|
||
|
}
|