215 lines
7.9 KiB
C#
215 lines
7.9 KiB
C#
|
namespace ShipyardView
|
|||
|
{
|
|||
|
partial class FormShip
|
|||
|
{
|
|||
|
/// <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();
|
|||
|
ColumnId = new DataGridViewTextBoxColumn();
|
|||
|
Component = new DataGridViewTextBoxColumn();
|
|||
|
number = new DataGridViewTextBoxColumn();
|
|||
|
textBoxPrice = new TextBox();
|
|||
|
textBoxName = new TextBox();
|
|||
|
ButtonAdd = new Button();
|
|||
|
ButtonDel = new Button();
|
|||
|
ButtonUpd = new Button();
|
|||
|
ButtonRef = new Button();
|
|||
|
ButtonSave = new Button();
|
|||
|
ButtonCancel = new Button();
|
|||
|
labeltotal = new Label();
|
|||
|
labelName = new Label();
|
|||
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|||
|
SuspendLayout();
|
|||
|
//
|
|||
|
// dataGridView
|
|||
|
//
|
|||
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|||
|
dataGridView.Columns.AddRange(new DataGridViewColumn[] { ColumnId, Component, number });
|
|||
|
dataGridView.Location = new Point(12, 29);
|
|||
|
dataGridView.Name = "dataGridView";
|
|||
|
dataGridView.RowHeadersWidth = 51;
|
|||
|
dataGridView.RowTemplate.Height = 29;
|
|||
|
dataGridView.Size = new Size(565, 382);
|
|||
|
dataGridView.TabIndex = 0;
|
|||
|
//
|
|||
|
// ColumnId
|
|||
|
//
|
|||
|
ColumnId.HeaderText = "id";
|
|||
|
ColumnId.MinimumWidth = 6;
|
|||
|
ColumnId.Name = "ColumnId";
|
|||
|
ColumnId.Visible = false;
|
|||
|
ColumnId.Width = 125;
|
|||
|
//
|
|||
|
// Component
|
|||
|
//
|
|||
|
Component.HeaderText = "component";
|
|||
|
Component.MinimumWidth = 6;
|
|||
|
Component.Name = "Component";
|
|||
|
Component.Width = 125;
|
|||
|
//
|
|||
|
// number
|
|||
|
//
|
|||
|
number.HeaderText = "number";
|
|||
|
number.MinimumWidth = 6;
|
|||
|
number.Name = "number";
|
|||
|
number.Width = 125;
|
|||
|
//
|
|||
|
// textBoxPrice
|
|||
|
//
|
|||
|
textBoxPrice.Location = new Point(634, 259);
|
|||
|
textBoxPrice.Name = "textBoxPrice";
|
|||
|
textBoxPrice.ReadOnly = true;
|
|||
|
textBoxPrice.Size = new Size(125, 27);
|
|||
|
textBoxPrice.TabIndex = 1;
|
|||
|
//
|
|||
|
// textBoxName
|
|||
|
//
|
|||
|
textBoxName.Location = new Point(634, 52);
|
|||
|
textBoxName.Name = "textBoxName";
|
|||
|
textBoxName.Size = new Size(125, 27);
|
|||
|
textBoxName.TabIndex = 2;
|
|||
|
//
|
|||
|
// ButtonAdd
|
|||
|
//
|
|||
|
ButtonAdd.Location = new Point(649, 85);
|
|||
|
ButtonAdd.Name = "ButtonAdd";
|
|||
|
ButtonAdd.Size = new Size(94, 29);
|
|||
|
ButtonAdd.TabIndex = 3;
|
|||
|
ButtonAdd.Text = "добавить";
|
|||
|
ButtonAdd.UseVisualStyleBackColor = true;
|
|||
|
ButtonAdd.Click += ButtonAdd_Click;
|
|||
|
//
|
|||
|
// ButtonDel
|
|||
|
//
|
|||
|
ButtonDel.Location = new Point(649, 176);
|
|||
|
ButtonDel.Name = "ButtonDel";
|
|||
|
ButtonDel.Size = new Size(94, 29);
|
|||
|
ButtonDel.TabIndex = 4;
|
|||
|
ButtonDel.Text = "удалить";
|
|||
|
ButtonDel.UseVisualStyleBackColor = true;
|
|||
|
ButtonDel.Click += ButtonDel_Click;
|
|||
|
//
|
|||
|
// ButtonUpd
|
|||
|
//
|
|||
|
ButtonUpd.Location = new Point(649, 130);
|
|||
|
ButtonUpd.Name = "ButtonUpd";
|
|||
|
ButtonUpd.Size = new Size(94, 29);
|
|||
|
ButtonUpd.TabIndex = 5;
|
|||
|
ButtonUpd.Text = "изменить";
|
|||
|
ButtonUpd.UseVisualStyleBackColor = true;
|
|||
|
ButtonUpd.Click += ButtonUpd_Click;
|
|||
|
//
|
|||
|
// ButtonRef
|
|||
|
//
|
|||
|
ButtonRef.Location = new Point(694, 409);
|
|||
|
ButtonRef.Name = "ButtonRef";
|
|||
|
ButtonRef.Size = new Size(94, 29);
|
|||
|
ButtonRef.TabIndex = 6;
|
|||
|
ButtonRef.Text = "обновить";
|
|||
|
ButtonRef.UseVisualStyleBackColor = true;
|
|||
|
ButtonRef.Click += ButtonRef_Click;
|
|||
|
//
|
|||
|
// ButtonSave
|
|||
|
//
|
|||
|
ButtonSave.Location = new Point(594, 347);
|
|||
|
ButtonSave.Name = "ButtonSave";
|
|||
|
ButtonSave.Size = new Size(94, 29);
|
|||
|
ButtonSave.TabIndex = 7;
|
|||
|
ButtonSave.Text = "сохранить";
|
|||
|
ButtonSave.UseVisualStyleBackColor = true;
|
|||
|
ButtonSave.Click += ButtonSave_Click;
|
|||
|
//
|
|||
|
// ButtonCancel
|
|||
|
//
|
|||
|
ButtonCancel.Location = new Point(694, 347);
|
|||
|
ButtonCancel.Name = "ButtonCancel";
|
|||
|
ButtonCancel.Size = new Size(94, 29);
|
|||
|
ButtonCancel.TabIndex = 8;
|
|||
|
ButtonCancel.Text = "отмена";
|
|||
|
ButtonCancel.UseVisualStyleBackColor = true;
|
|||
|
ButtonCancel.Click += ButtonCancel_Click;
|
|||
|
//
|
|||
|
// labeltotal
|
|||
|
//
|
|||
|
labeltotal.AutoSize = true;
|
|||
|
labeltotal.Location = new Point(607, 236);
|
|||
|
labeltotal.Name = "labeltotal";
|
|||
|
labeltotal.Size = new Size(51, 20);
|
|||
|
labeltotal.TabIndex = 9;
|
|||
|
labeltotal.Text = "итого:";
|
|||
|
//
|
|||
|
// labelName
|
|||
|
//
|
|||
|
labelName.AutoSize = true;
|
|||
|
labelName.Location = new Point(634, 29);
|
|||
|
labelName.Name = "labelName";
|
|||
|
labelName.Size = new Size(37, 20);
|
|||
|
labelName.TabIndex = 10;
|
|||
|
labelName.Text = "имя";
|
|||
|
//
|
|||
|
// FormShip
|
|||
|
//
|
|||
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|||
|
AutoScaleMode = AutoScaleMode.Font;
|
|||
|
ClientSize = new Size(800, 450);
|
|||
|
Controls.Add(labelName);
|
|||
|
Controls.Add(labeltotal);
|
|||
|
Controls.Add(ButtonCancel);
|
|||
|
Controls.Add(ButtonSave);
|
|||
|
Controls.Add(ButtonRef);
|
|||
|
Controls.Add(ButtonUpd);
|
|||
|
Controls.Add(ButtonDel);
|
|||
|
Controls.Add(ButtonAdd);
|
|||
|
Controls.Add(textBoxName);
|
|||
|
Controls.Add(textBoxPrice);
|
|||
|
Controls.Add(dataGridView);
|
|||
|
Name = "FormShip";
|
|||
|
Text = "FormShip";
|
|||
|
Load += FormShip_Load;
|
|||
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|||
|
ResumeLayout(false);
|
|||
|
PerformLayout();
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
private DataGridView dataGridView;
|
|||
|
private TextBox textBoxPrice;
|
|||
|
private TextBox textBoxName;
|
|||
|
private Button ButtonAdd;
|
|||
|
private Button ButtonDel;
|
|||
|
private Button ButtonUpd;
|
|||
|
private Button ButtonRef;
|
|||
|
private Button ButtonSave;
|
|||
|
private Button ButtonCancel;
|
|||
|
private DataGridViewTextBoxColumn ColumnId;
|
|||
|
private DataGridViewTextBoxColumn Component;
|
|||
|
private DataGridViewTextBoxColumn number;
|
|||
|
private Label labeltotal;
|
|||
|
private Label labelName;
|
|||
|
}
|
|||
|
}
|