2023-12-16 11:10:10 +04:00
|
|
|
|
namespace ContainerShip
|
|
|
|
|
{
|
|
|
|
|
partial class FormShipCollection
|
|
|
|
|
{
|
|
|
|
|
/// <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()
|
|
|
|
|
{
|
|
|
|
|
buttonAdd = new Button();
|
|
|
|
|
buttonDelete = new Button();
|
2023-12-16 11:14:14 +04:00
|
|
|
|
labelTools = new Label();
|
2023-12-16 11:10:10 +04:00
|
|
|
|
maskedTextBoxNumber = new TextBox();
|
|
|
|
|
pictureBoxCollection = new PictureBox();
|
2023-12-16 11:14:14 +04:00
|
|
|
|
labelSet = new Label();
|
|
|
|
|
textBoxStorageName = new TextBox();
|
|
|
|
|
listBoxStorages = new ListBox();
|
|
|
|
|
buttonAddStorage = new Button();
|
|
|
|
|
buttonDeleteStorage = new Button();
|
|
|
|
|
buttonUpdate = new Button();
|
2023-12-16 11:10:10 +04:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)pictureBoxCollection).BeginInit();
|
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// buttonAdd
|
|
|
|
|
//
|
2023-12-16 11:14:14 +04:00
|
|
|
|
buttonAdd.Location = new Point(647, 305);
|
2023-12-16 11:10:10 +04:00
|
|
|
|
buttonAdd.Name = "buttonAdd";
|
2023-12-16 11:14:14 +04:00
|
|
|
|
buttonAdd.Size = new Size(144, 24);
|
2023-12-16 11:10:10 +04:00
|
|
|
|
buttonAdd.TabIndex = 0;
|
|
|
|
|
buttonAdd.Text = "Добавить корабль";
|
|
|
|
|
buttonAdd.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonAdd.Click += buttonAdd_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonDelete
|
|
|
|
|
//
|
2023-12-16 11:14:14 +04:00
|
|
|
|
buttonDelete.Location = new Point(645, 362);
|
2023-12-16 11:10:10 +04:00
|
|
|
|
buttonDelete.Name = "buttonDelete";
|
2023-12-16 11:14:14 +04:00
|
|
|
|
buttonDelete.Size = new Size(143, 24);
|
2023-12-16 11:10:10 +04:00
|
|
|
|
buttonDelete.TabIndex = 1;
|
|
|
|
|
buttonDelete.Text = "Удалить корабль";
|
|
|
|
|
buttonDelete.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonDelete.Click += buttonDelete_Click;
|
|
|
|
|
//
|
2023-12-16 11:14:14 +04:00
|
|
|
|
// labelTools
|
2023-12-16 11:10:10 +04:00
|
|
|
|
//
|
2023-12-16 11:14:14 +04:00
|
|
|
|
labelTools.AutoSize = true;
|
|
|
|
|
labelTools.Location = new Point(677, 9);
|
|
|
|
|
labelTools.Name = "labelTools";
|
|
|
|
|
labelTools.Size = new Size(83, 15);
|
|
|
|
|
labelTools.TabIndex = 3;
|
|
|
|
|
labelTools.Text = "Инструменты";
|
2023-12-16 11:10:10 +04:00
|
|
|
|
//
|
|
|
|
|
// maskedTextBoxNumber
|
|
|
|
|
//
|
2023-12-16 11:14:14 +04:00
|
|
|
|
maskedTextBoxNumber.Location = new Point(645, 335);
|
2023-12-16 11:10:10 +04:00
|
|
|
|
maskedTextBoxNumber.Name = "maskedTextBoxNumber";
|
2023-12-16 11:14:14 +04:00
|
|
|
|
maskedTextBoxNumber.Size = new Size(142, 23);
|
2023-12-16 11:10:10 +04:00
|
|
|
|
maskedTextBoxNumber.TabIndex = 4;
|
|
|
|
|
//
|
|
|
|
|
// pictureBoxCollection
|
|
|
|
|
//
|
|
|
|
|
pictureBoxCollection.Location = new Point(0, 0);
|
|
|
|
|
pictureBoxCollection.Name = "pictureBoxCollection";
|
2023-12-16 11:14:14 +04:00
|
|
|
|
pictureBoxCollection.Size = new Size(640, 386);
|
2023-12-16 11:10:10 +04:00
|
|
|
|
pictureBoxCollection.TabIndex = 5;
|
|
|
|
|
pictureBoxCollection.TabStop = false;
|
|
|
|
|
//
|
2023-12-16 11:14:14 +04:00
|
|
|
|
// labelSet
|
|
|
|
|
//
|
|
|
|
|
labelSet.AutoSize = true;
|
|
|
|
|
labelSet.Location = new Point(654, 31);
|
|
|
|
|
labelSet.Name = "labelSet";
|
|
|
|
|
labelSet.Size = new Size(43, 15);
|
|
|
|
|
labelSet.TabIndex = 6;
|
|
|
|
|
labelSet.Text = "Набор";
|
|
|
|
|
//
|
|
|
|
|
// textBoxStorageName
|
|
|
|
|
//
|
|
|
|
|
textBoxStorageName.Location = new Point(647, 49);
|
|
|
|
|
textBoxStorageName.Name = "textBoxStorageName";
|
|
|
|
|
textBoxStorageName.Size = new Size(142, 23);
|
|
|
|
|
textBoxStorageName.TabIndex = 7;
|
|
|
|
|
//
|
|
|
|
|
// listBoxStorages
|
|
|
|
|
//
|
|
|
|
|
listBoxStorages.FormattingEnabled = true;
|
|
|
|
|
listBoxStorages.ItemHeight = 15;
|
|
|
|
|
listBoxStorages.Location = new Point(647, 134);
|
|
|
|
|
listBoxStorages.Margin = new Padding(3, 2, 3, 2);
|
|
|
|
|
listBoxStorages.Name = "listBoxStorages";
|
|
|
|
|
listBoxStorages.Size = new Size(145, 94);
|
|
|
|
|
listBoxStorages.TabIndex = 8;
|
|
|
|
|
listBoxStorages.SelectedIndexChanged += buttonUpdate_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonAddStorage
|
|
|
|
|
//
|
|
|
|
|
buttonAddStorage.Location = new Point(647, 75);
|
|
|
|
|
buttonAddStorage.Name = "buttonAddStorage";
|
|
|
|
|
buttonAddStorage.Size = new Size(144, 24);
|
|
|
|
|
buttonAddStorage.TabIndex = 9;
|
|
|
|
|
buttonAddStorage.Text = "Добавить набор";
|
|
|
|
|
buttonAddStorage.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonAddStorage.Click += ButtonAddObject_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonDeleteStorage
|
|
|
|
|
//
|
|
|
|
|
buttonDeleteStorage.Location = new Point(647, 242);
|
|
|
|
|
buttonDeleteStorage.Name = "buttonDeleteStorage";
|
|
|
|
|
buttonDeleteStorage.Size = new Size(144, 24);
|
|
|
|
|
buttonDeleteStorage.TabIndex = 11;
|
|
|
|
|
buttonDeleteStorage.Text = "Удалить набор";
|
|
|
|
|
buttonDeleteStorage.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonDeleteStorage.Click += ButtonDelObject_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonUpdate
|
|
|
|
|
//
|
|
|
|
|
buttonUpdate.Location = new Point(647, 105);
|
|
|
|
|
buttonUpdate.Name = "buttonUpdate";
|
|
|
|
|
buttonUpdate.Size = new Size(143, 24);
|
|
|
|
|
buttonUpdate.TabIndex = 2;
|
|
|
|
|
buttonUpdate.Text = "Обновить набор";
|
|
|
|
|
buttonUpdate.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonUpdate.Click += buttonUpdate_Click;
|
|
|
|
|
//
|
2023-12-16 11:10:10 +04:00
|
|
|
|
// FormShipCollection
|
|
|
|
|
//
|
2023-12-16 11:14:14 +04:00
|
|
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
2023-12-16 11:10:10 +04:00
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
2023-12-16 11:14:14 +04:00
|
|
|
|
ClientSize = new Size(800, 393);
|
|
|
|
|
Controls.Add(buttonDeleteStorage);
|
|
|
|
|
Controls.Add(buttonAddStorage);
|
|
|
|
|
Controls.Add(listBoxStorages);
|
|
|
|
|
Controls.Add(textBoxStorageName);
|
|
|
|
|
Controls.Add(labelSet);
|
2023-12-16 11:10:10 +04:00
|
|
|
|
Controls.Add(pictureBoxCollection);
|
|
|
|
|
Controls.Add(maskedTextBoxNumber);
|
2023-12-16 11:14:14 +04:00
|
|
|
|
Controls.Add(labelTools);
|
2023-12-16 11:10:10 +04:00
|
|
|
|
Controls.Add(buttonUpdate);
|
|
|
|
|
Controls.Add(buttonDelete);
|
|
|
|
|
Controls.Add(buttonAdd);
|
|
|
|
|
Name = "FormShipCollection";
|
|
|
|
|
Text = "Набор кораблей";
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)pictureBoxCollection).EndInit();
|
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
PerformLayout();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private Button buttonAdd;
|
|
|
|
|
private Button buttonDelete;
|
2023-12-16 11:14:14 +04:00
|
|
|
|
private Label labelTools;
|
2023-12-16 11:10:10 +04:00
|
|
|
|
private TextBox maskedTextBoxNumber;
|
|
|
|
|
private PictureBox pictureBoxCollection;
|
2023-12-16 11:14:14 +04:00
|
|
|
|
private Label labelSet;
|
|
|
|
|
private TextBox textBoxStorageName;
|
|
|
|
|
private ListBox listBoxStorages;
|
|
|
|
|
private Button buttonAddStorage;
|
|
|
|
|
private Button buttonDeleteStorage;
|
|
|
|
|
private Button buttonUpdate;
|
2023-12-16 11:10:10 +04:00
|
|
|
|
}
|
|
|
|
|
}
|