240 lines
13 KiB
C#
240 lines
13 KiB
C#
namespace Neshina1703
|
|
{
|
|
partial class EmployeeForm
|
|
{
|
|
private System.ComponentModel.IContainer components = null;
|
|
private System.Windows.Forms.TabControl tabControl;
|
|
private System.Windows.Forms.TabPage tabProducts;
|
|
private System.Windows.Forms.TabPage tabOrders;
|
|
private System.Windows.Forms.TabPage tabClients;
|
|
private System.Windows.Forms.DataGridView dgvProducts;
|
|
private System.Windows.Forms.DataGridView dgvOrders;
|
|
private System.Windows.Forms.DataGridView dgvClients;
|
|
private System.Windows.Forms.Button btnCreateOrder;
|
|
private System.Windows.Forms.Button btnAddCard;
|
|
private System.Windows.Forms.Button btnLogout;
|
|
private System.Windows.Forms.Label lblUser;
|
|
private System.Windows.Forms.BindingSource productsBindingSource;
|
|
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
private void InitializeComponent()
|
|
{
|
|
this.components = new System.ComponentModel.Container();
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(EmployeeForm));
|
|
this.tabControl = new System.Windows.Forms.TabControl();
|
|
this.tabProducts = new System.Windows.Forms.TabPage();
|
|
this.dgvProducts = new System.Windows.Forms.DataGridView();
|
|
this.tabOrders = new System.Windows.Forms.TabPage();
|
|
this.dgvOrders = new System.Windows.Forms.DataGridView();
|
|
this.btnCreateOrder = new System.Windows.Forms.Button();
|
|
this.tabClients = new System.Windows.Forms.TabPage();
|
|
this.dgvClients = new System.Windows.Forms.DataGridView();
|
|
this.btnAddCard = new System.Windows.Forms.Button();
|
|
this.productsBindingSource = new System.Windows.Forms.BindingSource(this.components);
|
|
this.btnLogout = new System.Windows.Forms.Button();
|
|
this.lblUser = new System.Windows.Forms.Label();
|
|
this.button1 = new System.Windows.Forms.Button();
|
|
this.tabControl.SuspendLayout();
|
|
this.tabProducts.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.dgvProducts)).BeginInit();
|
|
this.tabOrders.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.dgvOrders)).BeginInit();
|
|
this.tabClients.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.dgvClients)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.productsBindingSource)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// tabControl
|
|
//
|
|
this.tabControl.Controls.Add(this.tabProducts);
|
|
this.tabControl.Controls.Add(this.tabOrders);
|
|
this.tabControl.Controls.Add(this.tabClients);
|
|
this.tabControl.Location = new System.Drawing.Point(12, 45);
|
|
this.tabControl.Name = "tabControl";
|
|
this.tabControl.SelectedIndex = 0;
|
|
this.tabControl.Size = new System.Drawing.Size(760, 380);
|
|
this.tabControl.TabIndex = 0;
|
|
//
|
|
// tabProducts
|
|
//
|
|
this.tabProducts.Controls.Add(this.dgvProducts);
|
|
this.tabProducts.Location = new System.Drawing.Point(4, 22);
|
|
this.tabProducts.Name = "tabProducts";
|
|
this.tabProducts.Padding = new System.Windows.Forms.Padding(3);
|
|
this.tabProducts.Size = new System.Drawing.Size(752, 354);
|
|
this.tabProducts.TabIndex = 0;
|
|
this.tabProducts.Text = " Товары";
|
|
this.tabProducts.UseVisualStyleBackColor = true;
|
|
//
|
|
// dgvProducts
|
|
//
|
|
this.dgvProducts.AllowUserToAddRows = false;
|
|
this.dgvProducts.AllowUserToDeleteRows = false;
|
|
this.dgvProducts.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
|
|
this.dgvProducts.BackgroundColor = System.Drawing.Color.White;
|
|
this.dgvProducts.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
this.dgvProducts.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.dgvProducts.Location = new System.Drawing.Point(3, 3);
|
|
this.dgvProducts.Name = "dgvProducts";
|
|
this.dgvProducts.ReadOnly = true;
|
|
this.dgvProducts.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
|
this.dgvProducts.Size = new System.Drawing.Size(746, 348);
|
|
this.dgvProducts.TabIndex = 0;
|
|
//
|
|
// tabOrders
|
|
//
|
|
this.tabOrders.Controls.Add(this.dgvOrders);
|
|
this.tabOrders.Controls.Add(this.btnCreateOrder);
|
|
this.tabOrders.Location = new System.Drawing.Point(4, 22);
|
|
this.tabOrders.Name = "tabOrders";
|
|
this.tabOrders.Padding = new System.Windows.Forms.Padding(3);
|
|
this.tabOrders.Size = new System.Drawing.Size(752, 354);
|
|
this.tabOrders.TabIndex = 1;
|
|
this.tabOrders.Text = " Заказы";
|
|
this.tabOrders.UseVisualStyleBackColor = true;
|
|
//
|
|
// dgvOrders
|
|
//
|
|
this.dgvOrders.AllowUserToAddRows = false;
|
|
this.dgvOrders.AllowUserToDeleteRows = false;
|
|
this.dgvOrders.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
|
|
this.dgvOrders.BackgroundColor = System.Drawing.Color.White;
|
|
this.dgvOrders.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
this.dgvOrders.Dock = System.Windows.Forms.DockStyle.Top;
|
|
this.dgvOrders.Location = new System.Drawing.Point(3, 3);
|
|
this.dgvOrders.Name = "dgvOrders";
|
|
this.dgvOrders.ReadOnly = true;
|
|
this.dgvOrders.Size = new System.Drawing.Size(746, 300);
|
|
this.dgvOrders.TabIndex = 1;
|
|
//
|
|
// btnCreateOrder
|
|
//
|
|
this.btnCreateOrder.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(120)))), ((int)(((byte)(215)))));
|
|
this.btnCreateOrder.FlatAppearance.BorderSize = 0;
|
|
this.btnCreateOrder.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.btnCreateOrder.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold);
|
|
this.btnCreateOrder.ForeColor = System.Drawing.Color.White;
|
|
this.btnCreateOrder.Location = new System.Drawing.Point(10, 310);
|
|
this.btnCreateOrder.Name = "btnCreateOrder";
|
|
this.btnCreateOrder.Size = new System.Drawing.Size(160, 35);
|
|
this.btnCreateOrder.TabIndex = 0;
|
|
this.btnCreateOrder.Text = "Оформить заказ";
|
|
this.btnCreateOrder.UseVisualStyleBackColor = false;
|
|
this.btnCreateOrder.Click += new System.EventHandler(this.btnCreateOrder_Click);
|
|
//
|
|
// tabClients
|
|
//
|
|
this.tabClients.Controls.Add(this.dgvClients);
|
|
this.tabClients.Controls.Add(this.btnAddCard);
|
|
this.tabClients.Location = new System.Drawing.Point(4, 22);
|
|
this.tabClients.Name = "tabClients";
|
|
this.tabClients.Size = new System.Drawing.Size(752, 354);
|
|
this.tabClients.TabIndex = 2;
|
|
this.tabClients.Text = " Клиенты";
|
|
this.tabClients.UseVisualStyleBackColor = true;
|
|
//
|
|
// dgvClients
|
|
//
|
|
this.dgvClients.AllowUserToAddRows = false;
|
|
this.dgvClients.AllowUserToDeleteRows = false;
|
|
this.dgvClients.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
|
|
this.dgvClients.BackgroundColor = System.Drawing.Color.White;
|
|
this.dgvClients.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
this.dgvClients.Dock = System.Windows.Forms.DockStyle.Top;
|
|
this.dgvClients.Location = new System.Drawing.Point(0, 0);
|
|
this.dgvClients.Name = "dgvClients";
|
|
this.dgvClients.ReadOnly = true;
|
|
this.dgvClients.Size = new System.Drawing.Size(752, 300);
|
|
this.dgvClients.TabIndex = 2;
|
|
//
|
|
// btnAddCard
|
|
//
|
|
this.btnAddCard.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(180)))), ((int)(((byte)(80)))));
|
|
this.btnAddCard.FlatAppearance.BorderSize = 0;
|
|
this.btnAddCard.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.btnAddCard.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold);
|
|
this.btnAddCard.ForeColor = System.Drawing.Color.White;
|
|
this.btnAddCard.Location = new System.Drawing.Point(10, 310);
|
|
this.btnAddCard.Name = "btnAddCard";
|
|
this.btnAddCard.Size = new System.Drawing.Size(160, 35);
|
|
this.btnAddCard.TabIndex = 1;
|
|
this.btnAddCard.Text = " Завести карту";
|
|
this.btnAddCard.UseVisualStyleBackColor = false;
|
|
this.btnAddCard.Click += new System.EventHandler(this.btnAddCard_Click);
|
|
//
|
|
// btnLogout
|
|
//
|
|
this.btnLogout.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(50)))), ((int)(((byte)(50)))));
|
|
this.btnLogout.FlatAppearance.BorderSize = 0;
|
|
this.btnLogout.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.btnLogout.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold);
|
|
this.btnLogout.ForeColor = System.Drawing.Color.White;
|
|
this.btnLogout.Location = new System.Drawing.Point(680, 12);
|
|
this.btnLogout.Name = "btnLogout";
|
|
this.btnLogout.Size = new System.Drawing.Size(90, 30);
|
|
this.btnLogout.TabIndex = 2;
|
|
this.btnLogout.Text = " Выход";
|
|
this.btnLogout.UseVisualStyleBackColor = false;
|
|
this.btnLogout.Click += new System.EventHandler(this.btnLogout_Click);
|
|
//
|
|
// lblUser
|
|
//
|
|
this.lblUser.AutoSize = true;
|
|
this.lblUser.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold);
|
|
this.lblUser.Location = new System.Drawing.Point(12, 18);
|
|
this.lblUser.Name = "lblUser";
|
|
this.lblUser.Size = new System.Drawing.Size(92, 17);
|
|
this.lblUser.TabIndex = 3;
|
|
this.lblUser.Text = "Сотрудник:";
|
|
//
|
|
// button1
|
|
//
|
|
this.button1.Location = new System.Drawing.Point(518, 12);
|
|
this.button1.Name = "button1";
|
|
this.button1.Size = new System.Drawing.Size(105, 30);
|
|
this.button1.TabIndex = 4;
|
|
this.button1.Text = "сообщения";
|
|
this.button1.UseVisualStyleBackColor = true;
|
|
this.button1.Click += new System.EventHandler(this.button1_Click);
|
|
//
|
|
// EmployeeForm
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.BackColor = System.Drawing.Color.White;
|
|
this.ClientSize = new System.Drawing.Size(784, 437);
|
|
this.Controls.Add(this.button1);
|
|
this.Controls.Add(this.lblUser);
|
|
this.Controls.Add(this.btnLogout);
|
|
this.Controls.Add(this.tabControl);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
this.MaximizeBox = false;
|
|
this.Name = "EmployeeForm";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "Аптека — Сотрудник";
|
|
this.Load += new System.EventHandler(this.EmployeeForm_Load);
|
|
this.tabControl.ResumeLayout(false);
|
|
this.tabProducts.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)(this.dgvProducts)).EndInit();
|
|
this.tabOrders.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)(this.dgvOrders)).EndInit();
|
|
this.tabClients.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)(this.dgvClients)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.productsBindingSource)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
private System.Windows.Forms.Button button1;
|
|
}
|
|
} |