319 lines
20 KiB
C#
319 lines
20 KiB
C#
namespace Neshina1703
|
||
{
|
||
partial class AdminForm
|
||
{
|
||
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.DataGridView dgvProducts;
|
||
private System.Windows.Forms.DataGridView dgvOrders;
|
||
private System.Windows.Forms.Button btnAddProduct;
|
||
private System.Windows.Forms.Button btnEditProduct;
|
||
private System.Windows.Forms.Button btnDeleteProduct;
|
||
private System.Windows.Forms.Button btnRefresh;
|
||
private System.Windows.Forms.Button btnLogout;
|
||
private System.Windows.Forms.Label lblUser;
|
||
private System.Windows.Forms.TextBox txtSearch;
|
||
private System.Windows.Forms.ComboBox cbFilterStatus;
|
||
private System.Windows.Forms.ComboBox cbFilterSupplier;
|
||
|
||
protected override void Dispose(bool disposing)
|
||
{
|
||
if (disposing && (components != null))
|
||
{
|
||
components.Dispose();
|
||
}
|
||
base.Dispose(disposing);
|
||
}
|
||
|
||
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 dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
|
||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
|
||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AdminForm));
|
||
this.tabControl = new System.Windows.Forms.TabControl();
|
||
this.tabProducts = new System.Windows.Forms.TabPage();
|
||
this.dgvProducts = new System.Windows.Forms.DataGridView();
|
||
this.txtSearch = new System.Windows.Forms.TextBox();
|
||
this.cbFilterStatus = new System.Windows.Forms.ComboBox();
|
||
this.cbFilterSupplier = new System.Windows.Forms.ComboBox();
|
||
this.btnAddProduct = new System.Windows.Forms.Button();
|
||
this.btnEditProduct = new System.Windows.Forms.Button();
|
||
this.btnDeleteProduct = new System.Windows.Forms.Button();
|
||
this.btnRefresh = new System.Windows.Forms.Button();
|
||
this.tabOrders = new System.Windows.Forms.TabPage();
|
||
this.dgvOrders = new System.Windows.Forms.DataGridView();
|
||
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.SuspendLayout();
|
||
//
|
||
// tabControl
|
||
//
|
||
this.tabControl.Controls.Add(this.tabProducts);
|
||
this.tabControl.Controls.Add(this.tabOrders);
|
||
this.tabControl.Location = new System.Drawing.Point(12, 45);
|
||
this.tabControl.Name = "tabControl";
|
||
this.tabControl.SelectedIndex = 0;
|
||
this.tabControl.Size = new System.Drawing.Size(768, 380);
|
||
this.tabControl.TabIndex = 2;
|
||
//
|
||
// tabProducts
|
||
//
|
||
this.tabProducts.Controls.Add(this.button1);
|
||
this.tabProducts.Controls.Add(this.dgvProducts);
|
||
this.tabProducts.Controls.Add(this.txtSearch);
|
||
this.tabProducts.Controls.Add(this.cbFilterStatus);
|
||
this.tabProducts.Controls.Add(this.cbFilterSupplier);
|
||
this.tabProducts.Controls.Add(this.btnAddProduct);
|
||
this.tabProducts.Controls.Add(this.btnEditProduct);
|
||
this.tabProducts.Controls.Add(this.btnDeleteProduct);
|
||
this.tabProducts.Controls.Add(this.btnRefresh);
|
||
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(760, 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.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(253)))), ((int)(((byte)(161)))));
|
||
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(91)))), ((int)(((byte)(209)))), ((int)(((byte)(45)))));
|
||
dataGridViewCellStyle1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold);
|
||
dataGridViewCellStyle1.ForeColor = System.Drawing.Color.Black;
|
||
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||
this.dgvProducts.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
|
||
this.dgvProducts.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||
dataGridViewCellStyle2.BackColor = System.Drawing.Color.White;
|
||
dataGridViewCellStyle2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
||
dataGridViewCellStyle2.ForeColor = System.Drawing.Color.Black;
|
||
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||
this.dgvProducts.DefaultCellStyle = dataGridViewCellStyle2;
|
||
this.dgvProducts.Location = new System.Drawing.Point(6, 32);
|
||
this.dgvProducts.Name = "dgvProducts";
|
||
this.dgvProducts.ReadOnly = true;
|
||
this.dgvProducts.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
||
this.dgvProducts.Size = new System.Drawing.Size(748, 270);
|
||
this.dgvProducts.TabIndex = 3;
|
||
this.dgvProducts.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvProducts_CellDoubleClick);
|
||
//
|
||
// txtSearch
|
||
//
|
||
this.txtSearch.Location = new System.Drawing.Point(6, 6);
|
||
this.txtSearch.Name = "txtSearch";
|
||
this.txtSearch.Size = new System.Drawing.Size(200, 20);
|
||
this.txtSearch.TabIndex = 0;
|
||
this.txtSearch.TextChanged += new System.EventHandler(this.txtSearch_TextChanged);
|
||
//
|
||
// cbFilterStatus
|
||
//
|
||
this.cbFilterStatus.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||
this.cbFilterStatus.FormattingEnabled = true;
|
||
this.cbFilterStatus.Items.AddRange(new object[] {
|
||
"Все",
|
||
"Свободно",
|
||
"По рецепту"});
|
||
this.cbFilterStatus.Location = new System.Drawing.Point(212, 5);
|
||
this.cbFilterStatus.Name = "cbFilterStatus";
|
||
this.cbFilterStatus.Size = new System.Drawing.Size(120, 21);
|
||
this.cbFilterStatus.TabIndex = 1;
|
||
this.cbFilterStatus.SelectedIndexChanged += new System.EventHandler(this.ApplyFilters);
|
||
//
|
||
// cbFilterSupplier
|
||
//
|
||
this.cbFilterSupplier.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||
this.cbFilterSupplier.FormattingEnabled = true;
|
||
this.cbFilterSupplier.Location = new System.Drawing.Point(338, 5);
|
||
this.cbFilterSupplier.Name = "cbFilterSupplier";
|
||
this.cbFilterSupplier.Size = new System.Drawing.Size(150, 21);
|
||
this.cbFilterSupplier.TabIndex = 2;
|
||
this.cbFilterSupplier.SelectedIndexChanged += new System.EventHandler(this.ApplyFilters);
|
||
//
|
||
// btnAddProduct
|
||
//
|
||
this.btnAddProduct.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(91)))), ((int)(((byte)(209)))), ((int)(((byte)(45)))));
|
||
this.btnAddProduct.FlatAppearance.BorderSize = 0;
|
||
this.btnAddProduct.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||
this.btnAddProduct.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold);
|
||
this.btnAddProduct.ForeColor = System.Drawing.Color.Black;
|
||
this.btnAddProduct.Location = new System.Drawing.Point(6, 308);
|
||
this.btnAddProduct.Name = "btnAddProduct";
|
||
this.btnAddProduct.Size = new System.Drawing.Size(100, 35);
|
||
this.btnAddProduct.TabIndex = 4;
|
||
this.btnAddProduct.Text = "Добавить";
|
||
this.btnAddProduct.UseVisualStyleBackColor = false;
|
||
this.btnAddProduct.Click += new System.EventHandler(this.btnAddProduct_Click);
|
||
//
|
||
// btnEditProduct
|
||
//
|
||
this.btnEditProduct.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(253)))), ((int)(((byte)(161)))));
|
||
this.btnEditProduct.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(91)))), ((int)(((byte)(209)))), ((int)(((byte)(45)))));
|
||
this.btnEditProduct.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||
this.btnEditProduct.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold);
|
||
this.btnEditProduct.ForeColor = System.Drawing.Color.Black;
|
||
this.btnEditProduct.Location = new System.Drawing.Point(112, 308);
|
||
this.btnEditProduct.Name = "btnEditProduct";
|
||
this.btnEditProduct.Size = new System.Drawing.Size(100, 35);
|
||
this.btnEditProduct.TabIndex = 5;
|
||
this.btnEditProduct.Text = "Изменить";
|
||
this.btnEditProduct.UseVisualStyleBackColor = false;
|
||
this.btnEditProduct.Click += new System.EventHandler(this.btnEditProduct_Click);
|
||
//
|
||
// btnDeleteProduct
|
||
//
|
||
this.btnDeleteProduct.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(91)))), ((int)(((byte)(209)))), ((int)(((byte)(45)))));
|
||
this.btnDeleteProduct.FlatAppearance.BorderSize = 0;
|
||
this.btnDeleteProduct.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||
this.btnDeleteProduct.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold);
|
||
this.btnDeleteProduct.ForeColor = System.Drawing.Color.Black;
|
||
this.btnDeleteProduct.Location = new System.Drawing.Point(218, 308);
|
||
this.btnDeleteProduct.Name = "btnDeleteProduct";
|
||
this.btnDeleteProduct.Size = new System.Drawing.Size(100, 35);
|
||
this.btnDeleteProduct.TabIndex = 6;
|
||
this.btnDeleteProduct.Text = "Удалить";
|
||
this.btnDeleteProduct.UseVisualStyleBackColor = false;
|
||
this.btnDeleteProduct.Click += new System.EventHandler(this.btnDeleteProduct_Click);
|
||
//
|
||
// btnRefresh
|
||
//
|
||
this.btnRefresh.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(253)))), ((int)(((byte)(161)))));
|
||
this.btnRefresh.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(91)))), ((int)(((byte)(209)))), ((int)(((byte)(45)))));
|
||
this.btnRefresh.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||
this.btnRefresh.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold);
|
||
this.btnRefresh.ForeColor = System.Drawing.Color.Black;
|
||
this.btnRefresh.Location = new System.Drawing.Point(324, 308);
|
||
this.btnRefresh.Name = "btnRefresh";
|
||
this.btnRefresh.Size = new System.Drawing.Size(100, 35);
|
||
this.btnRefresh.TabIndex = 7;
|
||
this.btnRefresh.Text = "Обновить";
|
||
this.btnRefresh.UseVisualStyleBackColor = false;
|
||
this.btnRefresh.Click += new System.EventHandler(this.btnRefresh_Click);
|
||
//
|
||
// tabOrders
|
||
//
|
||
this.tabOrders.Controls.Add(this.dgvOrders);
|
||
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(760, 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.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(253)))), ((int)(((byte)(161)))));
|
||
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||
dataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(91)))), ((int)(((byte)(209)))), ((int)(((byte)(45)))));
|
||
dataGridViewCellStyle3.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold);
|
||
dataGridViewCellStyle3.ForeColor = System.Drawing.Color.Black;
|
||
dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||
dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||
dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||
this.dgvOrders.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle3;
|
||
this.dgvOrders.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||
dataGridViewCellStyle4.BackColor = System.Drawing.Color.White;
|
||
dataGridViewCellStyle4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
||
dataGridViewCellStyle4.ForeColor = System.Drawing.Color.Black;
|
||
dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||
dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||
dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||
this.dgvOrders.DefaultCellStyle = dataGridViewCellStyle4;
|
||
this.dgvOrders.Dock = System.Windows.Forms.DockStyle.Fill;
|
||
this.dgvOrders.Location = new System.Drawing.Point(3, 3);
|
||
this.dgvOrders.Name = "dgvOrders";
|
||
this.dgvOrders.ReadOnly = true;
|
||
this.dgvOrders.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
||
this.dgvOrders.Size = new System.Drawing.Size(754, 348);
|
||
this.dgvOrders.TabIndex = 0;
|
||
//
|
||
// btnLogout
|
||
//
|
||
this.btnLogout.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(91)))), ((int)(((byte)(209)))), ((int)(((byte)(45)))));
|
||
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.Black;
|
||
this.btnLogout.Location = new System.Drawing.Point(690, 12);
|
||
this.btnLogout.Name = "btnLogout";
|
||
this.btnLogout.Size = new System.Drawing.Size(90, 30);
|
||
this.btnLogout.TabIndex = 1;
|
||
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.ForeColor = System.Drawing.Color.Black;
|
||
this.lblUser.Location = new System.Drawing.Point(12, 15);
|
||
this.lblUser.Name = "lblUser";
|
||
this.lblUser.Size = new System.Drawing.Size(129, 17);
|
||
this.lblUser.TabIndex = 0;
|
||
this.lblUser.Text = "Администратор:";
|
||
//
|
||
// button1
|
||
//
|
||
this.button1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(91)))), ((int)(((byte)(209)))), ((int)(((byte)(45)))));
|
||
this.button1.Location = new System.Drawing.Point(623, 309);
|
||
this.button1.Name = "button1";
|
||
this.button1.Size = new System.Drawing.Size(131, 35);
|
||
this.button1.TabIndex = 8;
|
||
this.button1.Text = "Генерировать QR";
|
||
this.button1.UseVisualStyleBackColor = false;
|
||
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||
//
|
||
// AdminForm
|
||
//
|
||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
||
this.ClientSize = new System.Drawing.Size(792, 437);
|
||
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 = "AdminForm";
|
||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||
this.Text = "Аптека — Администратор";
|
||
this.Load += new System.EventHandler(this.AdminForm_Load);
|
||
this.tabControl.ResumeLayout(false);
|
||
this.tabProducts.ResumeLayout(false);
|
||
this.tabProducts.PerformLayout();
|
||
((System.ComponentModel.ISupportInitialize)(this.dgvProducts)).EndInit();
|
||
this.tabOrders.ResumeLayout(false);
|
||
((System.ComponentModel.ISupportInitialize)(this.dgvOrders)).EndInit();
|
||
this.ResumeLayout(false);
|
||
this.PerformLayout();
|
||
|
||
}
|
||
|
||
private System.Windows.Forms.Button button1;
|
||
}
|
||
} |