2023-11-18 10:47:46 +04:00
|
|
|
|
namespace ProjectAirbus
|
|
|
|
|
{
|
|
|
|
|
partial class FormAirbusCollection
|
|
|
|
|
{
|
|
|
|
|
/// <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()
|
|
|
|
|
{
|
2023-11-18 12:13:53 +04:00
|
|
|
|
buttonAddAirbus = new Button();
|
|
|
|
|
pictureBoxCollection = new PictureBox();
|
|
|
|
|
labelInstruments = new Label();
|
|
|
|
|
buttonUpdate = new Button();
|
|
|
|
|
buttonDeleteAirbus = new Button();
|
|
|
|
|
colorDialog = new ColorDialog();
|
|
|
|
|
maskedTextBoxNumber = new MaskedTextBox();
|
|
|
|
|
label1 = new Label();
|
|
|
|
|
listBoxStorages = new ListBox();
|
|
|
|
|
buttonAddStorage = new Button();
|
|
|
|
|
buttonDeleteStorage = new Button();
|
|
|
|
|
textBoxStorageName = new TextBox();
|
2023-12-02 09:51:44 +04:00
|
|
|
|
menuStrip = new MenuStrip();
|
|
|
|
|
ToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
SaveToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
LoadToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
openFileDialog = new OpenFileDialog();
|
|
|
|
|
saveFileDialog = new SaveFileDialog();
|
2023-12-10 14:13:57 +04:00
|
|
|
|
buttonSortByType = new Button();
|
|
|
|
|
buttonSortByColor = new Button();
|
2023-11-18 10:47:46 +04:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)pictureBoxCollection).BeginInit();
|
2023-12-02 09:51:44 +04:00
|
|
|
|
menuStrip.SuspendLayout();
|
2023-11-18 10:47:46 +04:00
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
2023-11-18 12:13:53 +04:00
|
|
|
|
// buttonAddAirbus
|
2023-11-18 10:47:46 +04:00
|
|
|
|
//
|
2023-11-18 12:13:53 +04:00
|
|
|
|
buttonAddAirbus.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
2023-12-10 14:13:57 +04:00
|
|
|
|
buttonAddAirbus.Location = new Point(638, 458);
|
2023-12-02 09:51:44 +04:00
|
|
|
|
buttonAddAirbus.Margin = new Padding(3, 4, 3, 4);
|
2023-11-18 12:13:53 +04:00
|
|
|
|
buttonAddAirbus.Name = "buttonAddAirbus";
|
2023-12-10 14:13:57 +04:00
|
|
|
|
buttonAddAirbus.Size = new Size(173, 37);
|
2023-11-18 12:13:53 +04:00
|
|
|
|
buttonAddAirbus.TabIndex = 0;
|
|
|
|
|
buttonAddAirbus.Text = "Добавить самолёт";
|
|
|
|
|
buttonAddAirbus.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonAddAirbus.Click += buttonAddAirbus_Click;
|
2023-11-18 10:47:46 +04:00
|
|
|
|
//
|
|
|
|
|
// pictureBoxCollection
|
|
|
|
|
//
|
2023-12-02 09:51:44 +04:00
|
|
|
|
pictureBoxCollection.Location = new Point(0, 28);
|
|
|
|
|
pictureBoxCollection.Margin = new Padding(3, 4, 3, 4);
|
2023-11-18 12:13:53 +04:00
|
|
|
|
pictureBoxCollection.Name = "pictureBoxCollection";
|
2023-12-10 14:13:57 +04:00
|
|
|
|
pictureBoxCollection.Size = new Size(620, 545);
|
2023-11-18 12:13:53 +04:00
|
|
|
|
pictureBoxCollection.TabIndex = 1;
|
|
|
|
|
pictureBoxCollection.TabStop = false;
|
2023-11-18 10:47:46 +04:00
|
|
|
|
//
|
|
|
|
|
// labelInstruments
|
|
|
|
|
//
|
2023-11-18 12:13:53 +04:00
|
|
|
|
labelInstruments.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
|
|
|
|
labelInstruments.AutoSize = true;
|
|
|
|
|
labelInstruments.Font = new Font("Segoe UI", 12F, FontStyle.Regular, GraphicsUnit.Point);
|
2023-12-10 14:13:57 +04:00
|
|
|
|
labelInstruments.Location = new Point(638, 28);
|
2023-11-18 12:13:53 +04:00
|
|
|
|
labelInstruments.Name = "labelInstruments";
|
2023-12-02 09:51:44 +04:00
|
|
|
|
labelInstruments.Size = new Size(136, 28);
|
2023-11-18 12:13:53 +04:00
|
|
|
|
labelInstruments.TabIndex = 2;
|
|
|
|
|
labelInstruments.Text = "Инструменты";
|
2023-11-18 10:47:46 +04:00
|
|
|
|
//
|
|
|
|
|
// buttonUpdate
|
|
|
|
|
//
|
2023-11-18 12:13:53 +04:00
|
|
|
|
buttonUpdate.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
2023-12-10 14:13:57 +04:00
|
|
|
|
buttonUpdate.Location = new Point(638, 160);
|
2023-12-02 09:51:44 +04:00
|
|
|
|
buttonUpdate.Margin = new Padding(3, 4, 3, 4);
|
2023-11-18 12:13:53 +04:00
|
|
|
|
buttonUpdate.Name = "buttonUpdate";
|
2023-12-10 14:13:57 +04:00
|
|
|
|
buttonUpdate.Size = new Size(166, 33);
|
2023-11-18 12:13:53 +04:00
|
|
|
|
buttonUpdate.TabIndex = 3;
|
|
|
|
|
buttonUpdate.Text = "Обновить набор";
|
|
|
|
|
buttonUpdate.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonUpdate.Click += buttonUpdate_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonDeleteAirbus
|
|
|
|
|
//
|
|
|
|
|
buttonDeleteAirbus.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
2023-12-10 14:13:57 +04:00
|
|
|
|
buttonDeleteAirbus.Location = new Point(638, 537);
|
2023-12-02 09:51:44 +04:00
|
|
|
|
buttonDeleteAirbus.Margin = new Padding(3, 4, 3, 4);
|
2023-11-18 12:13:53 +04:00
|
|
|
|
buttonDeleteAirbus.Name = "buttonDeleteAirbus";
|
2023-12-10 14:13:57 +04:00
|
|
|
|
buttonDeleteAirbus.Size = new Size(173, 37);
|
2023-11-18 12:13:53 +04:00
|
|
|
|
buttonDeleteAirbus.TabIndex = 4;
|
|
|
|
|
buttonDeleteAirbus.Text = "Удалить самолёт";
|
|
|
|
|
buttonDeleteAirbus.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonDeleteAirbus.Click += buttonDeleteAirbus_Click;
|
2023-11-18 10:47:46 +04:00
|
|
|
|
//
|
|
|
|
|
// maskedTextBoxNumber
|
|
|
|
|
//
|
2023-11-18 12:13:53 +04:00
|
|
|
|
maskedTextBoxNumber.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
2023-12-10 14:13:57 +04:00
|
|
|
|
maskedTextBoxNumber.Location = new Point(638, 502);
|
2023-12-02 09:51:44 +04:00
|
|
|
|
maskedTextBoxNumber.Margin = new Padding(3, 4, 3, 4);
|
2023-11-18 12:13:53 +04:00
|
|
|
|
maskedTextBoxNumber.Mask = "00";
|
|
|
|
|
maskedTextBoxNumber.Name = "maskedTextBoxNumber";
|
2023-12-10 14:13:57 +04:00
|
|
|
|
maskedTextBoxNumber.Size = new Size(173, 27);
|
2023-11-18 12:13:53 +04:00
|
|
|
|
maskedTextBoxNumber.TabIndex = 5;
|
|
|
|
|
maskedTextBoxNumber.ValidatingType = typeof(int);
|
|
|
|
|
//
|
|
|
|
|
// label1
|
|
|
|
|
//
|
|
|
|
|
label1.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
|
|
|
|
label1.AutoSize = true;
|
2023-12-10 14:13:57 +04:00
|
|
|
|
label1.Location = new Point(638, 65);
|
2023-11-18 12:13:53 +04:00
|
|
|
|
label1.Name = "label1";
|
2023-12-02 09:51:44 +04:00
|
|
|
|
label1.Size = new Size(66, 20);
|
2023-11-18 12:13:53 +04:00
|
|
|
|
label1.TabIndex = 7;
|
|
|
|
|
label1.Text = "Наборы";
|
|
|
|
|
//
|
|
|
|
|
// listBoxStorages
|
|
|
|
|
//
|
|
|
|
|
listBoxStorages.FormattingEnabled = true;
|
2023-12-02 09:51:44 +04:00
|
|
|
|
listBoxStorages.ItemHeight = 20;
|
2023-12-10 14:13:57 +04:00
|
|
|
|
listBoxStorages.Location = new Point(638, 196);
|
2023-11-18 12:13:53 +04:00
|
|
|
|
listBoxStorages.Name = "listBoxStorages";
|
2023-12-10 14:13:57 +04:00
|
|
|
|
listBoxStorages.Size = new Size(166, 124);
|
2023-11-18 12:13:53 +04:00
|
|
|
|
listBoxStorages.TabIndex = 8;
|
|
|
|
|
listBoxStorages.SelectedIndexChanged += listBoxObjects_SelectedIndexChanged;
|
|
|
|
|
//
|
|
|
|
|
// buttonAddStorage
|
|
|
|
|
//
|
2023-12-10 14:13:57 +04:00
|
|
|
|
buttonAddStorage.Location = new Point(638, 124);
|
2023-11-18 12:13:53 +04:00
|
|
|
|
buttonAddStorage.Name = "buttonAddStorage";
|
2023-12-10 14:13:57 +04:00
|
|
|
|
buttonAddStorage.Size = new Size(166, 33);
|
2023-11-18 12:13:53 +04:00
|
|
|
|
buttonAddStorage.TabIndex = 9;
|
|
|
|
|
buttonAddStorage.Text = "Добавить набор";
|
|
|
|
|
buttonAddStorage.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonAddStorage.Click += buttonAddStorage_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonDeleteStorage
|
|
|
|
|
//
|
2023-12-10 14:13:57 +04:00
|
|
|
|
buttonDeleteStorage.Location = new Point(638, 324);
|
2023-11-18 12:13:53 +04:00
|
|
|
|
buttonDeleteStorage.Name = "buttonDeleteStorage";
|
2023-12-10 14:13:57 +04:00
|
|
|
|
buttonDeleteStorage.Size = new Size(166, 33);
|
2023-11-18 12:13:53 +04:00
|
|
|
|
buttonDeleteStorage.TabIndex = 10;
|
|
|
|
|
buttonDeleteStorage.Text = "Удалить набор";
|
|
|
|
|
buttonDeleteStorage.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonDeleteStorage.Click += buttonDeleteStorage_Click;
|
|
|
|
|
//
|
|
|
|
|
// textBoxStorageName
|
|
|
|
|
//
|
2023-12-10 14:13:57 +04:00
|
|
|
|
textBoxStorageName.Location = new Point(638, 93);
|
2023-11-18 12:13:53 +04:00
|
|
|
|
textBoxStorageName.Name = "textBoxStorageName";
|
2023-12-10 14:13:57 +04:00
|
|
|
|
textBoxStorageName.Size = new Size(166, 27);
|
2023-11-18 12:13:53 +04:00
|
|
|
|
textBoxStorageName.TabIndex = 11;
|
2023-11-18 10:47:46 +04:00
|
|
|
|
//
|
2023-12-02 09:51:44 +04:00
|
|
|
|
// menuStrip
|
|
|
|
|
//
|
|
|
|
|
menuStrip.ImageScalingSize = new Size(20, 20);
|
|
|
|
|
menuStrip.Items.AddRange(new ToolStripItem[] { ToolStripMenuItem });
|
|
|
|
|
menuStrip.Location = new Point(0, 0);
|
|
|
|
|
menuStrip.Name = "menuStrip";
|
|
|
|
|
menuStrip.Size = new Size(827, 28);
|
|
|
|
|
menuStrip.TabIndex = 12;
|
|
|
|
|
menuStrip.Text = "menuStrip1";
|
|
|
|
|
//
|
|
|
|
|
// ToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
ToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { SaveToolStripMenuItem, LoadToolStripMenuItem });
|
|
|
|
|
ToolStripMenuItem.Name = "ToolStripMenuItem";
|
|
|
|
|
ToolStripMenuItem.Size = new Size(59, 24);
|
|
|
|
|
ToolStripMenuItem.Text = "Файл";
|
|
|
|
|
//
|
|
|
|
|
// SaveToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
SaveToolStripMenuItem.Name = "SaveToolStripMenuItem";
|
2023-12-10 12:27:15 +04:00
|
|
|
|
SaveToolStripMenuItem.Size = new Size(166, 26);
|
2023-12-02 09:51:44 +04:00
|
|
|
|
SaveToolStripMenuItem.Text = "Сохранить";
|
|
|
|
|
SaveToolStripMenuItem.Click += SaveToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// LoadToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
LoadToolStripMenuItem.Name = "LoadToolStripMenuItem";
|
2023-12-10 12:27:15 +04:00
|
|
|
|
LoadToolStripMenuItem.Size = new Size(166, 26);
|
2023-12-02 09:51:44 +04:00
|
|
|
|
LoadToolStripMenuItem.Text = "Загрузить";
|
|
|
|
|
LoadToolStripMenuItem.Click += LoadToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// openFileDialog
|
|
|
|
|
//
|
|
|
|
|
openFileDialog.Filter = "txt file | *.txt";
|
|
|
|
|
//
|
|
|
|
|
// saveFileDialog
|
|
|
|
|
//
|
|
|
|
|
saveFileDialog.Filter = "txt file | *.txt";
|
|
|
|
|
saveFileDialog.OverwritePrompt = false;
|
|
|
|
|
//
|
2023-12-10 14:13:57 +04:00
|
|
|
|
// buttonSortByType
|
|
|
|
|
//
|
|
|
|
|
buttonSortByType.Location = new Point(638, 372);
|
|
|
|
|
buttonSortByType.Name = "buttonSortByType";
|
|
|
|
|
buttonSortByType.Size = new Size(166, 33);
|
|
|
|
|
buttonSortByType.TabIndex = 13;
|
|
|
|
|
buttonSortByType.Text = "Сортировка по типу";
|
|
|
|
|
buttonSortByType.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonSortByType.Click += buttonSortByType_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonSortByColor
|
|
|
|
|
//
|
|
|
|
|
buttonSortByColor.Location = new Point(638, 408);
|
|
|
|
|
buttonSortByColor.Name = "buttonSortByColor";
|
|
|
|
|
buttonSortByColor.Size = new Size(166, 31);
|
|
|
|
|
buttonSortByColor.TabIndex = 14;
|
|
|
|
|
buttonSortByColor.Text = "Сортировка по цвету";
|
|
|
|
|
buttonSortByColor.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonSortByColor.Click += buttonSortByColor_Click;
|
|
|
|
|
//
|
2023-11-18 10:47:46 +04:00
|
|
|
|
// FormAirbusCollection
|
|
|
|
|
//
|
2023-12-02 09:51:44 +04:00
|
|
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
2023-11-18 12:13:53 +04:00
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
2023-12-10 14:13:57 +04:00
|
|
|
|
ClientSize = new Size(827, 585);
|
|
|
|
|
Controls.Add(buttonSortByColor);
|
|
|
|
|
Controls.Add(buttonSortByType);
|
2023-11-18 12:13:53 +04:00
|
|
|
|
Controls.Add(textBoxStorageName);
|
|
|
|
|
Controls.Add(buttonDeleteStorage);
|
|
|
|
|
Controls.Add(buttonAddStorage);
|
|
|
|
|
Controls.Add(listBoxStorages);
|
|
|
|
|
Controls.Add(label1);
|
|
|
|
|
Controls.Add(buttonAddAirbus);
|
2023-11-18 10:47:46 +04:00
|
|
|
|
Controls.Add(maskedTextBoxNumber);
|
2023-11-18 12:13:53 +04:00
|
|
|
|
Controls.Add(buttonDeleteAirbus);
|
2023-11-18 10:47:46 +04:00
|
|
|
|
Controls.Add(buttonUpdate);
|
|
|
|
|
Controls.Add(labelInstruments);
|
|
|
|
|
Controls.Add(pictureBoxCollection);
|
2023-12-02 09:51:44 +04:00
|
|
|
|
Controls.Add(menuStrip);
|
|
|
|
|
MainMenuStrip = menuStrip;
|
|
|
|
|
Margin = new Padding(3, 4, 3, 4);
|
2023-11-18 12:13:53 +04:00
|
|
|
|
Name = "FormAirbusCollection";
|
|
|
|
|
Text = "Набор самолётов";
|
2023-11-18 10:47:46 +04:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)pictureBoxCollection).EndInit();
|
2023-12-02 09:51:44 +04:00
|
|
|
|
menuStrip.ResumeLayout(false);
|
|
|
|
|
menuStrip.PerformLayout();
|
2023-11-18 10:47:46 +04:00
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
PerformLayout();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
2023-11-18 12:13:53 +04:00
|
|
|
|
private Button buttonAddAirbus;
|
2023-11-18 10:47:46 +04:00
|
|
|
|
private PictureBox pictureBoxCollection;
|
|
|
|
|
private Label labelInstruments;
|
|
|
|
|
private Button buttonUpdate;
|
2023-11-18 12:13:53 +04:00
|
|
|
|
private Button buttonDeleteAirbus;
|
2023-11-18 10:47:46 +04:00
|
|
|
|
private ColorDialog colorDialog;
|
|
|
|
|
private MaskedTextBox maskedTextBoxNumber;
|
2023-11-18 12:13:53 +04:00
|
|
|
|
private Label label1;
|
|
|
|
|
private ListBox listBoxStorages;
|
|
|
|
|
private Button buttonAddStorage;
|
|
|
|
|
private Button buttonDeleteStorage;
|
|
|
|
|
private TextBox textBoxStorageName;
|
2023-12-02 09:51:44 +04:00
|
|
|
|
private MenuStrip menuStrip;
|
|
|
|
|
private ToolStripMenuItem ToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem SaveToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem LoadToolStripMenuItem;
|
|
|
|
|
private OpenFileDialog openFileDialog;
|
|
|
|
|
private SaveFileDialog saveFileDialog;
|
2023-12-10 14:13:57 +04:00
|
|
|
|
private Button buttonSortByType;
|
|
|
|
|
private Button buttonSortByColor;
|
2023-11-18 10:47:46 +04:00
|
|
|
|
}
|
|
|
|
|
}
|