1703neshinavarfolomeev2/OrderForm.Designer.cs
2026-03-17 14:33:47 +04:00

280 lines
15 KiB
C#

namespace Neshina1703
{
partial class OrderForm
{
private System.ComponentModel.IContainer components = null;
private System.Windows.Forms.Label lblTitle;
private System.Windows.Forms.Label lblClient;
private System.Windows.Forms.Label lblPrescription;
private System.Windows.Forms.Label lblProducts;
private System.Windows.Forms.Label lblOrder;
private System.Windows.Forms.Label lblTotal;
private System.Windows.Forms.ComboBox cbClient;
private System.Windows.Forms.ComboBox cbPrescription;
private System.Windows.Forms.DataGridView dgvProducts;
private System.Windows.Forms.DataGridView dgvOrder;
private System.Windows.Forms.NumericUpDown numQuantity;
private System.Windows.Forms.Button btnAddToOrder;
private System.Windows.Forms.Button btnRemoveFromOrder;
private System.Windows.Forms.Button btnSave;
private System.Windows.Forms.Button btnCancel;
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(OrderForm));
this.lblTitle = new System.Windows.Forms.Label();
this.lblClient = new System.Windows.Forms.Label();
this.lblPrescription = new System.Windows.Forms.Label();
this.lblProducts = new System.Windows.Forms.Label();
this.lblOrder = new System.Windows.Forms.Label();
this.lblTotal = new System.Windows.Forms.Label();
this.cbClient = new System.Windows.Forms.ComboBox();
this.cbPrescription = new System.Windows.Forms.ComboBox();
this.dgvProducts = new System.Windows.Forms.DataGridView();
this.dgvOrder = new System.Windows.Forms.DataGridView();
this.numQuantity = new System.Windows.Forms.NumericUpDown();
this.btnAddToOrder = new System.Windows.Forms.Button();
this.btnRemoveFromOrder = new System.Windows.Forms.Button();
this.btnSave = new System.Windows.Forms.Button();
this.btnCancel = new System.Windows.Forms.Button();
this.productsBindingSource = new System.Windows.Forms.BindingSource(this.components);
((System.ComponentModel.ISupportInitialize)(this.dgvProducts)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dgvOrder)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.numQuantity)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.productsBindingSource)).BeginInit();
this.SuspendLayout();
//
// lblTitle
//
this.lblTitle.AutoSize = true;
this.lblTitle.Font = new System.Drawing.Font("Microsoft Sans Serif", 14F, System.Drawing.FontStyle.Bold);
this.lblTitle.Location = new System.Drawing.Point(12, 15);
this.lblTitle.Name = "lblTitle";
this.lblTitle.Size = new System.Drawing.Size(215, 24);
this.lblTitle.TabIndex = 0;
this.lblTitle.Text = " Оформление заказа";
//
// lblClient
//
this.lblClient.AutoSize = true;
this.lblClient.Location = new System.Drawing.Point(12, 55);
this.lblClient.Name = "lblClient";
this.lblClient.Size = new System.Drawing.Size(46, 13);
this.lblClient.TabIndex = 1;
this.lblClient.Text = "Клиент:";
//
// lblPrescription
//
this.lblPrescription.AutoSize = true;
this.lblPrescription.Location = new System.Drawing.Point(280, 55);
this.lblPrescription.Name = "lblPrescription";
this.lblPrescription.Size = new System.Drawing.Size(60, 13);
this.lblPrescription.TabIndex = 3;
this.lblPrescription.Text = "Рецепт №:";
//
// lblProducts
//
this.lblProducts.AutoSize = true;
this.lblProducts.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold);
this.lblProducts.Location = new System.Drawing.Point(12, 110);
this.lblProducts.Name = "lblProducts";
this.lblProducts.Size = new System.Drawing.Size(142, 15);
this.lblProducts.TabIndex = 5;
this.lblProducts.Text = " Доступные товары:";
//
// lblOrder
//
this.lblOrder.AutoSize = true;
this.lblOrder.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold);
this.lblOrder.Location = new System.Drawing.Point(480, 110);
this.lblOrder.Name = "lblOrder";
this.lblOrder.Size = new System.Drawing.Size(108, 15);
this.lblOrder.TabIndex = 6;
this.lblOrder.Text = "Состав заказа:";
//
// lblTotal
//
this.lblTotal.AutoSize = true;
this.lblTotal.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold);
this.lblTotal.ForeColor = System.Drawing.Color.Black;
this.lblTotal.Location = new System.Drawing.Point(480, 345);
this.lblTotal.Name = "lblTotal";
this.lblTotal.Size = new System.Drawing.Size(94, 20);
this.lblTotal.TabIndex = 10;
this.lblTotal.Text = "Итого: 0 ₽";
//
// cbClient
//
this.cbClient.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cbClient.FormattingEnabled = true;
this.cbClient.Location = new System.Drawing.Point(15, 75);
this.cbClient.Name = "cbClient";
this.cbClient.Size = new System.Drawing.Size(250, 21);
this.cbClient.TabIndex = 2;
this.cbClient.SelectedIndexChanged += new System.EventHandler(this.cbClient_SelectedIndexChanged);
//
// cbPrescription
//
this.cbPrescription.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cbPrescription.Enabled = false;
this.cbPrescription.FormattingEnabled = true;
this.cbPrescription.Location = new System.Drawing.Point(283, 75);
this.cbPrescription.Name = "cbPrescription";
this.cbPrescription.Size = new System.Drawing.Size(150, 21);
this.cbPrescription.TabIndex = 4;
//
// 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.Location = new System.Drawing.Point(15, 130);
this.dgvProducts.Name = "dgvProducts";
this.dgvProducts.ReadOnly = true;
this.dgvProducts.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.dgvProducts.Size = new System.Drawing.Size(450, 200);
this.dgvProducts.TabIndex = 0;
this.dgvProducts.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvProducts_CellDoubleClick);
//
// dgvOrder
//
this.dgvOrder.AllowUserToAddRows = false;
this.dgvOrder.AllowUserToDeleteRows = false;
this.dgvOrder.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
this.dgvOrder.BackgroundColor = System.Drawing.Color.White;
this.dgvOrder.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvOrder.Location = new System.Drawing.Point(483, 130);
this.dgvOrder.Name = "dgvOrder";
this.dgvOrder.ReadOnly = true;
this.dgvOrder.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.dgvOrder.Size = new System.Drawing.Size(290, 200);
this.dgvOrder.TabIndex = 1;
//
// numQuantity
//
this.numQuantity.Location = new System.Drawing.Point(15, 340);
this.numQuantity.Minimum = new decimal(new int[] {
1,
0,
0,
0});
this.numQuantity.Name = "numQuantity";
this.numQuantity.Size = new System.Drawing.Size(60, 20);
this.numQuantity.TabIndex = 7;
this.numQuantity.Value = new decimal(new int[] {
1,
0,
0,
0});
//
// btnAddToOrder
//
this.btnAddToOrder.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(180)))), ((int)(((byte)(80)))));
this.btnAddToOrder.FlatAppearance.BorderSize = 0;
this.btnAddToOrder.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnAddToOrder.ForeColor = System.Drawing.Color.White;
this.btnAddToOrder.Location = new System.Drawing.Point(85, 337);
this.btnAddToOrder.Name = "btnAddToOrder";
this.btnAddToOrder.Size = new System.Drawing.Size(120, 25);
this.btnAddToOrder.TabIndex = 8;
this.btnAddToOrder.Text = " Добавить";
this.btnAddToOrder.UseVisualStyleBackColor = false;
this.btnAddToOrder.Click += new System.EventHandler(this.btnAddToOrder_Click);
//
// btnRemoveFromOrder
//
this.btnRemoveFromOrder.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(50)))), ((int)(((byte)(50)))));
this.btnRemoveFromOrder.FlatAppearance.BorderSize = 0;
this.btnRemoveFromOrder.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnRemoveFromOrder.ForeColor = System.Drawing.Color.White;
this.btnRemoveFromOrder.Location = new System.Drawing.Point(211, 337);
this.btnRemoveFromOrder.Name = "btnRemoveFromOrder";
this.btnRemoveFromOrder.Size = new System.Drawing.Size(120, 25);
this.btnRemoveFromOrder.TabIndex = 9;
this.btnRemoveFromOrder.Text = "Удалить";
this.btnRemoveFromOrder.UseVisualStyleBackColor = false;
this.btnRemoveFromOrder.Click += new System.EventHandler(this.btnRemoveFromOrder_Click);
//
// btnSave
//
this.btnSave.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(120)))), ((int)(((byte)(215)))));
this.btnSave.FlatAppearance.BorderSize = 0;
this.btnSave.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnSave.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold);
this.btnSave.ForeColor = System.Drawing.Color.White;
this.btnSave.Location = new System.Drawing.Point(580, 390);
this.btnSave.Name = "btnSave";
this.btnSave.Size = new System.Drawing.Size(120, 40);
this.btnSave.TabIndex = 11;
this.btnSave.Text = "Оформить";
this.btnSave.UseVisualStyleBackColor = false;
this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
//
// btnCancel
//
this.btnCancel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(150)))), ((int)(((byte)(150)))), ((int)(((byte)(150)))));
this.btnCancel.FlatAppearance.BorderSize = 0;
this.btnCancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnCancel.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold);
this.btnCancel.ForeColor = System.Drawing.Color.White;
this.btnCancel.Location = new System.Drawing.Point(710, 390);
this.btnCancel.Name = "btnCancel";
this.btnCancel.Size = new System.Drawing.Size(80, 40);
this.btnCancel.TabIndex = 12;
this.btnCancel.Text = "Отмена";
this.btnCancel.UseVisualStyleBackColor = false;
this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
//
// OrderForm
//
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(800, 450);
this.Controls.Add(this.lblTitle);
this.Controls.Add(this.lblClient);
this.Controls.Add(this.cbClient);
this.Controls.Add(this.lblPrescription);
this.Controls.Add(this.cbPrescription);
this.Controls.Add(this.lblProducts);
this.Controls.Add(this.dgvProducts);
this.Controls.Add(this.lblOrder);
this.Controls.Add(this.dgvOrder);
this.Controls.Add(this.numQuantity);
this.Controls.Add(this.btnAddToOrder);
this.Controls.Add(this.btnRemoveFromOrder);
this.Controls.Add(this.lblTotal);
this.Controls.Add(this.btnSave);
this.Controls.Add(this.btnCancel);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "OrderForm";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Аптека — Новый заказ";
this.Load += new System.EventHandler(this.OrderForm_Load);
((System.ComponentModel.ISupportInitialize)(this.dgvProducts)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.dgvOrder)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.numQuantity)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.productsBindingSource)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
}
}