Upload files to 'ShipyardView'
This commit is contained in:
parent
f41966f4d4
commit
8003f6b5c2
143
ShipyardView/FormCreateOrder.Designer.cs
generated
Normal file
143
ShipyardView/FormCreateOrder.Designer.cs
generated
Normal file
@ -0,0 +1,143 @@
|
|||||||
|
namespace ShipyardView
|
||||||
|
{
|
||||||
|
partial class FormCreateOrder
|
||||||
|
{
|
||||||
|
/// <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()
|
||||||
|
{
|
||||||
|
textBoxCount = new TextBox();
|
||||||
|
textBoxSum = new TextBox();
|
||||||
|
ComboBoxManufacture = new ComboBox();
|
||||||
|
ButtonCancel = new Button();
|
||||||
|
ButtonSave = new Button();
|
||||||
|
labelItem = new Label();
|
||||||
|
labelcount = new Label();
|
||||||
|
labeltotal = new Label();
|
||||||
|
SuspendLayout();
|
||||||
|
//
|
||||||
|
// textBoxCount
|
||||||
|
//
|
||||||
|
textBoxCount.Location = new Point(455, 56);
|
||||||
|
textBoxCount.Name = "textBoxCount";
|
||||||
|
textBoxCount.Size = new Size(125, 27);
|
||||||
|
textBoxCount.TabIndex = 1;
|
||||||
|
textBoxCount.TextChanged += textBoxCount_TextChanged;
|
||||||
|
//
|
||||||
|
// textBoxSum
|
||||||
|
//
|
||||||
|
textBoxSum.Location = new Point(377, 109);
|
||||||
|
textBoxSum.Name = "textBoxSum";
|
||||||
|
textBoxSum.ReadOnly = true;
|
||||||
|
textBoxSum.Size = new Size(125, 27);
|
||||||
|
textBoxSum.TabIndex = 2;
|
||||||
|
//
|
||||||
|
// ComboBoxManufacture
|
||||||
|
//
|
||||||
|
ComboBoxManufacture.FormattingEnabled = true;
|
||||||
|
ComboBoxManufacture.Location = new Point(271, 55);
|
||||||
|
ComboBoxManufacture.Name = "ComboBoxManufacture";
|
||||||
|
ComboBoxManufacture.Size = new Size(151, 28);
|
||||||
|
ComboBoxManufacture.TabIndex = 3;
|
||||||
|
ComboBoxManufacture.SelectedIndexChanged += ComboBoxManufacture_SelectedIndexChanged;
|
||||||
|
//
|
||||||
|
// ButtonCancel
|
||||||
|
//
|
||||||
|
ButtonCancel.Location = new Point(440, 168);
|
||||||
|
ButtonCancel.Name = "ButtonCancel";
|
||||||
|
ButtonCancel.Size = new Size(94, 29);
|
||||||
|
ButtonCancel.TabIndex = 4;
|
||||||
|
ButtonCancel.Text = "отмена";
|
||||||
|
ButtonCancel.UseVisualStyleBackColor = true;
|
||||||
|
ButtonCancel.Click += ButtonCancel_Click;
|
||||||
|
//
|
||||||
|
// ButtonSave
|
||||||
|
//
|
||||||
|
ButtonSave.Location = new Point(307, 168);
|
||||||
|
ButtonSave.Name = "ButtonSave";
|
||||||
|
ButtonSave.Size = new Size(94, 29);
|
||||||
|
ButtonSave.TabIndex = 5;
|
||||||
|
ButtonSave.Text = "сохранить";
|
||||||
|
ButtonSave.UseVisualStyleBackColor = true;
|
||||||
|
ButtonSave.Click += ButtonSave_Click;
|
||||||
|
//
|
||||||
|
// labelItem
|
||||||
|
//
|
||||||
|
labelItem.AutoSize = true;
|
||||||
|
labelItem.Location = new Point(271, 22);
|
||||||
|
labelItem.Name = "labelItem";
|
||||||
|
labelItem.Size = new Size(67, 20);
|
||||||
|
labelItem.TabIndex = 6;
|
||||||
|
labelItem.Text = "корабль";
|
||||||
|
//
|
||||||
|
// labelcount
|
||||||
|
//
|
||||||
|
labelcount.AutoSize = true;
|
||||||
|
labelcount.Location = new Point(455, 22);
|
||||||
|
labelcount.Name = "labelcount";
|
||||||
|
labelcount.Size = new Size(88, 20);
|
||||||
|
labelcount.TabIndex = 7;
|
||||||
|
labelcount.Text = "количество";
|
||||||
|
//
|
||||||
|
// labeltotal
|
||||||
|
//
|
||||||
|
labeltotal.AutoSize = true;
|
||||||
|
labeltotal.Location = new Point(307, 112);
|
||||||
|
labeltotal.Name = "labeltotal";
|
||||||
|
labeltotal.Size = new Size(51, 20);
|
||||||
|
labeltotal.TabIndex = 8;
|
||||||
|
labeltotal.Text = "итого:";
|
||||||
|
//
|
||||||
|
// FormCreateOrder
|
||||||
|
//
|
||||||
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
||||||
|
AutoScaleMode = AutoScaleMode.Font;
|
||||||
|
ClientSize = new Size(800, 209);
|
||||||
|
Controls.Add(labeltotal);
|
||||||
|
Controls.Add(labelcount);
|
||||||
|
Controls.Add(labelItem);
|
||||||
|
Controls.Add(ButtonSave);
|
||||||
|
Controls.Add(ButtonCancel);
|
||||||
|
Controls.Add(ComboBoxManufacture);
|
||||||
|
Controls.Add(textBoxSum);
|
||||||
|
Controls.Add(textBoxCount);
|
||||||
|
Name = "FormCreateOrder";
|
||||||
|
Text = "FormCreateOrder";
|
||||||
|
Load += FormCreateOrder_Load;
|
||||||
|
ResumeLayout(false);
|
||||||
|
PerformLayout();
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
private TextBox textBoxCount;
|
||||||
|
private TextBox textBoxSum;
|
||||||
|
private ComboBox ComboBoxManufacture;
|
||||||
|
private Button ButtonCancel;
|
||||||
|
private Button ButtonSave;
|
||||||
|
private Label labelItem;
|
||||||
|
private Label labelcount;
|
||||||
|
private Label labeltotal;
|
||||||
|
}
|
||||||
|
}
|
215
ShipyardView/FormMain.Designer.cs
generated
Normal file
215
ShipyardView/FormMain.Designer.cs
generated
Normal file
@ -0,0 +1,215 @@
|
|||||||
|
namespace ShipyardView
|
||||||
|
{
|
||||||
|
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()
|
||||||
|
{
|
||||||
|
dataGridView = new DataGridView();
|
||||||
|
ShipId = new DataGridViewTextBoxColumn();
|
||||||
|
ButtonRef = new Button();
|
||||||
|
ButtonCreateOrder = new Button();
|
||||||
|
ButtonTakeOrderInWork = new Button();
|
||||||
|
ButtonOrderReady = new Button();
|
||||||
|
ButtonIssuedOrder = new Button();
|
||||||
|
menuStrip1 = new MenuStrip();
|
||||||
|
ReportstoolStrip = new ToolStripMenuItem();
|
||||||
|
ComponentListToolStripMenuItem = new ToolStripMenuItem();
|
||||||
|
ComponentsShipToolStripMenuItem = new ToolStripMenuItem();
|
||||||
|
OrderListToolStripMenuItem = new ToolStripMenuItem();
|
||||||
|
GuidesToolStripMenuItem = new ToolStripMenuItem();
|
||||||
|
ShipsToolStripMenuItem = new ToolStripMenuItem();
|
||||||
|
ComponentsToolStripMenuItem = new ToolStripMenuItem();
|
||||||
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
||||||
|
menuStrip1.SuspendLayout();
|
||||||
|
SuspendLayout();
|
||||||
|
//
|
||||||
|
// dataGridView
|
||||||
|
//
|
||||||
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||||
|
dataGridView.Location = new Point(0, 117);
|
||||||
|
dataGridView.Name = "dataGridView";
|
||||||
|
dataGridView.RowHeadersWidth = 51;
|
||||||
|
dataGridView.RowTemplate.Height = 29;
|
||||||
|
dataGridView.Size = new Size(1000, 387);
|
||||||
|
dataGridView.TabIndex = 0;
|
||||||
|
//
|
||||||
|
// ShipId
|
||||||
|
//
|
||||||
|
ShipId.MinimumWidth = 6;
|
||||||
|
ShipId.Name = "ShipId";
|
||||||
|
ShipId.Width = 125;
|
||||||
|
//
|
||||||
|
// ButtonRef
|
||||||
|
//
|
||||||
|
ButtonRef.Location = new Point(1079, 429);
|
||||||
|
ButtonRef.Name = "ButtonRef";
|
||||||
|
ButtonRef.Size = new Size(94, 34);
|
||||||
|
ButtonRef.TabIndex = 3;
|
||||||
|
ButtonRef.Text = "обновить";
|
||||||
|
ButtonRef.UseVisualStyleBackColor = true;
|
||||||
|
ButtonRef.Click += ButtonRef_Click;
|
||||||
|
//
|
||||||
|
// ButtonCreateOrder
|
||||||
|
//
|
||||||
|
ButtonCreateOrder.Location = new Point(1027, 94);
|
||||||
|
ButtonCreateOrder.Name = "ButtonCreateOrder";
|
||||||
|
ButtonCreateOrder.Size = new Size(146, 43);
|
||||||
|
ButtonCreateOrder.TabIndex = 5;
|
||||||
|
ButtonCreateOrder.Text = "создать";
|
||||||
|
ButtonCreateOrder.UseVisualStyleBackColor = true;
|
||||||
|
ButtonCreateOrder.Click += ButtonCreateOrder_Click;
|
||||||
|
//
|
||||||
|
// ButtonTakeOrderInWork
|
||||||
|
//
|
||||||
|
ButtonTakeOrderInWork.Location = new Point(1027, 143);
|
||||||
|
ButtonTakeOrderInWork.Name = "ButtonTakeOrderInWork";
|
||||||
|
ButtonTakeOrderInWork.Size = new Size(146, 47);
|
||||||
|
ButtonTakeOrderInWork.TabIndex = 6;
|
||||||
|
ButtonTakeOrderInWork.Text = "выполняется";
|
||||||
|
ButtonTakeOrderInWork.UseVisualStyleBackColor = true;
|
||||||
|
ButtonTakeOrderInWork.Click += ButtonTakeOrderInWork_Click;
|
||||||
|
//
|
||||||
|
// ButtonOrderReady
|
||||||
|
//
|
||||||
|
ButtonOrderReady.Location = new Point(1027, 196);
|
||||||
|
ButtonOrderReady.Name = "ButtonOrderReady";
|
||||||
|
ButtonOrderReady.Size = new Size(146, 36);
|
||||||
|
ButtonOrderReady.TabIndex = 7;
|
||||||
|
ButtonOrderReady.Text = "заказ готов";
|
||||||
|
ButtonOrderReady.UseVisualStyleBackColor = true;
|
||||||
|
ButtonOrderReady.Click += ButtonOrderReady_Click;
|
||||||
|
//
|
||||||
|
// ButtonIssuedOrder
|
||||||
|
//
|
||||||
|
ButtonIssuedOrder.Location = new Point(1027, 238);
|
||||||
|
ButtonIssuedOrder.Name = "ButtonIssuedOrder";
|
||||||
|
ButtonIssuedOrder.Size = new Size(146, 35);
|
||||||
|
ButtonIssuedOrder.TabIndex = 8;
|
||||||
|
ButtonIssuedOrder.Text = "заказ отдан";
|
||||||
|
ButtonIssuedOrder.UseVisualStyleBackColor = true;
|
||||||
|
ButtonIssuedOrder.Click += ButtonIssuedOrder_Click;
|
||||||
|
//
|
||||||
|
// menuStrip1
|
||||||
|
//
|
||||||
|
menuStrip1.ImageScalingSize = new Size(20, 20);
|
||||||
|
menuStrip1.Items.AddRange(new ToolStripItem[] { ReportstoolStrip, GuidesToolStripMenuItem });
|
||||||
|
menuStrip1.Location = new Point(0, 0);
|
||||||
|
menuStrip1.Name = "menuStrip1";
|
||||||
|
menuStrip1.Size = new Size(1185, 28);
|
||||||
|
menuStrip1.TabIndex = 10;
|
||||||
|
menuStrip1.Text = "menuStrip1";
|
||||||
|
//
|
||||||
|
// ReportstoolStrip
|
||||||
|
//
|
||||||
|
ReportstoolStrip.DropDownItems.AddRange(new ToolStripItem[] { ComponentListToolStripMenuItem, ComponentsShipToolStripMenuItem, OrderListToolStripMenuItem });
|
||||||
|
ReportstoolStrip.Name = "ReportstoolStrip";
|
||||||
|
ReportstoolStrip.Size = new Size(71, 24);
|
||||||
|
ReportstoolStrip.Text = "отчеты";
|
||||||
|
//
|
||||||
|
// ComponentListToolStripMenuItem
|
||||||
|
//
|
||||||
|
ComponentListToolStripMenuItem.Name = "ComponentListToolStripMenuItem";
|
||||||
|
ComponentListToolStripMenuItem.Size = new Size(275, 26);
|
||||||
|
ComponentListToolStripMenuItem.Text = "список кораблей";
|
||||||
|
ComponentListToolStripMenuItem.Click += ComponentListToolStripMenuItem_Click;
|
||||||
|
//
|
||||||
|
// ComponentsShipToolStripMenuItem
|
||||||
|
//
|
||||||
|
ComponentsShipToolStripMenuItem.Name = "ComponentsShipToolStripMenuItem";
|
||||||
|
ComponentsShipToolStripMenuItem.Size = new Size(275, 26);
|
||||||
|
ComponentsShipToolStripMenuItem.Text = "компоненты по кораблям";
|
||||||
|
ComponentsShipToolStripMenuItem.Click += ComponentsShipToolStripMenuItem_Click;
|
||||||
|
//
|
||||||
|
// OrderListToolStripMenuItem
|
||||||
|
//
|
||||||
|
OrderListToolStripMenuItem.Name = "OrderListToolStripMenuItem";
|
||||||
|
OrderListToolStripMenuItem.Size = new Size(275, 26);
|
||||||
|
OrderListToolStripMenuItem.Text = "список заказов";
|
||||||
|
OrderListToolStripMenuItem.Click += OrderListToolStripMenuItem_Click;
|
||||||
|
//
|
||||||
|
// GuidesToolStripMenuItem
|
||||||
|
//
|
||||||
|
GuidesToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { ShipsToolStripMenuItem, ComponentsToolStripMenuItem });
|
||||||
|
GuidesToolStripMenuItem.Name = "GuidesToolStripMenuItem";
|
||||||
|
GuidesToolStripMenuItem.Size = new Size(115, 24);
|
||||||
|
GuidesToolStripMenuItem.Text = "справочники";
|
||||||
|
//
|
||||||
|
// ShipsToolStripMenuItem
|
||||||
|
//
|
||||||
|
ShipsToolStripMenuItem.Name = "ShipsToolStripMenuItem";
|
||||||
|
ShipsToolStripMenuItem.Size = new Size(224, 26);
|
||||||
|
ShipsToolStripMenuItem.Text = "корабли";
|
||||||
|
ShipsToolStripMenuItem.Click += ShipsToolStripMenuItem_Click;
|
||||||
|
//
|
||||||
|
// ComponentsToolStripMenuItem
|
||||||
|
//
|
||||||
|
ComponentsToolStripMenuItem.Name = "ComponentsToolStripMenuItem";
|
||||||
|
ComponentsToolStripMenuItem.Size = new Size(224, 26);
|
||||||
|
ComponentsToolStripMenuItem.Text = "компоненты";
|
||||||
|
ComponentsToolStripMenuItem.Click += ComponentsToolStripMenuItem_Click;
|
||||||
|
//
|
||||||
|
// FormMain
|
||||||
|
//
|
||||||
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
||||||
|
AutoScaleMode = AutoScaleMode.Font;
|
||||||
|
ClientSize = new Size(1185, 516);
|
||||||
|
Controls.Add(ButtonIssuedOrder);
|
||||||
|
Controls.Add(ButtonOrderReady);
|
||||||
|
Controls.Add(ButtonTakeOrderInWork);
|
||||||
|
Controls.Add(ButtonCreateOrder);
|
||||||
|
Controls.Add(ButtonRef);
|
||||||
|
Controls.Add(menuStrip1);
|
||||||
|
Controls.Add(dataGridView);
|
||||||
|
Name = "FormMain";
|
||||||
|
Text = "FormMain";
|
||||||
|
Load += FormMain_Load;
|
||||||
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
||||||
|
menuStrip1.ResumeLayout(false);
|
||||||
|
menuStrip1.PerformLayout();
|
||||||
|
ResumeLayout(false);
|
||||||
|
PerformLayout();
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
private DataGridView dataGridView;
|
||||||
|
private Button ButtonRef;
|
||||||
|
private Button ButtonCreateOrder;
|
||||||
|
private Button ButtonTakeOrderInWork;
|
||||||
|
private Button ButtonOrderReady;
|
||||||
|
private Button ButtonIssuedOrder;
|
||||||
|
private DataGridViewTextBoxColumn ShipId;
|
||||||
|
private MenuStrip menuStrip1;
|
||||||
|
private ToolStripMenuItem ReportstoolStrip;
|
||||||
|
private ToolStripMenuItem ComponentListToolStripMenuItem;
|
||||||
|
private ToolStripMenuItem ComponentsShipToolStripMenuItem;
|
||||||
|
private ToolStripMenuItem OrderListToolStripMenuItem;
|
||||||
|
private ToolStripMenuItem GuidesToolStripMenuItem;
|
||||||
|
private ToolStripMenuItem ShipsToolStripMenuItem;
|
||||||
|
private ToolStripMenuItem ComponentsToolStripMenuItem;
|
||||||
|
}
|
||||||
|
}
|
102
ShipyardView/FormReportOrders.Designer.cs
generated
Normal file
102
ShipyardView/FormReportOrders.Designer.cs
generated
Normal file
@ -0,0 +1,102 @@
|
|||||||
|
namespace ShipyardView
|
||||||
|
{
|
||||||
|
partial class FormReportOrders
|
||||||
|
{
|
||||||
|
/// <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()
|
||||||
|
{
|
||||||
|
panelReport = new Panel();
|
||||||
|
buttonToPDF = new Button();
|
||||||
|
MakeButton = new Button();
|
||||||
|
dateTimePickerTo = new DateTimePicker();
|
||||||
|
dateTimePickerFrom = new DateTimePicker();
|
||||||
|
SuspendLayout();
|
||||||
|
//
|
||||||
|
// panelReport
|
||||||
|
//
|
||||||
|
panelReport.Location = new Point(12, 80);
|
||||||
|
panelReport.Name = "panelReport";
|
||||||
|
panelReport.Size = new Size(944, 394);
|
||||||
|
panelReport.TabIndex = 0;
|
||||||
|
//
|
||||||
|
// buttonToPDF
|
||||||
|
//
|
||||||
|
buttonToPDF.Location = new Point(785, 38);
|
||||||
|
buttonToPDF.Name = "buttonToPDF";
|
||||||
|
buttonToPDF.Size = new Size(94, 29);
|
||||||
|
buttonToPDF.TabIndex = 3;
|
||||||
|
buttonToPDF.Text = "в PDF";
|
||||||
|
buttonToPDF.UseVisualStyleBackColor = true;
|
||||||
|
buttonToPDF.Click += ButtonToPdf_Click;
|
||||||
|
//
|
||||||
|
// MakeButton
|
||||||
|
//
|
||||||
|
MakeButton.Location = new Point(581, 30);
|
||||||
|
MakeButton.Name = "MakeButton";
|
||||||
|
MakeButton.Size = new Size(122, 44);
|
||||||
|
MakeButton.TabIndex = 2;
|
||||||
|
MakeButton.Text = "сформировать";
|
||||||
|
MakeButton.UseVisualStyleBackColor = true;
|
||||||
|
MakeButton.Click += MakeButton_Click;
|
||||||
|
//
|
||||||
|
// dateTimePickerTo
|
||||||
|
//
|
||||||
|
dateTimePickerTo.Location = new Point(287, 37);
|
||||||
|
dateTimePickerTo.Name = "dateTimePickerTo";
|
||||||
|
dateTimePickerTo.Size = new Size(250, 27);
|
||||||
|
dateTimePickerTo.TabIndex = 1;
|
||||||
|
//
|
||||||
|
// dateTimePickerFrom
|
||||||
|
//
|
||||||
|
dateTimePickerFrom.Location = new Point(12, 37);
|
||||||
|
dateTimePickerFrom.Name = "dateTimePickerFrom";
|
||||||
|
dateTimePickerFrom.Size = new Size(250, 27);
|
||||||
|
dateTimePickerFrom.TabIndex = 0;
|
||||||
|
//
|
||||||
|
// FormReportOrders
|
||||||
|
//
|
||||||
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
||||||
|
AutoScaleMode = AutoScaleMode.Font;
|
||||||
|
ClientSize = new Size(968, 486);
|
||||||
|
Controls.Add(buttonToPDF);
|
||||||
|
Controls.Add(MakeButton);
|
||||||
|
Controls.Add(dateTimePickerFrom);
|
||||||
|
Controls.Add(dateTimePickerTo);
|
||||||
|
Controls.Add(panelReport);
|
||||||
|
Name = "FormReportOrders";
|
||||||
|
Text = "FormReportOrders";
|
||||||
|
ResumeLayout(false);
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
private Panel panelReport;
|
||||||
|
private DateTimePicker dateTimePickerTo;
|
||||||
|
private DateTimePicker dateTimePickerFrom;
|
||||||
|
private Button buttonToPDF;
|
||||||
|
private Button MakeButton;
|
||||||
|
}
|
||||||
|
}
|
118
ShipyardView/FormShipComponent.Designer.cs
generated
Normal file
118
ShipyardView/FormShipComponent.Designer.cs
generated
Normal file
@ -0,0 +1,118 @@
|
|||||||
|
namespace ShipyardView
|
||||||
|
{
|
||||||
|
partial class FormShipComponent
|
||||||
|
{
|
||||||
|
/// <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()
|
||||||
|
{
|
||||||
|
comboBoxComponent = new ComboBox();
|
||||||
|
textBoxCount = new TextBox();
|
||||||
|
ButtonSave = new Button();
|
||||||
|
ButtonCancel = new Button();
|
||||||
|
label1 = new Label();
|
||||||
|
label2 = new Label();
|
||||||
|
SuspendLayout();
|
||||||
|
//
|
||||||
|
// comboBoxComponent
|
||||||
|
//
|
||||||
|
comboBoxComponent.FormattingEnabled = true;
|
||||||
|
comboBoxComponent.Location = new Point(300, 76);
|
||||||
|
comboBoxComponent.Name = "comboBoxComponent";
|
||||||
|
comboBoxComponent.Size = new Size(260, 28);
|
||||||
|
comboBoxComponent.TabIndex = 0;
|
||||||
|
//
|
||||||
|
// textBoxCount
|
||||||
|
//
|
||||||
|
textBoxCount.Location = new Point(300, 158);
|
||||||
|
textBoxCount.Name = "textBoxCount";
|
||||||
|
textBoxCount.Size = new Size(260, 27);
|
||||||
|
textBoxCount.TabIndex = 1;
|
||||||
|
//
|
||||||
|
// ButtonSave
|
||||||
|
//
|
||||||
|
ButtonSave.Location = new Point(300, 218);
|
||||||
|
ButtonSave.Name = "ButtonSave";
|
||||||
|
ButtonSave.Size = new Size(94, 29);
|
||||||
|
ButtonSave.TabIndex = 2;
|
||||||
|
ButtonSave.Text = "сохранить";
|
||||||
|
ButtonSave.UseVisualStyleBackColor = true;
|
||||||
|
ButtonSave.Click += ButtonSave_Click;
|
||||||
|
//
|
||||||
|
// ButtonCancel
|
||||||
|
//
|
||||||
|
ButtonCancel.Location = new Point(466, 218);
|
||||||
|
ButtonCancel.Name = "ButtonCancel";
|
||||||
|
ButtonCancel.Size = new Size(94, 29);
|
||||||
|
ButtonCancel.TabIndex = 3;
|
||||||
|
ButtonCancel.Text = "отмена";
|
||||||
|
ButtonCancel.UseVisualStyleBackColor = true;
|
||||||
|
ButtonCancel.Click += ButtonCancel_Click;
|
||||||
|
//
|
||||||
|
// label1
|
||||||
|
//
|
||||||
|
label1.AutoSize = true;
|
||||||
|
label1.Location = new Point(300, 53);
|
||||||
|
label1.Name = "label1";
|
||||||
|
label1.Size = new Size(157, 20);
|
||||||
|
label1.TabIndex = 4;
|
||||||
|
label1.Text = "выберете компонент";
|
||||||
|
//
|
||||||
|
// label2
|
||||||
|
//
|
||||||
|
label2.AutoSize = true;
|
||||||
|
label2.Location = new Point(300, 135);
|
||||||
|
label2.Name = "label2";
|
||||||
|
label2.Size = new Size(88, 20);
|
||||||
|
label2.TabIndex = 5;
|
||||||
|
label2.Text = "количество";
|
||||||
|
//
|
||||||
|
// FormShipComponent
|
||||||
|
//
|
||||||
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
||||||
|
AutoScaleMode = AutoScaleMode.Font;
|
||||||
|
ClientSize = new Size(800, 276);
|
||||||
|
Controls.Add(label2);
|
||||||
|
Controls.Add(label1);
|
||||||
|
Controls.Add(ButtonCancel);
|
||||||
|
Controls.Add(ButtonSave);
|
||||||
|
Controls.Add(textBoxCount);
|
||||||
|
Controls.Add(comboBoxComponent);
|
||||||
|
Name = "FormShipComponent";
|
||||||
|
Text = "FormShipComponent";
|
||||||
|
ResumeLayout(false);
|
||||||
|
PerformLayout();
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
private ComboBox comboBoxComponent;
|
||||||
|
private TextBox textBoxCount;
|
||||||
|
private Button ButtonSave;
|
||||||
|
private Button ButtonCancel;
|
||||||
|
private Label label1;
|
||||||
|
private Label label2;
|
||||||
|
}
|
||||||
|
}
|
116
ShipyardView/FormShips.Designer.cs
generated
Normal file
116
ShipyardView/FormShips.Designer.cs
generated
Normal file
@ -0,0 +1,116 @@
|
|||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace ShipyardView
|
||||||
|
{
|
||||||
|
partial class FormShips
|
||||||
|
{
|
||||||
|
/// <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()
|
||||||
|
{
|
||||||
|
AddButton = new Button();
|
||||||
|
DeleteButton = new Button();
|
||||||
|
UpdateButton = new Button();
|
||||||
|
RefreshButton = new Button();
|
||||||
|
dataGridView = new DataGridView();
|
||||||
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
||||||
|
SuspendLayout();
|
||||||
|
//
|
||||||
|
// AddButton
|
||||||
|
//
|
||||||
|
AddButton.Location = new Point(667, 43);
|
||||||
|
AddButton.Name = "AddButton";
|
||||||
|
AddButton.Size = new Size(94, 46);
|
||||||
|
AddButton.TabIndex = 0;
|
||||||
|
AddButton.Text = "добавить";
|
||||||
|
AddButton.UseVisualStyleBackColor = true;
|
||||||
|
AddButton.Click += AddButton_Click;
|
||||||
|
//
|
||||||
|
// DeleteButton
|
||||||
|
//
|
||||||
|
DeleteButton.Location = new Point(667, 111);
|
||||||
|
DeleteButton.Name = "DeleteButton";
|
||||||
|
DeleteButton.Size = new Size(94, 44);
|
||||||
|
DeleteButton.TabIndex = 1;
|
||||||
|
DeleteButton.Text = "удалить";
|
||||||
|
DeleteButton.UseVisualStyleBackColor = true;
|
||||||
|
DeleteButton.Click += DeleteButton_Click;
|
||||||
|
//
|
||||||
|
// UpdateButton
|
||||||
|
//
|
||||||
|
UpdateButton.Location = new Point(667, 177);
|
||||||
|
UpdateButton.Name = "UpdateButton";
|
||||||
|
UpdateButton.Size = new Size(94, 42);
|
||||||
|
UpdateButton.TabIndex = 2;
|
||||||
|
UpdateButton.Text = "изменить";
|
||||||
|
UpdateButton.UseVisualStyleBackColor = true;
|
||||||
|
UpdateButton.Click += UpdateButton_Click;
|
||||||
|
//
|
||||||
|
// RefreshButton
|
||||||
|
//
|
||||||
|
RefreshButton.Location = new Point(667, 392);
|
||||||
|
RefreshButton.Name = "RefreshButton";
|
||||||
|
RefreshButton.Size = new Size(94, 29);
|
||||||
|
RefreshButton.TabIndex = 3;
|
||||||
|
RefreshButton.Text = "обновить";
|
||||||
|
RefreshButton.UseVisualStyleBackColor = true;
|
||||||
|
RefreshButton.Click += RefreshButton_Click;
|
||||||
|
//
|
||||||
|
// dataGridView
|
||||||
|
//
|
||||||
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||||
|
dataGridView.Location = new Point(12, 43);
|
||||||
|
dataGridView.Name = "dataGridView";
|
||||||
|
dataGridView.RowHeadersWidth = 51;
|
||||||
|
dataGridView.RowTemplate.Height = 29;
|
||||||
|
dataGridView.Size = new Size(609, 395);
|
||||||
|
dataGridView.TabIndex = 4;
|
||||||
|
//
|
||||||
|
// FormShips
|
||||||
|
//
|
||||||
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
||||||
|
AutoScaleMode = AutoScaleMode.Font;
|
||||||
|
ClientSize = new Size(800, 450);
|
||||||
|
Controls.Add(dataGridView);
|
||||||
|
Controls.Add(RefreshButton);
|
||||||
|
Controls.Add(UpdateButton);
|
||||||
|
Controls.Add(DeleteButton);
|
||||||
|
Controls.Add(AddButton);
|
||||||
|
Name = "FormShips";
|
||||||
|
Text = "Ships";
|
||||||
|
Load += FormShips_Load;
|
||||||
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
||||||
|
ResumeLayout(false);
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
private Button AddButton;
|
||||||
|
private Button DeleteButton;
|
||||||
|
private Button UpdateButton;
|
||||||
|
private Button RefreshButton;
|
||||||
|
private DataGridView dataGridView;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user