2024-02-25 20:02:29 +04:00

233 lines
8.7 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()
{
labelName = new Label();
labelPrice = new Label();
textBoxName = new TextBox();
textBoxPrice = new TextBox();
groupBoxDetails = new GroupBox();
buttonRefresh = new Button();
buttonDelete = new Button();
buttonUpdate = new Button();
buttonAdd = new Button();
dataGridView = new DataGridView();
id = new DataGridViewTextBoxColumn();
Detail = new DataGridViewTextBoxColumn();
Count = new DataGridViewTextBoxColumn();
buttonSave = new Button();
buttonCancel = new Button();
groupBoxDetails.SuspendLayout();
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
SuspendLayout();
//
// labelName
//
labelName.AutoSize = true;
labelName.Location = new Point(33, 15);
labelName.Name = "labelName";
labelName.Size = new Size(80, 20);
labelName.TabIndex = 0;
labelName.Text = "Название:";
//
// labelPrice
//
labelPrice.AutoSize = true;
labelPrice.Location = new Point(33, 47);
labelPrice.Name = "labelPrice";
labelPrice.Size = new Size(86, 20);
labelPrice.TabIndex = 1;
labelPrice.Text = "Стоимость:";
//
// textBoxName
//
textBoxName.Location = new Point(125, 14);
textBoxName.Name = "textBoxName";
textBoxName.Size = new Size(333, 27);
textBoxName.TabIndex = 2;
//
// textBoxPrice
//
textBoxPrice.Location = new Point(125, 47);
textBoxPrice.Name = "textBoxPrice";
textBoxPrice.ReadOnly = true;
textBoxPrice.Size = new Size(188, 27);
textBoxPrice.TabIndex = 3;
//
// groupBoxDetails
//
groupBoxDetails.Controls.Add(buttonRefresh);
groupBoxDetails.Controls.Add(buttonDelete);
groupBoxDetails.Controls.Add(buttonUpdate);
groupBoxDetails.Controls.Add(buttonAdd);
groupBoxDetails.Controls.Add(dataGridView);
groupBoxDetails.Location = new Point(33, 130);
groupBoxDetails.Name = "groupBoxDetails";
groupBoxDetails.Size = new Size(669, 328);
groupBoxDetails.TabIndex = 4;
groupBoxDetails.TabStop = false;
groupBoxDetails.Text = "Детали";
//
// buttonRefresh
//
buttonRefresh.Location = new Point(549, 193);
buttonRefresh.Name = "buttonRefresh";
buttonRefresh.Size = new Size(99, 37);
buttonRefresh.TabIndex = 4;
buttonRefresh.Text = "Обновить";
buttonRefresh.UseVisualStyleBackColor = true;
buttonRefresh.Click += ButtonRef_Click;
//
// buttonDelete
//
buttonDelete.Location = new Point(549, 143);
buttonDelete.Name = "buttonDelete";
buttonDelete.Size = new Size(99, 44);
buttonDelete.TabIndex = 3;
buttonDelete.Text = "Удалить";
buttonDelete.UseVisualStyleBackColor = true;
buttonDelete.Click += ButtonDel_Click;
//
// buttonUpdate
//
buttonUpdate.Location = new Point(549, 93);
buttonUpdate.Name = "buttonUpdate";
buttonUpdate.Size = new Size(99, 44);
buttonUpdate.TabIndex = 2;
buttonUpdate.Text = "Изменить";
buttonUpdate.UseVisualStyleBackColor = true;
buttonUpdate.Click += ButtonUpd_Click;
//
// buttonAdd
//
buttonAdd.Location = new Point(549, 45);
buttonAdd.Name = "buttonAdd";
buttonAdd.Size = new Size(99, 42);
buttonAdd.TabIndex = 1;
buttonAdd.Text = "Добавить";
buttonAdd.UseVisualStyleBackColor = true;
buttonAdd.Click += ButtonAdd_Click;
//
// dataGridView
//
dataGridView.AllowUserToAddRows = false;
dataGridView.AllowUserToDeleteRows = false;
dataGridView.AllowUserToResizeColumns = false;
dataGridView.AllowUserToResizeRows = false;
dataGridView.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
dataGridView.Columns.AddRange(new DataGridViewColumn[] { id, Detail, Count });
dataGridView.Location = new Point(6, 26);
dataGridView.Name = "dataGridView";
dataGridView.RowHeadersVisible = false;
dataGridView.RowHeadersWidth = 51;
dataGridView.RowTemplate.Height = 29;
dataGridView.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
dataGridView.Size = new Size(517, 296);
dataGridView.TabIndex = 0;
//
// id
//
id.HeaderText = "Id";
id.MinimumWidth = 6;
id.Name = "id";
id.Visible = false;
//
// Detail
//
Detail.HeaderText = "Деталь";
Detail.MinimumWidth = 6;
Detail.Name = "Detail";
//
// Count
//
Count.HeaderText = "Количество";
Count.MinimumWidth = 6;
Count.Name = "Count";
//
// buttonSave
//
buttonSave.Location = new Point(409, 478);
buttonSave.Name = "buttonSave";
buttonSave.Size = new Size(127, 39);
buttonSave.TabIndex = 5;
buttonSave.Text = "Сохранить";
buttonSave.UseVisualStyleBackColor = true;
buttonSave.Click += ButtonSave_Click;
//
// buttonCancel
//
buttonCancel.Location = new Point(554, 478);
buttonCancel.Name = "buttonCancel";
buttonCancel.Size = new Size(127, 39);
buttonCancel.TabIndex = 6;
buttonCancel.Text = "Отмена";
buttonCancel.UseVisualStyleBackColor = true;
buttonCancel.Click += ButtonCancel_Click;
//
// FormShip
//
AutoScaleDimensions = new SizeF(8F, 20F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(726, 529);
Controls.Add(buttonCancel);
Controls.Add(buttonSave);
Controls.Add(groupBoxDetails);
Controls.Add(textBoxPrice);
Controls.Add(textBoxName);
Controls.Add(labelPrice);
Controls.Add(labelName);
Name = "FormShip";
Text = "Корабль";
Load += FormShip_Load;
groupBoxDetails.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
ResumeLayout(false);
PerformLayout();
}
#endregion
private Label labelName;
private Label labelPrice;
private TextBox textBoxName;
private TextBox textBoxPrice;
private GroupBox groupBoxDetails;
private Button buttonRefresh;
private Button buttonDelete;
private Button buttonUpdate;
private Button buttonAdd;
private DataGridView dataGridView;
private Button buttonSave;
private Button buttonCancel;
private DataGridViewTextBoxColumn id;
private DataGridViewTextBoxColumn Detail;
private DataGridViewTextBoxColumn Count;
}
}