2023-10-10 22:08:33 +04:00
|
|
|
|
namespace RoadTrain
|
|
|
|
|
{
|
|
|
|
|
partial class FormTrainCollection
|
|
|
|
|
{
|
|
|
|
|
/// <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()
|
|
|
|
|
{
|
|
|
|
|
panel1 = new Panel();
|
2023-12-19 13:34:04 +04:00
|
|
|
|
ButtonSortByColor = new Button();
|
|
|
|
|
ButtonSortByType = new Button();
|
2023-10-24 18:58:46 +04:00
|
|
|
|
label2 = new Label();
|
|
|
|
|
panel2 = new Panel();
|
|
|
|
|
textBoxStorageName = new TextBox();
|
|
|
|
|
ButtonDelObject = new Button();
|
|
|
|
|
ButtonAddObject = new Button();
|
|
|
|
|
listBoxStorages = new ListBox();
|
2023-10-10 22:08:33 +04:00
|
|
|
|
InputTextBox = new TextBox();
|
|
|
|
|
ButtonRefreshCollection = new Button();
|
|
|
|
|
ButtonRemoveTrain = new Button();
|
|
|
|
|
ButtonAddTrain = new Button();
|
|
|
|
|
label1 = new Label();
|
|
|
|
|
pictureBoxCollection = new PictureBox();
|
2023-10-24 18:58:46 +04:00
|
|
|
|
label = new Label();
|
2023-11-23 00:09:21 +04:00
|
|
|
|
menuStripFile = new MenuStrip();
|
|
|
|
|
файлToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
LoadToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
SaveToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
openFileDialog = new OpenFileDialog();
|
|
|
|
|
saveFileDialog = new SaveFileDialog();
|
2023-10-10 22:08:33 +04:00
|
|
|
|
panel1.SuspendLayout();
|
2023-10-24 18:58:46 +04:00
|
|
|
|
panel2.SuspendLayout();
|
2023-10-10 22:08:33 +04:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)pictureBoxCollection).BeginInit();
|
2023-11-23 00:09:21 +04:00
|
|
|
|
menuStripFile.SuspendLayout();
|
2023-10-10 22:08:33 +04:00
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// panel1
|
|
|
|
|
//
|
2023-12-19 13:34:04 +04:00
|
|
|
|
panel1.Controls.Add(ButtonSortByColor);
|
|
|
|
|
panel1.Controls.Add(ButtonSortByType);
|
2023-10-24 18:58:46 +04:00
|
|
|
|
panel1.Controls.Add(label2);
|
|
|
|
|
panel1.Controls.Add(panel2);
|
2023-10-10 22:08:33 +04:00
|
|
|
|
panel1.Controls.Add(InputTextBox);
|
|
|
|
|
panel1.Controls.Add(ButtonRefreshCollection);
|
|
|
|
|
panel1.Controls.Add(ButtonRemoveTrain);
|
|
|
|
|
panel1.Controls.Add(ButtonAddTrain);
|
2023-10-24 18:58:46 +04:00
|
|
|
|
panel1.Dock = DockStyle.Right;
|
|
|
|
|
panel1.Location = new Point(678, 0);
|
|
|
|
|
panel1.Margin = new Padding(3, 4, 3, 4);
|
2023-10-10 22:08:33 +04:00
|
|
|
|
panel1.Name = "panel1";
|
2023-11-23 00:09:21 +04:00
|
|
|
|
panel1.Size = new Size(236, 572);
|
2023-10-10 22:08:33 +04:00
|
|
|
|
panel1.TabIndex = 0;
|
|
|
|
|
//
|
2023-12-19 13:34:04 +04:00
|
|
|
|
// ButtonSortByColor
|
|
|
|
|
//
|
|
|
|
|
ButtonSortByColor.Location = new Point(32, 305);
|
|
|
|
|
ButtonSortByColor.Name = "ButtonSortByColor";
|
|
|
|
|
ButtonSortByColor.Size = new Size(169, 32);
|
|
|
|
|
ButtonSortByColor.TabIndex = 7;
|
|
|
|
|
ButtonSortByColor.Text = "Сортировка по цвету";
|
|
|
|
|
ButtonSortByColor.UseVisualStyleBackColor = true;
|
|
|
|
|
ButtonSortByColor.Click += ButtonSortByColor_Click;
|
|
|
|
|
//
|
|
|
|
|
// ButtonSortByType
|
|
|
|
|
//
|
|
|
|
|
ButtonSortByType.Location = new Point(35, 257);
|
|
|
|
|
ButtonSortByType.Name = "ButtonSortByType";
|
|
|
|
|
ButtonSortByType.Size = new Size(163, 31);
|
|
|
|
|
ButtonSortByType.TabIndex = 6;
|
|
|
|
|
ButtonSortByType.Text = "Сортировка по типу";
|
|
|
|
|
ButtonSortByType.UseVisualStyleBackColor = true;
|
|
|
|
|
ButtonSortByType.Click += ButtonSortByType_Click;
|
|
|
|
|
//
|
2023-10-24 18:58:46 +04:00
|
|
|
|
// label2
|
|
|
|
|
//
|
|
|
|
|
label2.AutoSize = true;
|
|
|
|
|
label2.Location = new Point(43, 18);
|
|
|
|
|
label2.Name = "label2";
|
|
|
|
|
label2.Size = new Size(66, 20);
|
|
|
|
|
label2.TabIndex = 0;
|
|
|
|
|
label2.Text = "Наборы";
|
|
|
|
|
//
|
|
|
|
|
// panel2
|
|
|
|
|
//
|
|
|
|
|
panel2.Controls.Add(textBoxStorageName);
|
|
|
|
|
panel2.Controls.Add(ButtonDelObject);
|
|
|
|
|
panel2.Controls.Add(ButtonAddObject);
|
|
|
|
|
panel2.Controls.Add(listBoxStorages);
|
|
|
|
|
panel2.Location = new Point(24, 29);
|
|
|
|
|
panel2.Name = "panel2";
|
2023-12-19 13:34:04 +04:00
|
|
|
|
panel2.Size = new Size(190, 212);
|
2023-10-24 18:58:46 +04:00
|
|
|
|
panel2.TabIndex = 5;
|
|
|
|
|
//
|
|
|
|
|
// textBoxStorageName
|
|
|
|
|
//
|
2023-12-19 13:34:04 +04:00
|
|
|
|
textBoxStorageName.Location = new Point(21, 21);
|
2023-10-24 18:58:46 +04:00
|
|
|
|
textBoxStorageName.Name = "textBoxStorageName";
|
|
|
|
|
textBoxStorageName.Size = new Size(150, 27);
|
|
|
|
|
textBoxStorageName.TabIndex = 3;
|
|
|
|
|
//
|
|
|
|
|
// ButtonDelObject
|
|
|
|
|
//
|
2023-12-19 13:34:04 +04:00
|
|
|
|
ButtonDelObject.Location = new Point(21, 170);
|
2023-10-24 18:58:46 +04:00
|
|
|
|
ButtonDelObject.Name = "ButtonDelObject";
|
|
|
|
|
ButtonDelObject.Size = new Size(150, 29);
|
|
|
|
|
ButtonDelObject.TabIndex = 2;
|
|
|
|
|
ButtonDelObject.Text = "Удалить набор";
|
|
|
|
|
ButtonDelObject.UseVisualStyleBackColor = true;
|
|
|
|
|
ButtonDelObject.Click += ButtonDelObject_Click;
|
|
|
|
|
//
|
|
|
|
|
// ButtonAddObject
|
|
|
|
|
//
|
2023-12-19 13:34:04 +04:00
|
|
|
|
ButtonAddObject.Location = new Point(21, 66);
|
2023-10-24 18:58:46 +04:00
|
|
|
|
ButtonAddObject.Name = "ButtonAddObject";
|
|
|
|
|
ButtonAddObject.Size = new Size(150, 29);
|
|
|
|
|
ButtonAddObject.TabIndex = 1;
|
|
|
|
|
ButtonAddObject.Text = "Добавить набор";
|
|
|
|
|
ButtonAddObject.UseVisualStyleBackColor = true;
|
|
|
|
|
ButtonAddObject.Click += ButtonAddObject_Click;
|
|
|
|
|
//
|
|
|
|
|
// listBoxStorages
|
|
|
|
|
//
|
|
|
|
|
listBoxStorages.FormattingEnabled = true;
|
|
|
|
|
listBoxStorages.ItemHeight = 20;
|
2023-12-19 13:34:04 +04:00
|
|
|
|
listBoxStorages.Location = new Point(21, 110);
|
2023-10-24 18:58:46 +04:00
|
|
|
|
listBoxStorages.Name = "listBoxStorages";
|
|
|
|
|
listBoxStorages.Size = new Size(150, 44);
|
|
|
|
|
listBoxStorages.TabIndex = 0;
|
|
|
|
|
listBoxStorages.SelectedIndexChanged += ListBoxStorages_SelectedIndexChanged;
|
|
|
|
|
//
|
2023-10-10 22:08:33 +04:00
|
|
|
|
// InputTextBox
|
|
|
|
|
//
|
2023-12-19 13:34:04 +04:00
|
|
|
|
InputTextBox.Location = new Point(58, 407);
|
2023-10-24 18:58:46 +04:00
|
|
|
|
InputTextBox.Margin = new Padding(3, 4, 3, 4);
|
2023-10-10 22:08:33 +04:00
|
|
|
|
InputTextBox.Name = "InputTextBox";
|
2023-10-24 18:58:46 +04:00
|
|
|
|
InputTextBox.Size = new Size(114, 27);
|
2023-10-10 22:08:33 +04:00
|
|
|
|
InputTextBox.TabIndex = 4;
|
|
|
|
|
//
|
|
|
|
|
// ButtonRefreshCollection
|
|
|
|
|
//
|
2023-12-19 13:34:04 +04:00
|
|
|
|
ButtonRefreshCollection.Location = new Point(43, 499);
|
2023-10-24 18:58:46 +04:00
|
|
|
|
ButtonRefreshCollection.Margin = new Padding(3, 4, 3, 4);
|
2023-10-10 22:08:33 +04:00
|
|
|
|
ButtonRefreshCollection.Name = "ButtonRefreshCollection";
|
2023-10-24 18:58:46 +04:00
|
|
|
|
ButtonRefreshCollection.Size = new Size(144, 59);
|
2023-10-10 22:08:33 +04:00
|
|
|
|
ButtonRefreshCollection.TabIndex = 3;
|
|
|
|
|
ButtonRefreshCollection.Text = "Обновить коллекцию";
|
|
|
|
|
ButtonRefreshCollection.UseVisualStyleBackColor = true;
|
|
|
|
|
ButtonRefreshCollection.Click += ButtonRefreshCollection_Click;
|
|
|
|
|
//
|
|
|
|
|
// ButtonRemoveTrain
|
|
|
|
|
//
|
2023-12-19 13:34:04 +04:00
|
|
|
|
ButtonRemoveTrain.Location = new Point(43, 442);
|
2023-10-24 18:58:46 +04:00
|
|
|
|
ButtonRemoveTrain.Margin = new Padding(3, 4, 3, 4);
|
2023-10-10 22:08:33 +04:00
|
|
|
|
ButtonRemoveTrain.Name = "ButtonRemoveTrain";
|
2023-10-24 18:58:46 +04:00
|
|
|
|
ButtonRemoveTrain.Size = new Size(144, 40);
|
2023-10-10 22:08:33 +04:00
|
|
|
|
ButtonRemoveTrain.TabIndex = 2;
|
|
|
|
|
ButtonRemoveTrain.Text = "Удалить поезд";
|
|
|
|
|
ButtonRemoveTrain.UseVisualStyleBackColor = true;
|
|
|
|
|
ButtonRemoveTrain.Click += ButtonRemoveTrain_Click;
|
|
|
|
|
//
|
|
|
|
|
// ButtonAddTrain
|
|
|
|
|
//
|
2023-12-19 13:34:04 +04:00
|
|
|
|
ButtonAddTrain.Location = new Point(44, 355);
|
2023-10-24 18:58:46 +04:00
|
|
|
|
ButtonAddTrain.Margin = new Padding(3, 4, 3, 4);
|
2023-10-10 22:08:33 +04:00
|
|
|
|
ButtonAddTrain.Name = "ButtonAddTrain";
|
2023-12-19 13:34:04 +04:00
|
|
|
|
ButtonAddTrain.Size = new Size(142, 44);
|
2023-10-10 22:08:33 +04:00
|
|
|
|
ButtonAddTrain.TabIndex = 1;
|
|
|
|
|
ButtonAddTrain.Text = "Добавить поезд";
|
|
|
|
|
ButtonAddTrain.UseVisualStyleBackColor = true;
|
|
|
|
|
ButtonAddTrain.Click += ButtonAddTrain_Click;
|
|
|
|
|
//
|
|
|
|
|
// label1
|
|
|
|
|
//
|
2023-11-23 00:09:21 +04:00
|
|
|
|
label1.Location = new Point(0, 490);
|
2023-10-10 22:08:33 +04:00
|
|
|
|
label1.Name = "label1";
|
2023-10-24 18:58:46 +04:00
|
|
|
|
label1.Size = new Size(114, 31);
|
|
|
|
|
label1.TabIndex = 2;
|
2023-10-10 22:08:33 +04:00
|
|
|
|
//
|
|
|
|
|
// pictureBoxCollection
|
|
|
|
|
//
|
2023-10-24 18:58:46 +04:00
|
|
|
|
pictureBoxCollection.Dock = DockStyle.Fill;
|
|
|
|
|
pictureBoxCollection.Location = new Point(0, 0);
|
|
|
|
|
pictureBoxCollection.Margin = new Padding(3, 4, 3, 4);
|
2023-10-10 22:08:33 +04:00
|
|
|
|
pictureBoxCollection.Name = "pictureBoxCollection";
|
2023-11-23 00:09:21 +04:00
|
|
|
|
pictureBoxCollection.Size = new Size(678, 572);
|
2023-10-10 22:08:33 +04:00
|
|
|
|
pictureBoxCollection.TabIndex = 1;
|
|
|
|
|
pictureBoxCollection.TabStop = false;
|
|
|
|
|
//
|
2023-10-24 18:58:46 +04:00
|
|
|
|
// label
|
|
|
|
|
//
|
|
|
|
|
label.AutoSize = true;
|
|
|
|
|
label.Location = new Point(718, 16);
|
|
|
|
|
label.Name = "label";
|
|
|
|
|
label.Size = new Size(103, 20);
|
|
|
|
|
label.TabIndex = 5;
|
|
|
|
|
label.Text = "Инструменты";
|
|
|
|
|
//
|
2023-11-23 00:09:21 +04:00
|
|
|
|
// menuStripFile
|
|
|
|
|
//
|
|
|
|
|
menuStripFile.Dock = DockStyle.Bottom;
|
|
|
|
|
menuStripFile.ImageScalingSize = new Size(20, 20);
|
|
|
|
|
menuStripFile.Items.AddRange(new ToolStripItem[] { файлToolStripMenuItem });
|
|
|
|
|
menuStripFile.Location = new Point(0, 572);
|
|
|
|
|
menuStripFile.Name = "menuStripFile";
|
|
|
|
|
menuStripFile.Size = new Size(914, 28);
|
|
|
|
|
menuStripFile.TabIndex = 6;
|
|
|
|
|
menuStripFile.Text = "menuStripFile";
|
|
|
|
|
//
|
|
|
|
|
// файлToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
файлToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { LoadToolStripMenuItem, SaveToolStripMenuItem });
|
|
|
|
|
файлToolStripMenuItem.Name = "файлToolStripMenuItem";
|
|
|
|
|
файлToolStripMenuItem.Size = new Size(58, 24);
|
|
|
|
|
файлToolStripMenuItem.Text = "файл";
|
|
|
|
|
//
|
|
|
|
|
// LoadToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
LoadToolStripMenuItem.Name = "LoadToolStripMenuItem";
|
|
|
|
|
LoadToolStripMenuItem.Size = new Size(164, 26);
|
|
|
|
|
LoadToolStripMenuItem.Text = "загрузить";
|
|
|
|
|
LoadToolStripMenuItem.Click += LoadToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// SaveToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
SaveToolStripMenuItem.Name = "SaveToolStripMenuItem";
|
|
|
|
|
SaveToolStripMenuItem.Size = new Size(164, 26);
|
|
|
|
|
SaveToolStripMenuItem.Text = "сохранить";
|
|
|
|
|
SaveToolStripMenuItem.Click += SaveToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// openFileDialog
|
|
|
|
|
//
|
|
|
|
|
openFileDialog.Filter = " «txt file | *.txt»";
|
|
|
|
|
//
|
|
|
|
|
// saveFileDialog
|
|
|
|
|
//
|
|
|
|
|
saveFileDialog.Filter = " «txt file | *.txt»";
|
|
|
|
|
//
|
2023-10-10 22:08:33 +04:00
|
|
|
|
// FormTrainCollection
|
|
|
|
|
//
|
2023-10-24 18:58:46 +04:00
|
|
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
2023-10-10 22:08:33 +04:00
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
2023-10-24 18:58:46 +04:00
|
|
|
|
ClientSize = new Size(914, 600);
|
|
|
|
|
Controls.Add(label);
|
2023-10-10 22:08:33 +04:00
|
|
|
|
Controls.Add(pictureBoxCollection);
|
|
|
|
|
Controls.Add(panel1);
|
2023-10-24 18:58:46 +04:00
|
|
|
|
Controls.Add(label1);
|
2023-11-23 00:09:21 +04:00
|
|
|
|
Controls.Add(menuStripFile);
|
2023-10-24 18:58:46 +04:00
|
|
|
|
Margin = new Padding(3, 4, 3, 4);
|
2023-10-10 22:08:33 +04:00
|
|
|
|
Name = "FormTrainCollection";
|
|
|
|
|
Text = "FormTrainCollection";
|
|
|
|
|
panel1.ResumeLayout(false);
|
|
|
|
|
panel1.PerformLayout();
|
2023-10-24 18:58:46 +04:00
|
|
|
|
panel2.ResumeLayout(false);
|
|
|
|
|
panel2.PerformLayout();
|
2023-10-10 22:08:33 +04:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)pictureBoxCollection).EndInit();
|
2023-11-23 00:09:21 +04:00
|
|
|
|
menuStripFile.ResumeLayout(false);
|
|
|
|
|
menuStripFile.PerformLayout();
|
2023-10-10 22:08:33 +04:00
|
|
|
|
ResumeLayout(false);
|
2023-10-24 18:58:46 +04:00
|
|
|
|
PerformLayout();
|
2023-10-10 22:08:33 +04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private Panel panel1;
|
|
|
|
|
private Button ButtonAddTrain;
|
|
|
|
|
private Label label1;
|
|
|
|
|
private TextBox InputTextBox;
|
|
|
|
|
private Button ButtonRefreshCollection;
|
|
|
|
|
private Button ButtonRemoveTrain;
|
|
|
|
|
private PictureBox pictureBoxCollection;
|
2023-10-24 18:58:46 +04:00
|
|
|
|
private Label label;
|
|
|
|
|
private Label label2;
|
|
|
|
|
private Panel panel2;
|
|
|
|
|
private ListBox listBoxStorages;
|
|
|
|
|
private Button ButtonDelObject;
|
|
|
|
|
private Button ButtonAddObject;
|
|
|
|
|
private TextBox textBoxStorageName;
|
2023-11-23 00:09:21 +04:00
|
|
|
|
private MenuStrip menuStripFile;
|
|
|
|
|
private ToolStripMenuItem файлToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem LoadToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem SaveToolStripMenuItem;
|
|
|
|
|
private OpenFileDialog openFileDialog;
|
|
|
|
|
private SaveFileDialog saveFileDialog;
|
2023-12-19 13:34:04 +04:00
|
|
|
|
private Button ButtonSortByColor;
|
|
|
|
|
private Button ButtonSortByType;
|
2023-10-10 22:08:33 +04:00
|
|
|
|
}
|
|
|
|
|
}
|