2023-11-19 17:11:10 +04:00
|
|
|
|
namespace AirBomber
|
|
|
|
|
{
|
|
|
|
|
partial class FormEntityCollection
|
|
|
|
|
{
|
|
|
|
|
/// <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()
|
|
|
|
|
{
|
|
|
|
|
CollectionPictureBox = new PictureBox();
|
|
|
|
|
ToolGroupBox = new GroupBox();
|
2023-11-19 18:24:41 +04:00
|
|
|
|
SetsGroupBox = new GroupBox();
|
2023-11-19 17:56:27 +04:00
|
|
|
|
SetNameTextBox = new TextBox();
|
|
|
|
|
StorageListBox = new ListBox();
|
|
|
|
|
AddSetButton = new Button();
|
|
|
|
|
RemoveSetButton = new Button();
|
2023-11-19 17:11:10 +04:00
|
|
|
|
RefreshCollectionButton = new Button();
|
|
|
|
|
RemoveBomberButton = new Button();
|
|
|
|
|
NumberMaskedTextBox = new MaskedTextBox();
|
|
|
|
|
AddBomberButton = new Button();
|
2023-11-25 23:09:40 +04:00
|
|
|
|
FormMenuStrip = new MenuStrip();
|
|
|
|
|
FileMenuStripItem = new ToolStripMenuItem();
|
|
|
|
|
SaveToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
LoadToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
OpenFileDialog = new OpenFileDialog();
|
|
|
|
|
SaveFileDialog = new SaveFileDialog();
|
2023-11-19 17:11:10 +04:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)CollectionPictureBox).BeginInit();
|
|
|
|
|
ToolGroupBox.SuspendLayout();
|
2023-11-19 18:24:41 +04:00
|
|
|
|
SetsGroupBox.SuspendLayout();
|
2023-11-25 23:09:40 +04:00
|
|
|
|
FormMenuStrip.SuspendLayout();
|
2023-11-19 17:11:10 +04:00
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// CollectionPictureBox
|
|
|
|
|
//
|
|
|
|
|
CollectionPictureBox.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
2023-11-25 23:09:40 +04:00
|
|
|
|
CollectionPictureBox.Location = new Point(0, 27);
|
2023-11-19 17:11:10 +04:00
|
|
|
|
CollectionPictureBox.Name = "CollectionPictureBox";
|
2023-11-25 23:09:40 +04:00
|
|
|
|
CollectionPictureBox.Size = new Size(812, 576);
|
2023-11-19 17:11:10 +04:00
|
|
|
|
CollectionPictureBox.TabIndex = 0;
|
|
|
|
|
CollectionPictureBox.TabStop = false;
|
|
|
|
|
//
|
|
|
|
|
// ToolGroupBox
|
|
|
|
|
//
|
|
|
|
|
ToolGroupBox.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Right;
|
2023-11-19 18:24:41 +04:00
|
|
|
|
ToolGroupBox.Controls.Add(SetsGroupBox);
|
2023-11-19 17:11:10 +04:00
|
|
|
|
ToolGroupBox.Controls.Add(RefreshCollectionButton);
|
|
|
|
|
ToolGroupBox.Controls.Add(RemoveBomberButton);
|
|
|
|
|
ToolGroupBox.Controls.Add(NumberMaskedTextBox);
|
|
|
|
|
ToolGroupBox.Controls.Add(AddBomberButton);
|
2023-11-25 23:09:40 +04:00
|
|
|
|
ToolGroupBox.Location = new Point(818, 27);
|
2023-11-19 17:11:10 +04:00
|
|
|
|
ToolGroupBox.Name = "ToolGroupBox";
|
2023-11-25 23:09:40 +04:00
|
|
|
|
ToolGroupBox.Size = new Size(176, 564);
|
2023-11-19 17:11:10 +04:00
|
|
|
|
ToolGroupBox.TabIndex = 1;
|
|
|
|
|
ToolGroupBox.TabStop = false;
|
|
|
|
|
ToolGroupBox.Text = "Инструменты";
|
|
|
|
|
//
|
2023-11-19 18:24:41 +04:00
|
|
|
|
// SetsGroupBox
|
2023-11-19 17:56:27 +04:00
|
|
|
|
//
|
2023-11-19 18:24:41 +04:00
|
|
|
|
SetsGroupBox.Controls.Add(SetNameTextBox);
|
|
|
|
|
SetsGroupBox.Controls.Add(StorageListBox);
|
|
|
|
|
SetsGroupBox.Controls.Add(AddSetButton);
|
|
|
|
|
SetsGroupBox.Controls.Add(RemoveSetButton);
|
|
|
|
|
SetsGroupBox.Location = new Point(6, 22);
|
|
|
|
|
SetsGroupBox.Name = "SetsGroupBox";
|
|
|
|
|
SetsGroupBox.Size = new Size(164, 232);
|
|
|
|
|
SetsGroupBox.TabIndex = 8;
|
|
|
|
|
SetsGroupBox.TabStop = false;
|
|
|
|
|
SetsGroupBox.Text = "Наборы";
|
2023-11-19 17:56:27 +04:00
|
|
|
|
//
|
|
|
|
|
// SetNameTextBox
|
|
|
|
|
//
|
|
|
|
|
SetNameTextBox.Location = new Point(6, 22);
|
|
|
|
|
SetNameTextBox.Name = "SetNameTextBox";
|
|
|
|
|
SetNameTextBox.Size = new Size(152, 23);
|
|
|
|
|
SetNameTextBox.TabIndex = 4;
|
|
|
|
|
//
|
|
|
|
|
// StorageListBox
|
|
|
|
|
//
|
|
|
|
|
StorageListBox.FormattingEnabled = true;
|
|
|
|
|
StorageListBox.ItemHeight = 15;
|
|
|
|
|
StorageListBox.Items.AddRange(new object[] { "Наборы здесь..." });
|
|
|
|
|
StorageListBox.Location = new Point(6, 96);
|
|
|
|
|
StorageListBox.Name = "StorageListBox";
|
|
|
|
|
StorageListBox.Size = new Size(152, 79);
|
|
|
|
|
StorageListBox.TabIndex = 7;
|
|
|
|
|
StorageListBox.SelectedIndexChanged += StorageListBoxIndexChanged;
|
|
|
|
|
//
|
|
|
|
|
// AddSetButton
|
|
|
|
|
//
|
|
|
|
|
AddSetButton.Location = new Point(6, 51);
|
|
|
|
|
AddSetButton.Name = "AddSetButton";
|
|
|
|
|
AddSetButton.Size = new Size(152, 30);
|
|
|
|
|
AddSetButton.TabIndex = 5;
|
|
|
|
|
AddSetButton.Text = "Добавить набор";
|
|
|
|
|
AddSetButton.UseVisualStyleBackColor = true;
|
|
|
|
|
AddSetButton.Click += ButtonAddSet_Click;
|
|
|
|
|
//
|
|
|
|
|
// RemoveSetButton
|
|
|
|
|
//
|
|
|
|
|
RemoveSetButton.Location = new Point(6, 190);
|
|
|
|
|
RemoveSetButton.Name = "RemoveSetButton";
|
|
|
|
|
RemoveSetButton.Size = new Size(152, 30);
|
|
|
|
|
RemoveSetButton.TabIndex = 6;
|
|
|
|
|
RemoveSetButton.Text = "Удалить набор";
|
|
|
|
|
RemoveSetButton.UseVisualStyleBackColor = true;
|
|
|
|
|
RemoveSetButton.Click += ButtonRemoveSet_Click;
|
|
|
|
|
//
|
2023-11-19 17:11:10 +04:00
|
|
|
|
// RefreshCollectionButton
|
|
|
|
|
//
|
2023-11-25 23:09:40 +04:00
|
|
|
|
RefreshCollectionButton.Location = new Point(6, 528);
|
2023-11-19 17:11:10 +04:00
|
|
|
|
RefreshCollectionButton.Name = "RefreshCollectionButton";
|
|
|
|
|
RefreshCollectionButton.Size = new Size(164, 30);
|
|
|
|
|
RefreshCollectionButton.TabIndex = 3;
|
|
|
|
|
RefreshCollectionButton.Text = "Обновить коллекцию";
|
|
|
|
|
RefreshCollectionButton.UseVisualStyleBackColor = true;
|
|
|
|
|
RefreshCollectionButton.Click += ButtonRefreshCollection_Click;
|
|
|
|
|
//
|
|
|
|
|
// RemoveBomberButton
|
|
|
|
|
//
|
2023-11-19 17:56:27 +04:00
|
|
|
|
RemoveBomberButton.Location = new Point(6, 467);
|
2023-11-19 17:11:10 +04:00
|
|
|
|
RemoveBomberButton.Name = "RemoveBomberButton";
|
|
|
|
|
RemoveBomberButton.Size = new Size(164, 30);
|
|
|
|
|
RemoveBomberButton.TabIndex = 2;
|
|
|
|
|
RemoveBomberButton.Text = "Удалить бомбардировщик";
|
|
|
|
|
RemoveBomberButton.UseVisualStyleBackColor = true;
|
|
|
|
|
RemoveBomberButton.Click += ButtonRemoveEntity_Click;
|
|
|
|
|
//
|
|
|
|
|
// NumberMaskedTextBox
|
|
|
|
|
//
|
2023-11-19 17:56:27 +04:00
|
|
|
|
NumberMaskedTextBox.Location = new Point(6, 428);
|
2023-11-19 17:11:10 +04:00
|
|
|
|
NumberMaskedTextBox.Mask = "00000";
|
|
|
|
|
NumberMaskedTextBox.Name = "NumberMaskedTextBox";
|
|
|
|
|
NumberMaskedTextBox.Size = new Size(164, 23);
|
|
|
|
|
NumberMaskedTextBox.TabIndex = 1;
|
|
|
|
|
NumberMaskedTextBox.ValidatingType = typeof(int);
|
|
|
|
|
//
|
|
|
|
|
// AddBomberButton
|
|
|
|
|
//
|
2023-11-19 17:56:27 +04:00
|
|
|
|
AddBomberButton.Location = new Point(6, 358);
|
2023-11-19 17:11:10 +04:00
|
|
|
|
AddBomberButton.Name = "AddBomberButton";
|
|
|
|
|
AddBomberButton.Size = new Size(164, 43);
|
|
|
|
|
AddBomberButton.TabIndex = 0;
|
|
|
|
|
AddBomberButton.Text = "Добавить бомбардировщик";
|
|
|
|
|
AddBomberButton.UseVisualStyleBackColor = true;
|
|
|
|
|
AddBomberButton.Click += ButtonAddEntity_Click;
|
|
|
|
|
//
|
2023-11-25 23:09:40 +04:00
|
|
|
|
// FormMenuStrip
|
|
|
|
|
//
|
|
|
|
|
FormMenuStrip.Items.AddRange(new ToolStripItem[] { FileMenuStripItem });
|
|
|
|
|
FormMenuStrip.Location = new Point(0, 0);
|
|
|
|
|
FormMenuStrip.Name = "FormMenuStrip";
|
|
|
|
|
FormMenuStrip.Size = new Size(1006, 24);
|
|
|
|
|
FormMenuStrip.TabIndex = 2;
|
|
|
|
|
FormMenuStrip.Text = "menuStrip1";
|
|
|
|
|
//
|
|
|
|
|
// FileMenuStripItem
|
|
|
|
|
//
|
|
|
|
|
FileMenuStripItem.DropDownItems.AddRange(new ToolStripItem[] { SaveToolStripMenuItem, LoadToolStripMenuItem });
|
|
|
|
|
FileMenuStripItem.Name = "FileMenuStripItem";
|
|
|
|
|
FileMenuStripItem.Size = new Size(48, 20);
|
|
|
|
|
FileMenuStripItem.Text = "Файл";
|
|
|
|
|
//
|
|
|
|
|
// SaveToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
SaveToolStripMenuItem.Name = "SaveToolStripMenuItem";
|
|
|
|
|
SaveToolStripMenuItem.Size = new Size(141, 22);
|
|
|
|
|
SaveToolStripMenuItem.Text = "Сохранение";
|
|
|
|
|
SaveToolStripMenuItem.Click += SaveToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// LoadToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
LoadToolStripMenuItem.Name = "LoadToolStripMenuItem";
|
|
|
|
|
LoadToolStripMenuItem.Size = new Size(141, 22);
|
|
|
|
|
LoadToolStripMenuItem.Text = "Загрузка";
|
|
|
|
|
LoadToolStripMenuItem.Click += LoadToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// OpenFileDialog
|
|
|
|
|
//
|
|
|
|
|
OpenFileDialog.FileName = "openFileDialog1";
|
|
|
|
|
OpenFileDialog.Filter = "txt file | *.txt";
|
|
|
|
|
//
|
|
|
|
|
// SaveFileDialog
|
|
|
|
|
//
|
|
|
|
|
SaveFileDialog.Filter = "txt file | *.txt";
|
|
|
|
|
//
|
2023-11-19 17:11:10 +04:00
|
|
|
|
// FormEntityCollection
|
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
|
|
|
ClientSize = new Size(1006, 603);
|
|
|
|
|
Controls.Add(ToolGroupBox);
|
|
|
|
|
Controls.Add(CollectionPictureBox);
|
2023-11-25 23:09:40 +04:00
|
|
|
|
Controls.Add(FormMenuStrip);
|
2023-11-19 17:11:10 +04:00
|
|
|
|
Name = "FormEntityCollection";
|
|
|
|
|
Text = "Набор бомбардировщиков";
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)CollectionPictureBox).EndInit();
|
|
|
|
|
ToolGroupBox.ResumeLayout(false);
|
|
|
|
|
ToolGroupBox.PerformLayout();
|
2023-11-19 18:24:41 +04:00
|
|
|
|
SetsGroupBox.ResumeLayout(false);
|
|
|
|
|
SetsGroupBox.PerformLayout();
|
2023-11-25 23:09:40 +04:00
|
|
|
|
FormMenuStrip.ResumeLayout(false);
|
|
|
|
|
FormMenuStrip.PerformLayout();
|
2023-11-19 17:11:10 +04:00
|
|
|
|
ResumeLayout(false);
|
2023-11-25 23:09:40 +04:00
|
|
|
|
PerformLayout();
|
2023-11-19 17:11:10 +04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private PictureBox CollectionPictureBox;
|
|
|
|
|
private GroupBox ToolGroupBox;
|
|
|
|
|
private Button RefreshCollectionButton;
|
|
|
|
|
private Button RemoveBomberButton;
|
|
|
|
|
private MaskedTextBox NumberMaskedTextBox;
|
|
|
|
|
private Button AddBomberButton;
|
2023-11-19 18:24:41 +04:00
|
|
|
|
private GroupBox SetsGroupBox;
|
2023-11-19 17:56:27 +04:00
|
|
|
|
private TextBox SetNameTextBox;
|
|
|
|
|
private ListBox StorageListBox;
|
|
|
|
|
private Button AddSetButton;
|
|
|
|
|
private Button RemoveSetButton;
|
2023-11-25 23:09:40 +04:00
|
|
|
|
private MenuStrip FormMenuStrip;
|
|
|
|
|
private ToolStripMenuItem FileMenuStripItem;
|
|
|
|
|
private ToolStripMenuItem SaveToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem LoadToolStripMenuItem;
|
|
|
|
|
private OpenFileDialog OpenFileDialog;
|
|
|
|
|
private SaveFileDialog SaveFileDialog;
|
2023-11-19 17:11:10 +04:00
|
|
|
|
}
|
|
|
|
|
}
|