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.
301 lines
17 KiB
301 lines
17 KiB
namespace Point_Of_Sale_Managment
|
|
{
|
|
partial class Drivers
|
|
{
|
|
/// <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.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = 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 dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Drivers));
|
|
this.panel1 = new System.Windows.Forms.Panel();
|
|
this.panel3 = new System.Windows.Forms.Panel();
|
|
this.button1 = new System.Windows.Forms.Button();
|
|
this.panel2 = new System.Windows.Forms.Panel();
|
|
this.loading = new MetroFramework.Controls.MetroProgressSpinner();
|
|
this.dataGridView1 = new System.Windows.Forms.DataGridView();
|
|
this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.Column7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.Column4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.Column6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.Column5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.Delete = new System.Windows.Forms.DataGridViewImageColumn();
|
|
this.dataGridViewImageColumn1 = new System.Windows.Forms.DataGridViewImageColumn();
|
|
this.panel1.SuspendLayout();
|
|
this.panel3.SuspendLayout();
|
|
this.panel2.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// panel1
|
|
//
|
|
this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(10)))), ((int)(((byte)(10)))), ((int)(((byte)(56)))));
|
|
this.panel1.Controls.Add(this.panel3);
|
|
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(992, 46);
|
|
this.panel1.TabIndex = 0;
|
|
//
|
|
// panel3
|
|
//
|
|
this.panel3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(10)))), ((int)(((byte)(10)))), ((int)(((byte)(56)))));
|
|
this.panel3.Controls.Add(this.button1);
|
|
this.panel3.Dock = System.Windows.Forms.DockStyle.Right;
|
|
this.panel3.Location = new System.Drawing.Point(860, 0);
|
|
this.panel3.Name = "panel3";
|
|
this.panel3.Padding = new System.Windows.Forms.Padding(5);
|
|
this.panel3.Size = new System.Drawing.Size(132, 46);
|
|
this.panel3.TabIndex = 0;
|
|
//
|
|
// 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.Dock = System.Windows.Forms.DockStyle.Right;
|
|
this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.button1.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold);
|
|
this.button1.ForeColor = System.Drawing.Color.White;
|
|
this.button1.Location = new System.Drawing.Point(7, 5);
|
|
this.button1.Name = "button1";
|
|
this.button1.Size = new System.Drawing.Size(120, 36);
|
|
this.button1.TabIndex = 2;
|
|
this.button1.Text = "Add Driver";
|
|
this.button1.UseVisualStyleBackColor = false;
|
|
this.button1.Click += new System.EventHandler(this.Button1_Click);
|
|
//
|
|
// panel2
|
|
//
|
|
this.panel2.Controls.Add(this.loading);
|
|
this.panel2.Controls.Add(this.dataGridView1);
|
|
this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.panel2.Location = new System.Drawing.Point(0, 46);
|
|
this.panel2.Name = "panel2";
|
|
this.panel2.Size = new System.Drawing.Size(992, 739);
|
|
this.panel2.TabIndex = 1;
|
|
//
|
|
// loading
|
|
//
|
|
this.loading.Location = new System.Drawing.Point(458, 290);
|
|
this.loading.Maximum = 100;
|
|
this.loading.Name = "loading";
|
|
this.loading.Size = new System.Drawing.Size(50, 47);
|
|
this.loading.TabIndex = 18;
|
|
this.loading.UseSelectable = true;
|
|
this.loading.Visible = false;
|
|
//
|
|
// dataGridView1
|
|
//
|
|
this.dataGridView1.AllowUserToAddRows = false;
|
|
this.dataGridView1.AllowUserToResizeColumns = false;
|
|
this.dataGridView1.AllowUserToResizeRows = false;
|
|
dataGridViewCellStyle1.BackColor = System.Drawing.Color.Gainsboro;
|
|
dataGridViewCellStyle1.Font = new System.Drawing.Font("Segoe UI", 12F);
|
|
dataGridViewCellStyle1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(52)))), ((int)(((byte)(69)))));
|
|
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
|
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.Color.White;
|
|
this.dataGridView1.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
|
|
this.dataGridView1.BackgroundColor = System.Drawing.Color.White;
|
|
this.dataGridView1.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
|
this.dataGridView1.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.None;
|
|
this.dataGridView1.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None;
|
|
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
|
dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(10)))), ((int)(((byte)(10)))), ((int)(((byte)(56)))));
|
|
dataGridViewCellStyle2.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
dataGridViewCellStyle2.ForeColor = System.Drawing.Color.White;
|
|
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
|
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
|
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
|
this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
|
|
this.dataGridView1.ColumnHeadersHeight = 40;
|
|
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
|
|
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
this.Column1,
|
|
this.Column7,
|
|
this.Column4,
|
|
this.Column2,
|
|
this.Column6,
|
|
this.Column3,
|
|
this.Column5,
|
|
this.Delete});
|
|
this.dataGridView1.Cursor = System.Windows.Forms.Cursors.Hand;
|
|
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
|
dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Window;
|
|
dataGridViewCellStyle4.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
dataGridViewCellStyle4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(52)))), ((int)(((byte)(69)))));
|
|
dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
|
dataGridViewCellStyle4.SelectionForeColor = System.Drawing.Color.White;
|
|
dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
|
this.dataGridView1.DefaultCellStyle = dataGridViewCellStyle4;
|
|
this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.dataGridView1.EnableHeadersVisualStyles = false;
|
|
this.dataGridView1.Location = new System.Drawing.Point(0, 0);
|
|
this.dataGridView1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
this.dataGridView1.Name = "dataGridView1";
|
|
this.dataGridView1.ReadOnly = true;
|
|
this.dataGridView1.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None;
|
|
dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
|
dataGridViewCellStyle5.BackColor = System.Drawing.Color.Green;
|
|
dataGridViewCellStyle5.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
dataGridViewCellStyle5.ForeColor = System.Drawing.Color.White;
|
|
dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
|
dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
|
dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
|
this.dataGridView1.RowHeadersDefaultCellStyle = dataGridViewCellStyle5;
|
|
this.dataGridView1.RowHeadersVisible = false;
|
|
this.dataGridView1.RowTemplate.Height = 40;
|
|
this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
|
this.dataGridView1.Size = new System.Drawing.Size(992, 739);
|
|
this.dataGridView1.TabIndex = 16;
|
|
this.dataGridView1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellContentClick);
|
|
//
|
|
// Column1
|
|
//
|
|
this.Column1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
|
|
this.Column1.HeaderText = "#";
|
|
this.Column1.Name = "Column1";
|
|
this.Column1.ReadOnly = true;
|
|
this.Column1.Width = 42;
|
|
//
|
|
// Column7
|
|
//
|
|
this.Column7.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
|
|
this.Column7.HeaderText = "DRIVER ID";
|
|
this.Column7.Name = "Column7";
|
|
this.Column7.ReadOnly = true;
|
|
this.Column7.Width = 105;
|
|
//
|
|
// Column4
|
|
//
|
|
this.Column4.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
|
|
this.Column4.HeaderText = "FIRSTNAME";
|
|
this.Column4.Name = "Column4";
|
|
this.Column4.ReadOnly = true;
|
|
this.Column4.Width = 116;
|
|
//
|
|
// Column2
|
|
//
|
|
this.Column2.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
|
|
this.Column2.HeaderText = "SURNAME";
|
|
this.Column2.Name = "Column2";
|
|
this.Column2.ReadOnly = true;
|
|
this.Column2.Width = 107;
|
|
//
|
|
// Column6
|
|
//
|
|
this.Column6.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
|
|
this.Column6.HeaderText = "MIDDLENAME";
|
|
this.Column6.Name = "Column6";
|
|
this.Column6.ReadOnly = true;
|
|
this.Column6.Width = 133;
|
|
//
|
|
// Column3
|
|
//
|
|
this.Column3.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
|
|
this.Column3.HeaderText = "DATE OF BIRTH";
|
|
this.Column3.Name = "Column3";
|
|
this.Column3.ReadOnly = true;
|
|
this.Column3.Width = 138;
|
|
//
|
|
// Column5
|
|
//
|
|
this.Column5.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
dataGridViewCellStyle3.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold);
|
|
this.Column5.DefaultCellStyle = dataGridViewCellStyle3;
|
|
this.Column5.HeaderText = "TRUCK";
|
|
this.Column5.Name = "Column5";
|
|
this.Column5.ReadOnly = true;
|
|
//
|
|
// Delete
|
|
//
|
|
this.Delete.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
|
|
this.Delete.HeaderText = "";
|
|
this.Delete.Image = ((System.Drawing.Image)(resources.GetObject("Delete.Image")));
|
|
this.Delete.Name = "Delete";
|
|
this.Delete.ReadOnly = true;
|
|
this.Delete.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
|
this.Delete.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
|
this.Delete.Width = 17;
|
|
//
|
|
// dataGridViewImageColumn1
|
|
//
|
|
this.dataGridViewImageColumn1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
|
|
this.dataGridViewImageColumn1.HeaderText = "";
|
|
this.dataGridViewImageColumn1.Image = ((System.Drawing.Image)(resources.GetObject("dataGridViewImageColumn1.Image")));
|
|
this.dataGridViewImageColumn1.Name = "dataGridViewImageColumn1";
|
|
this.dataGridViewImageColumn1.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
|
this.dataGridViewImageColumn1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
|
//
|
|
// Drivers
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 21F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(992, 785);
|
|
this.ControlBox = false;
|
|
this.Controls.Add(this.panel2);
|
|
this.Controls.Add(this.panel1);
|
|
this.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
this.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
|
this.Name = "Drivers";
|
|
this.ShowIcon = false;
|
|
this.ShowInTaskbar = false;
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
|
|
this.Load += new System.EventHandler(this.users_Load);
|
|
this.panel1.ResumeLayout(false);
|
|
this.panel3.ResumeLayout(false);
|
|
this.panel2.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Panel panel1;
|
|
private System.Windows.Forms.Panel panel2;
|
|
private System.Windows.Forms.DataGridView dataGridView1;
|
|
private System.Windows.Forms.Panel panel3;
|
|
private System.Windows.Forms.Button button1;
|
|
private MetroFramework.Controls.MetroProgressSpinner loading;
|
|
private System.Windows.Forms.DataGridViewImageColumn dataGridViewImageColumn1;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn Column7;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn Column4;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn Column2;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn Column6;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn Column3;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn Column5;
|
|
private System.Windows.Forms.DataGridViewImageColumn Delete;
|
|
}
|
|
}
|