2023-10-21 14:10:32 +04:00
|
|
|
|
namespace Cruiser
|
|
|
|
|
{
|
|
|
|
|
partial class FormCruiserCollection
|
|
|
|
|
{
|
|
|
|
|
/// <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()
|
|
|
|
|
{
|
|
|
|
|
groupBoxTools = new GroupBox();
|
2023-11-24 12:48:34 +04:00
|
|
|
|
buttonDeleteCruiser = new Button();
|
2023-10-21 14:10:32 +04:00
|
|
|
|
textBoxNumber = new TextBox();
|
|
|
|
|
buttonAddCruiser = new Button();
|
2023-11-24 12:48:34 +04:00
|
|
|
|
buttonRefreshCollection = new Button();
|
2023-10-21 14:10:32 +04:00
|
|
|
|
pictureBoxCollection = new PictureBox();
|
2023-11-24 11:41:50 +04:00
|
|
|
|
groupBoxStorage = new GroupBox();
|
|
|
|
|
listBoxStorages = new ListBox();
|
|
|
|
|
buttonDelObject = new Button();
|
|
|
|
|
textBoxStorageName = new TextBox();
|
|
|
|
|
buttonAddObject = new Button();
|
2023-12-03 15:02:10 +04:00
|
|
|
|
menuStripCruiser = new MenuStrip();
|
|
|
|
|
FileToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
SaveToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
UploadToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
openFileDialog = new OpenFileDialog();
|
|
|
|
|
saveFileDialog = new SaveFileDialog();
|
2023-10-21 14:10:32 +04:00
|
|
|
|
groupBoxTools.SuspendLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)pictureBoxCollection).BeginInit();
|
2023-11-24 11:41:50 +04:00
|
|
|
|
groupBoxStorage.SuspendLayout();
|
2023-12-03 15:02:10 +04:00
|
|
|
|
menuStripCruiser.SuspendLayout();
|
2023-10-21 14:10:32 +04:00
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// groupBoxTools
|
|
|
|
|
//
|
2023-11-24 12:48:34 +04:00
|
|
|
|
groupBoxTools.Controls.Add(buttonDeleteCruiser);
|
2023-10-21 14:10:32 +04:00
|
|
|
|
groupBoxTools.Controls.Add(textBoxNumber);
|
|
|
|
|
groupBoxTools.Controls.Add(buttonAddCruiser);
|
2023-11-24 11:41:50 +04:00
|
|
|
|
groupBoxTools.Location = new Point(653, 1);
|
2023-10-21 14:10:32 +04:00
|
|
|
|
groupBoxTools.Name = "groupBoxTools";
|
2023-11-24 11:41:50 +04:00
|
|
|
|
groupBoxTools.Size = new Size(148, 140);
|
2023-10-21 14:10:32 +04:00
|
|
|
|
groupBoxTools.TabIndex = 0;
|
|
|
|
|
groupBoxTools.TabStop = false;
|
|
|
|
|
groupBoxTools.Text = "Инструменты";
|
|
|
|
|
//
|
2023-11-24 12:48:34 +04:00
|
|
|
|
// buttonDeleteCruiser
|
2023-10-21 14:10:32 +04:00
|
|
|
|
//
|
2023-11-24 12:48:34 +04:00
|
|
|
|
buttonDeleteCruiser.Location = new Point(15, 95);
|
|
|
|
|
buttonDeleteCruiser.Name = "buttonDeleteCruiser";
|
|
|
|
|
buttonDeleteCruiser.Size = new Size(122, 37);
|
|
|
|
|
buttonDeleteCruiser.TabIndex = 2;
|
|
|
|
|
buttonDeleteCruiser.Text = "Удалить лайнер";
|
|
|
|
|
buttonDeleteCruiser.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonDeleteCruiser.Click += ButtonRemoveCar_Click;
|
2023-10-21 14:10:32 +04:00
|
|
|
|
//
|
|
|
|
|
// textBoxNumber
|
|
|
|
|
//
|
2023-11-24 11:41:50 +04:00
|
|
|
|
textBoxNumber.Location = new Point(15, 66);
|
2023-10-21 14:10:32 +04:00
|
|
|
|
textBoxNumber.Name = "textBoxNumber";
|
|
|
|
|
textBoxNumber.Size = new Size(122, 23);
|
|
|
|
|
textBoxNumber.TabIndex = 1;
|
|
|
|
|
//
|
|
|
|
|
// buttonAddCruiser
|
|
|
|
|
//
|
2023-12-03 15:02:10 +04:00
|
|
|
|
buttonAddCruiser.Location = new Point(15, 26);
|
2023-10-21 14:10:32 +04:00
|
|
|
|
buttonAddCruiser.Name = "buttonAddCruiser";
|
|
|
|
|
buttonAddCruiser.Size = new Size(122, 38);
|
|
|
|
|
buttonAddCruiser.TabIndex = 0;
|
|
|
|
|
buttonAddCruiser.Text = "Добавить лайнер";
|
|
|
|
|
buttonAddCruiser.UseVisualStyleBackColor = true;
|
2023-11-24 12:12:46 +04:00
|
|
|
|
buttonAddCruiser.Click += ButtonAddCruiser_Click;
|
2023-10-21 14:10:32 +04:00
|
|
|
|
//
|
2023-11-24 12:48:34 +04:00
|
|
|
|
// buttonRefreshCollection
|
2023-11-24 11:41:50 +04:00
|
|
|
|
//
|
2023-11-24 12:48:34 +04:00
|
|
|
|
buttonRefreshCollection.Location = new Point(662, 397);
|
|
|
|
|
buttonRefreshCollection.Name = "buttonRefreshCollection";
|
|
|
|
|
buttonRefreshCollection.Size = new Size(131, 41);
|
|
|
|
|
buttonRefreshCollection.TabIndex = 3;
|
|
|
|
|
buttonRefreshCollection.Text = "Обновить коллекцию";
|
|
|
|
|
buttonRefreshCollection.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonRefreshCollection.Click += ButtonRefreshCollection_Click;
|
2023-11-24 11:41:50 +04:00
|
|
|
|
//
|
2023-10-21 14:10:32 +04:00
|
|
|
|
// pictureBoxCollection
|
|
|
|
|
//
|
2023-12-03 15:02:10 +04:00
|
|
|
|
pictureBoxCollection.Location = new Point(14, 27);
|
2023-10-21 14:10:32 +04:00
|
|
|
|
pictureBoxCollection.Name = "pictureBoxCollection";
|
2023-12-03 15:02:10 +04:00
|
|
|
|
pictureBoxCollection.Size = new Size(642, 422);
|
2023-10-21 14:10:32 +04:00
|
|
|
|
pictureBoxCollection.TabIndex = 1;
|
|
|
|
|
pictureBoxCollection.TabStop = false;
|
|
|
|
|
//
|
2023-11-24 11:41:50 +04:00
|
|
|
|
// groupBoxStorage
|
|
|
|
|
//
|
|
|
|
|
groupBoxStorage.Controls.Add(listBoxStorages);
|
|
|
|
|
groupBoxStorage.Controls.Add(buttonDelObject);
|
|
|
|
|
groupBoxStorage.Controls.Add(textBoxStorageName);
|
|
|
|
|
groupBoxStorage.Controls.Add(buttonAddObject);
|
|
|
|
|
groupBoxStorage.Location = new Point(662, 139);
|
|
|
|
|
groupBoxStorage.Name = "groupBoxStorage";
|
|
|
|
|
groupBoxStorage.Size = new Size(136, 252);
|
|
|
|
|
groupBoxStorage.TabIndex = 2;
|
|
|
|
|
groupBoxStorage.TabStop = false;
|
|
|
|
|
groupBoxStorage.Text = "Наборы";
|
|
|
|
|
//
|
|
|
|
|
// listBoxStorages
|
|
|
|
|
//
|
|
|
|
|
listBoxStorages.FormattingEnabled = true;
|
|
|
|
|
listBoxStorages.ItemHeight = 15;
|
|
|
|
|
listBoxStorages.Location = new Point(10, 117);
|
|
|
|
|
listBoxStorages.Name = "listBoxStorages";
|
|
|
|
|
listBoxStorages.Size = new Size(120, 124);
|
|
|
|
|
listBoxStorages.TabIndex = 7;
|
|
|
|
|
listBoxStorages.SelectedIndexChanged += ListBoxObjects_SelectedIndexChanged;
|
|
|
|
|
//
|
|
|
|
|
// buttonDelObject
|
|
|
|
|
//
|
|
|
|
|
buttonDelObject.Location = new Point(8, 86);
|
|
|
|
|
buttonDelObject.Name = "buttonDelObject";
|
|
|
|
|
buttonDelObject.Size = new Size(122, 25);
|
|
|
|
|
buttonDelObject.TabIndex = 2;
|
|
|
|
|
buttonDelObject.Text = "Удалить набор";
|
|
|
|
|
buttonDelObject.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonDelObject.Click += ButtonDelObject_Click;
|
|
|
|
|
//
|
|
|
|
|
// textBoxStorageName
|
|
|
|
|
//
|
|
|
|
|
textBoxStorageName.Location = new Point(8, 22);
|
|
|
|
|
textBoxStorageName.Name = "textBoxStorageName";
|
|
|
|
|
textBoxStorageName.Size = new Size(122, 23);
|
|
|
|
|
textBoxStorageName.TabIndex = 1;
|
|
|
|
|
//
|
|
|
|
|
// buttonAddObject
|
|
|
|
|
//
|
|
|
|
|
buttonAddObject.Location = new Point(8, 52);
|
|
|
|
|
buttonAddObject.Name = "buttonAddObject";
|
|
|
|
|
buttonAddObject.Size = new Size(122, 28);
|
|
|
|
|
buttonAddObject.TabIndex = 0;
|
|
|
|
|
buttonAddObject.Text = "Добавить набор";
|
|
|
|
|
buttonAddObject.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonAddObject.Click += ButtonAddObject_Click;
|
|
|
|
|
//
|
2023-12-03 15:02:10 +04:00
|
|
|
|
// menuStripCruiser
|
|
|
|
|
//
|
|
|
|
|
menuStripCruiser.Items.AddRange(new ToolStripItem[] { FileToolStripMenuItem });
|
|
|
|
|
menuStripCruiser.Location = new Point(0, 0);
|
|
|
|
|
menuStripCruiser.Name = "menuStripCruiser";
|
|
|
|
|
menuStripCruiser.Size = new Size(800, 24);
|
|
|
|
|
menuStripCruiser.TabIndex = 4;
|
|
|
|
|
menuStripCruiser.Text = "menuStrip1";
|
|
|
|
|
//
|
|
|
|
|
// FileToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
FileToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { SaveToolStripMenuItem, UploadToolStripMenuItem });
|
|
|
|
|
FileToolStripMenuItem.Name = "FileToolStripMenuItem";
|
|
|
|
|
FileToolStripMenuItem.Size = new Size(48, 20);
|
|
|
|
|
FileToolStripMenuItem.Text = "Файл";
|
|
|
|
|
//
|
|
|
|
|
// SaveToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
SaveToolStripMenuItem.Name = "SaveToolStripMenuItem";
|
|
|
|
|
SaveToolStripMenuItem.Size = new Size(180, 22);
|
|
|
|
|
SaveToolStripMenuItem.Text = "Сохранить";
|
|
|
|
|
SaveToolStripMenuItem.Click += SaveToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// UploadToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
UploadToolStripMenuItem.Name = "UploadToolStripMenuItem";
|
|
|
|
|
UploadToolStripMenuItem.Size = new Size(180, 22);
|
|
|
|
|
UploadToolStripMenuItem.Text = "Загрузить";
|
|
|
|
|
UploadToolStripMenuItem.Click += LoadToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// openFileDialog
|
|
|
|
|
//
|
|
|
|
|
openFileDialog.FileName = "openFileDialog";
|
|
|
|
|
openFileDialog.Filter = "txt file | *.txt";
|
|
|
|
|
//
|
|
|
|
|
// saveFileDialog
|
|
|
|
|
//
|
|
|
|
|
saveFileDialog.FileName = "saveFileDialog";
|
|
|
|
|
saveFileDialog.Filter = "txt file | *.txt";
|
|
|
|
|
//
|
2023-10-21 14:10:32 +04:00
|
|
|
|
// FormCruiserCollection
|
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
|
|
|
ClientSize = new Size(800, 450);
|
2023-12-03 15:02:10 +04:00
|
|
|
|
Controls.Add(menuStripCruiser);
|
2023-11-24 12:48:34 +04:00
|
|
|
|
Controls.Add(buttonRefreshCollection);
|
2023-11-24 11:41:50 +04:00
|
|
|
|
Controls.Add(groupBoxStorage);
|
2023-10-21 14:10:32 +04:00
|
|
|
|
Controls.Add(pictureBoxCollection);
|
|
|
|
|
Controls.Add(groupBoxTools);
|
2023-12-03 15:02:10 +04:00
|
|
|
|
MainMenuStrip = menuStripCruiser;
|
2023-10-21 14:10:32 +04:00
|
|
|
|
Name = "FormCruiserCollection";
|
|
|
|
|
Text = "Набор Крейсеров";
|
|
|
|
|
groupBoxTools.ResumeLayout(false);
|
|
|
|
|
groupBoxTools.PerformLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)pictureBoxCollection).EndInit();
|
2023-11-24 11:41:50 +04:00
|
|
|
|
groupBoxStorage.ResumeLayout(false);
|
|
|
|
|
groupBoxStorage.PerformLayout();
|
2023-12-03 15:02:10 +04:00
|
|
|
|
menuStripCruiser.ResumeLayout(false);
|
|
|
|
|
menuStripCruiser.PerformLayout();
|
2023-10-21 14:10:32 +04:00
|
|
|
|
ResumeLayout(false);
|
2023-12-03 15:02:10 +04:00
|
|
|
|
PerformLayout();
|
2023-10-21 14:10:32 +04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private GroupBox groupBoxTools;
|
|
|
|
|
private TextBox textBoxNumber;
|
|
|
|
|
private Button buttonAddCruiser;
|
2023-11-24 12:48:34 +04:00
|
|
|
|
private Button buttonRefreshCollection;
|
|
|
|
|
private Button buttonDeleteCruiser;
|
2023-10-21 14:10:32 +04:00
|
|
|
|
private PictureBox pictureBoxCollection;
|
2023-11-24 11:41:50 +04:00
|
|
|
|
private GroupBox groupBoxStorage;
|
|
|
|
|
private Button buttonDelObject;
|
|
|
|
|
private TextBox textBoxStorageName;
|
|
|
|
|
private Button buttonAddObject;
|
|
|
|
|
private ListBox listBoxStorages;
|
2023-12-03 15:02:10 +04:00
|
|
|
|
private MenuStrip menuStripCruiser;
|
|
|
|
|
private ToolStripMenuItem FileToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem SaveToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem UploadToolStripMenuItem;
|
|
|
|
|
private OpenFileDialog openFileDialog;
|
|
|
|
|
private SaveFileDialog saveFileDialog;
|
2023-10-21 14:10:32 +04:00
|
|
|
|
}
|
|
|
|
|
}
|