194 lines
8.5 KiB
C#
194 lines
8.5 KiB
C#
|
namespace TransportCompanyView
|
|||
|
{
|
|||
|
partial class FormMain
|
|||
|
{
|
|||
|
/// <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()
|
|||
|
{
|
|||
|
menuStrip1 = new MenuStrip();
|
|||
|
bookToolStripMenuItem = new ToolStripMenuItem();
|
|||
|
ingridientsToolStripMenuItem = new ToolStripMenuItem();
|
|||
|
pizzasToolStripMenuItem = new ToolStripMenuItem();
|
|||
|
машиныToolStripMenuItem = new ToolStripMenuItem();
|
|||
|
пунктыToolStripMenuItem = new ToolStripMenuItem();
|
|||
|
dataGridView = new DataGridView();
|
|||
|
buttonCreateOrder = new Button();
|
|||
|
buttonTakeOrderInWork = new Button();
|
|||
|
buttonOrderReady = new Button();
|
|||
|
buttonIssuedOrder = new Button();
|
|||
|
buttonRef = new Button();
|
|||
|
menuStrip1.SuspendLayout();
|
|||
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|||
|
SuspendLayout();
|
|||
|
//
|
|||
|
// menuStrip1
|
|||
|
//
|
|||
|
menuStrip1.ImageScalingSize = new Size(20, 20);
|
|||
|
menuStrip1.Items.AddRange(new ToolStripItem[] { bookToolStripMenuItem });
|
|||
|
menuStrip1.Location = new Point(0, 0);
|
|||
|
menuStrip1.Name = "menuStrip1";
|
|||
|
menuStrip1.Padding = new Padding(6, 3, 0, 3);
|
|||
|
menuStrip1.Size = new Size(1594, 30);
|
|||
|
menuStrip1.TabIndex = 0;
|
|||
|
menuStrip1.Text = "menuStrip1";
|
|||
|
//
|
|||
|
// bookToolStripMenuItem
|
|||
|
//
|
|||
|
bookToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { ingridientsToolStripMenuItem, pizzasToolStripMenuItem, машиныToolStripMenuItem, пунктыToolStripMenuItem });
|
|||
|
bookToolStripMenuItem.Name = "bookToolStripMenuItem";
|
|||
|
bookToolStripMenuItem.Size = new Size(108, 24);
|
|||
|
bookToolStripMenuItem.Text = "Справочник";
|
|||
|
//
|
|||
|
// ingridientsToolStripMenuItem
|
|||
|
//
|
|||
|
ingridientsToolStripMenuItem.Name = "ingridientsToolStripMenuItem";
|
|||
|
ingridientsToolStripMenuItem.Size = new Size(158, 26);
|
|||
|
ingridientsToolStripMenuItem.Text = "Грузы";
|
|||
|
ingridientsToolStripMenuItem.Click += CargosToolStripMenuItem_Click;
|
|||
|
//
|
|||
|
// pizzasToolStripMenuItem
|
|||
|
//
|
|||
|
pizzasToolStripMenuItem.Name = "pizzasToolStripMenuItem";
|
|||
|
pizzasToolStripMenuItem.Size = new Size(158, 26);
|
|||
|
pizzasToolStripMenuItem.Text = "Водители";
|
|||
|
pizzasToolStripMenuItem.Click += DriversToolStripMenuItem_Click;
|
|||
|
//
|
|||
|
// машиныToolStripMenuItem
|
|||
|
//
|
|||
|
машиныToolStripMenuItem.Name = "машиныToolStripMenuItem";
|
|||
|
машиныToolStripMenuItem.Size = new Size(158, 26);
|
|||
|
машиныToolStripMenuItem.Text = "Машины";
|
|||
|
машиныToolStripMenuItem.Click += TransportsToolStripMenuItem_Click;
|
|||
|
//
|
|||
|
// пунктыToolStripMenuItem
|
|||
|
//
|
|||
|
пунктыToolStripMenuItem.Name = "пунктыToolStripMenuItem";
|
|||
|
пунктыToolStripMenuItem.Size = new Size(158, 26);
|
|||
|
пунктыToolStripMenuItem.Text = "Пункты";
|
|||
|
пунктыToolStripMenuItem.Click += PointsToolStripMenuItem_Click;
|
|||
|
//
|
|||
|
// dataGridView
|
|||
|
//
|
|||
|
dataGridView.AllowUserToAddRows = false;
|
|||
|
dataGridView.AllowUserToDeleteRows = false;
|
|||
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|||
|
dataGridView.Location = new Point(11, 31);
|
|||
|
dataGridView.Name = "dataGridView";
|
|||
|
dataGridView.ReadOnly = true;
|
|||
|
dataGridView.RowHeadersWidth = 51;
|
|||
|
dataGridView.RowTemplate.Height = 29;
|
|||
|
dataGridView.Size = new Size(1305, 381);
|
|||
|
dataGridView.TabIndex = 1;
|
|||
|
//
|
|||
|
// buttonCreateOrder
|
|||
|
//
|
|||
|
buttonCreateOrder.Location = new Point(1334, 72);
|
|||
|
buttonCreateOrder.Name = "buttonCreateOrder";
|
|||
|
buttonCreateOrder.Size = new Size(247, 29);
|
|||
|
buttonCreateOrder.TabIndex = 2;
|
|||
|
buttonCreateOrder.Text = "Создать транспортировку";
|
|||
|
buttonCreateOrder.UseVisualStyleBackColor = true;
|
|||
|
buttonCreateOrder.Click += ButtonFormCreateTransportation_Click;
|
|||
|
//
|
|||
|
// buttonTakeOrderInWork
|
|||
|
//
|
|||
|
buttonTakeOrderInWork.Location = new Point(1334, 124);
|
|||
|
buttonTakeOrderInWork.Name = "buttonTakeOrderInWork";
|
|||
|
buttonTakeOrderInWork.Size = new Size(247, 29);
|
|||
|
buttonTakeOrderInWork.TabIndex = 3;
|
|||
|
buttonTakeOrderInWork.Text = "Отдать на доставку";
|
|||
|
buttonTakeOrderInWork.UseVisualStyleBackColor = true;
|
|||
|
buttonTakeOrderInWork.Click += ButtonDeliveredTransportation_Click;
|
|||
|
//
|
|||
|
// buttonOrderReady
|
|||
|
//
|
|||
|
buttonOrderReady.Location = new Point(1334, 173);
|
|||
|
buttonOrderReady.Name = "buttonOrderReady";
|
|||
|
buttonOrderReady.Size = new Size(247, 29);
|
|||
|
buttonOrderReady.TabIndex = 4;
|
|||
|
buttonOrderReady.Text = "Груз прибыл";
|
|||
|
buttonOrderReady.UseVisualStyleBackColor = true;
|
|||
|
buttonOrderReady.Click += ButtonArrivedTransportation_Click;
|
|||
|
//
|
|||
|
// buttonIssuedOrder
|
|||
|
//
|
|||
|
buttonIssuedOrder.Location = new Point(1334, 226);
|
|||
|
buttonIssuedOrder.Name = "buttonIssuedOrder";
|
|||
|
buttonIssuedOrder.Size = new Size(247, 29);
|
|||
|
buttonIssuedOrder.TabIndex = 5;
|
|||
|
buttonIssuedOrder.Text = "Груз отгружен";
|
|||
|
buttonIssuedOrder.UseVisualStyleBackColor = true;
|
|||
|
buttonIssuedOrder.Click += ButtonShippedTransportation_Click;
|
|||
|
//
|
|||
|
// buttonRef
|
|||
|
//
|
|||
|
buttonRef.Location = new Point(1334, 281);
|
|||
|
buttonRef.Name = "buttonRef";
|
|||
|
buttonRef.Size = new Size(247, 29);
|
|||
|
buttonRef.TabIndex = 6;
|
|||
|
buttonRef.Text = "Обновить список";
|
|||
|
buttonRef.UseVisualStyleBackColor = true;
|
|||
|
buttonRef.Click += ButtonRef_Click;
|
|||
|
//
|
|||
|
// FormMain
|
|||
|
//
|
|||
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|||
|
AutoScaleMode = AutoScaleMode.Font;
|
|||
|
ClientSize = new Size(1594, 425);
|
|||
|
Controls.Add(buttonRef);
|
|||
|
Controls.Add(buttonIssuedOrder);
|
|||
|
Controls.Add(buttonOrderReady);
|
|||
|
Controls.Add(buttonTakeOrderInWork);
|
|||
|
Controls.Add(buttonCreateOrder);
|
|||
|
Controls.Add(dataGridView);
|
|||
|
Controls.Add(menuStrip1);
|
|||
|
MainMenuStrip = menuStrip1;
|
|||
|
Name = "FormMain";
|
|||
|
Text = "Транспортная компания";
|
|||
|
Load += FormMain_Load;
|
|||
|
menuStrip1.ResumeLayout(false);
|
|||
|
menuStrip1.PerformLayout();
|
|||
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|||
|
ResumeLayout(false);
|
|||
|
PerformLayout();
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
private MenuStrip menuStrip1;
|
|||
|
private ToolStripMenuItem bookToolStripMenuItem;
|
|||
|
private ToolStripMenuItem ingridientsToolStripMenuItem;
|
|||
|
private ToolStripMenuItem pizzasToolStripMenuItem;
|
|||
|
private DataGridView dataGridView;
|
|||
|
private Button buttonCreateOrder;
|
|||
|
private Button buttonTakeOrderInWork;
|
|||
|
private Button buttonOrderReady;
|
|||
|
private Button buttonIssuedOrder;
|
|||
|
private Button buttonRef;
|
|||
|
private ToolStripMenuItem машиныToolStripMenuItem;
|
|||
|
private ToolStripMenuItem пунктыToolStripMenuItem;
|
|||
|
}
|
|||
|
}
|