243 lines
9.1 KiB
C#
243 lines
9.1 KiB
C#
using System.ComponentModel;
|
||
|
||
namespace ElectricLocomotive;
|
||
|
||
partial class FormLocomotivCollection {
|
||
/// <summary>
|
||
/// Required designer variable.
|
||
/// </summary>
|
||
private 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() {
|
||
toolsBox = new GroupBox();
|
||
collectionGroupBoxes = new GroupBox();
|
||
storageListBox = new ListBox();
|
||
delStorageButton = new Button();
|
||
addStorageButton = new Button();
|
||
storageIndexInput = new TextBox();
|
||
refreshCollection = new Button();
|
||
deleteLoco = new Button();
|
||
locoIndexInput = new TextBox();
|
||
addLocomotiv = new Button();
|
||
collectionPictureBox = new PictureBox();
|
||
menuStrip1 = new MenuStrip();
|
||
toolStripMenuItem = new ToolStripMenuItem();
|
||
SaveToolStripMenuItem = new ToolStripMenuItem();
|
||
LoadToolStripMenuItem = new ToolStripMenuItem();
|
||
loadFileDialog = new OpenFileDialog();
|
||
saveFileDialog = new SaveFileDialog();
|
||
toolsBox.SuspendLayout();
|
||
collectionGroupBoxes.SuspendLayout();
|
||
((ISupportInitialize)collectionPictureBox).BeginInit();
|
||
menuStrip1.SuspendLayout();
|
||
SuspendLayout();
|
||
//
|
||
// toolsBox
|
||
//
|
||
toolsBox.Controls.Add(collectionGroupBoxes);
|
||
toolsBox.Controls.Add(refreshCollection);
|
||
toolsBox.Controls.Add(deleteLoco);
|
||
toolsBox.Controls.Add(locoIndexInput);
|
||
toolsBox.Controls.Add(addLocomotiv);
|
||
toolsBox.Location = new Point(944, 12);
|
||
toolsBox.Name = "toolsBox";
|
||
toolsBox.Size = new Size(309, 707);
|
||
toolsBox.TabIndex = 0;
|
||
toolsBox.TabStop = false;
|
||
toolsBox.Text = "Инструменты";
|
||
//
|
||
// collectionGroupBoxes
|
||
//
|
||
collectionGroupBoxes.Controls.Add(storageListBox);
|
||
collectionGroupBoxes.Controls.Add(delStorageButton);
|
||
collectionGroupBoxes.Controls.Add(addStorageButton);
|
||
collectionGroupBoxes.Controls.Add(storageIndexInput);
|
||
collectionGroupBoxes.Location = new Point(7, 38);
|
||
collectionGroupBoxes.Name = "collectionGroupBoxes";
|
||
collectionGroupBoxes.Size = new Size(296, 325);
|
||
collectionGroupBoxes.TabIndex = 5;
|
||
collectionGroupBoxes.TabStop = false;
|
||
collectionGroupBoxes.Text = "Наборы";
|
||
//
|
||
// storageListBox
|
||
//
|
||
storageListBox.FormattingEnabled = true;
|
||
storageListBox.ItemHeight = 20;
|
||
storageListBox.Location = new Point(14, 139);
|
||
storageListBox.Name = "storageListBox";
|
||
storageListBox.Size = new Size(271, 124);
|
||
storageListBox.TabIndex = 7;
|
||
storageListBox.SelectedIndexChanged += storagesListBox_SelectedIndexChanged;
|
||
//
|
||
// delStorageButton
|
||
//
|
||
delStorageButton.Location = new Point(14, 278);
|
||
delStorageButton.Name = "delStorageButton";
|
||
delStorageButton.Size = new Size(271, 32);
|
||
delStorageButton.TabIndex = 6;
|
||
delStorageButton.Text = "Удалить набор";
|
||
delStorageButton.UseVisualStyleBackColor = true;
|
||
delStorageButton.Click += delStorageButton_Click;
|
||
//
|
||
// addStorageButton
|
||
//
|
||
addStorageButton.Location = new Point(14, 87);
|
||
addStorageButton.Name = "addStorageButton";
|
||
addStorageButton.Size = new Size(271, 31);
|
||
addStorageButton.TabIndex = 5;
|
||
addStorageButton.Text = "Добавить набор";
|
||
addStorageButton.UseVisualStyleBackColor = true;
|
||
addStorageButton.Click += addStorageButton_Click;
|
||
//
|
||
// storageIndexInput
|
||
//
|
||
storageIndexInput.Location = new Point(14, 41);
|
||
storageIndexInput.Name = "storageIndexInput";
|
||
storageIndexInput.Size = new Size(271, 27);
|
||
storageIndexInput.TabIndex = 4;
|
||
//
|
||
// refreshCollection
|
||
//
|
||
refreshCollection.Location = new Point(21, 642);
|
||
refreshCollection.Name = "refreshCollection";
|
||
refreshCollection.Size = new Size(271, 59);
|
||
refreshCollection.TabIndex = 3;
|
||
refreshCollection.Text = "Обновить коллекцию";
|
||
refreshCollection.UseVisualStyleBackColor = true;
|
||
refreshCollection.Click += refreshCollection_Click;
|
||
//
|
||
// deleteLoco
|
||
//
|
||
deleteLoco.Location = new Point(21, 559);
|
||
deleteLoco.Name = "deleteLoco";
|
||
deleteLoco.Size = new Size(271, 59);
|
||
deleteLoco.TabIndex = 2;
|
||
deleteLoco.Text = "Удалить электровоз";
|
||
deleteLoco.UseVisualStyleBackColor = true;
|
||
deleteLoco.Click += deleteLoco_Click;
|
||
//
|
||
// locoIndexInput
|
||
//
|
||
locoIndexInput.Location = new Point(53, 512);
|
||
locoIndexInput.Name = "locoIndexInput";
|
||
locoIndexInput.Size = new Size(214, 27);
|
||
locoIndexInput.TabIndex = 1;
|
||
//
|
||
// addLocomotiv
|
||
//
|
||
addLocomotiv.Location = new Point(21, 431);
|
||
addLocomotiv.Name = "addLocomotiv";
|
||
addLocomotiv.Size = new Size(271, 59);
|
||
addLocomotiv.TabIndex = 0;
|
||
addLocomotiv.Text = "Добавить электровоз";
|
||
addLocomotiv.UseVisualStyleBackColor = true;
|
||
addLocomotiv.Click += addLocomotiv_Click;
|
||
//
|
||
// collectionPictureBox
|
||
//
|
||
collectionPictureBox.Location = new Point(12, 38);
|
||
collectionPictureBox.Name = "collectionPictureBox";
|
||
collectionPictureBox.Size = new Size(933, 681);
|
||
collectionPictureBox.TabIndex = 1;
|
||
collectionPictureBox.TabStop = false;
|
||
//
|
||
// menuStrip1
|
||
//
|
||
menuStrip1.ImageScalingSize = new Size(20, 20);
|
||
menuStrip1.Items.AddRange(new ToolStripItem[] { toolStripMenuItem });
|
||
menuStrip1.Location = new Point(0, 0);
|
||
menuStrip1.Name = "menuStrip1";
|
||
menuStrip1.Size = new Size(1265, 28);
|
||
menuStrip1.TabIndex = 3;
|
||
menuStrip1.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";
|
||
SaveToolStripMenuItem.Size = new Size(166, 26);
|
||
SaveToolStripMenuItem.Text = "Сохранить";
|
||
SaveToolStripMenuItem.Click += SaveToolStripMenuItem_Click;
|
||
//
|
||
// LoadToolStripMenuItem
|
||
//
|
||
LoadToolStripMenuItem.Name = "LoadToolStripMenuItem";
|
||
LoadToolStripMenuItem.Size = new Size(166, 26);
|
||
LoadToolStripMenuItem.Text = "Загрузить";
|
||
LoadToolStripMenuItem.Click += LoadToolStripMenuItem_Click;
|
||
//
|
||
// loadFileDialog
|
||
//
|
||
loadFileDialog.FileName = "openFileDialog4";
|
||
loadFileDialog.Filter = "txt file | *.txt";
|
||
//
|
||
// saveFileDialog
|
||
//
|
||
saveFileDialog.Filter = "txt file | *.txt";
|
||
//
|
||
// FormLocomotivCollection
|
||
//
|
||
AutoScaleDimensions = new SizeF(8F, 20F);
|
||
AutoScaleMode = AutoScaleMode.Font;
|
||
ClientSize = new Size(1265, 731);
|
||
Controls.Add(collectionPictureBox);
|
||
Controls.Add(toolsBox);
|
||
Controls.Add(menuStrip1);
|
||
MainMenuStrip = menuStrip1;
|
||
Name = "FormLocomotivCollection";
|
||
Text = "Набор локомотивов";
|
||
toolsBox.ResumeLayout(false);
|
||
toolsBox.PerformLayout();
|
||
collectionGroupBoxes.ResumeLayout(false);
|
||
collectionGroupBoxes.PerformLayout();
|
||
((ISupportInitialize)collectionPictureBox).EndInit();
|
||
menuStrip1.ResumeLayout(false);
|
||
menuStrip1.PerformLayout();
|
||
ResumeLayout(false);
|
||
PerformLayout();
|
||
}
|
||
|
||
#endregion
|
||
|
||
private GroupBox toolsBox;
|
||
private TextBox locoIndexInput;
|
||
private Button addLocomotiv;
|
||
private PictureBox collectionPictureBox;
|
||
private Button refreshCollection;
|
||
private Button deleteLoco;
|
||
private GroupBox collectionGroupBoxes;
|
||
private Button delStorageButton;
|
||
private Button addStorageButton;
|
||
private TextBox storageIndexInput;
|
||
private ListBox storageListBox;
|
||
private MenuStrip menuStrip1;
|
||
private ToolStripMenuItem toolStripMenuItem;
|
||
private ToolStripMenuItem SaveToolStripMenuItem;
|
||
private ToolStripMenuItem LoadToolStripMenuItem;
|
||
private OpenFileDialog loadFileDialog;
|
||
private SaveFileDialog saveFileDialog;
|
||
} |