2023-12-01 21:18:58 +04:00
|
|
|
|
namespace WarmlyShip
|
|
|
|
|
{
|
|
|
|
|
partial class FormShipCollection
|
|
|
|
|
{
|
|
|
|
|
/// <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()
|
|
|
|
|
{
|
|
|
|
|
pictureBoxCollection = new PictureBox();
|
2023-12-02 00:46:08 +04:00
|
|
|
|
toolsPanel = new Panel();
|
|
|
|
|
LabelSets = new Label();
|
|
|
|
|
panelSets = new Panel();
|
|
|
|
|
ListBoxObjects = new ListBox();
|
|
|
|
|
textBoxStorageName = new TextBox();
|
|
|
|
|
ButtonDelObject = new Button();
|
|
|
|
|
ButtonAddObject = new Button();
|
|
|
|
|
LabelTools = new Label();
|
2023-12-01 21:18:58 +04:00
|
|
|
|
ButtonRefreshCollection = new Button();
|
|
|
|
|
ButtonDeleteShip = new Button();
|
|
|
|
|
maskedTextBoxNumber = new TextBox();
|
|
|
|
|
ButtonAddShip = new Button();
|
2023-12-15 20:50:00 +04:00
|
|
|
|
menuStrip = new MenuStrip();
|
|
|
|
|
FileToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
SaveToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
LoadToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
openFileDialog = new System.Windows.Forms.OpenFileDialog();
|
|
|
|
|
saveFileDialog = new System.Windows.Forms.SaveFileDialog();
|
2023-12-01 21:18:58 +04:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)pictureBoxCollection).BeginInit();
|
2023-12-02 00:46:08 +04:00
|
|
|
|
toolsPanel.SuspendLayout();
|
|
|
|
|
panelSets.SuspendLayout();
|
2023-12-15 20:50:00 +04:00
|
|
|
|
menuStrip.SuspendLayout();
|
2023-12-01 21:18:58 +04:00
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// pictureBoxCollection
|
|
|
|
|
//
|
2023-12-15 20:50:00 +04:00
|
|
|
|
pictureBoxCollection.Location = new Point(1, 31);
|
2023-12-01 21:18:58 +04:00
|
|
|
|
pictureBoxCollection.Name = "pictureBoxCollection";
|
2023-12-15 20:50:00 +04:00
|
|
|
|
pictureBoxCollection.Size = new Size(655, 471);
|
2023-12-01 21:18:58 +04:00
|
|
|
|
pictureBoxCollection.TabIndex = 0;
|
|
|
|
|
pictureBoxCollection.TabStop = false;
|
|
|
|
|
//
|
2023-12-02 00:46:08 +04:00
|
|
|
|
// toolsPanel
|
|
|
|
|
//
|
|
|
|
|
toolsPanel.Controls.Add(LabelSets);
|
|
|
|
|
toolsPanel.Controls.Add(panelSets);
|
|
|
|
|
toolsPanel.Controls.Add(LabelTools);
|
|
|
|
|
toolsPanel.Controls.Add(ButtonRefreshCollection);
|
|
|
|
|
toolsPanel.Controls.Add(ButtonDeleteShip);
|
|
|
|
|
toolsPanel.Controls.Add(maskedTextBoxNumber);
|
|
|
|
|
toolsPanel.Controls.Add(ButtonAddShip);
|
|
|
|
|
toolsPanel.Location = new Point(660, 12);
|
|
|
|
|
toolsPanel.Name = "toolsLabel";
|
|
|
|
|
toolsPanel.Size = new Size(230, 495);
|
|
|
|
|
toolsPanel.TabIndex = 0;
|
|
|
|
|
//
|
|
|
|
|
// LabelSets
|
|
|
|
|
//
|
|
|
|
|
LabelSets.AutoSize = true;
|
|
|
|
|
LabelSets.Location = new Point(89, 21);
|
|
|
|
|
LabelSets.Name = "LabelSets";
|
|
|
|
|
LabelSets.Size = new Size(52, 15);
|
|
|
|
|
LabelSets.TabIndex = 0;
|
|
|
|
|
LabelSets.Text = "Наборы";
|
|
|
|
|
//
|
|
|
|
|
// panelSets
|
|
|
|
|
//
|
|
|
|
|
panelSets.Controls.Add(ListBoxObjects);
|
|
|
|
|
panelSets.Controls.Add(textBoxStorageName);
|
|
|
|
|
panelSets.Controls.Add(ButtonDelObject);
|
|
|
|
|
panelSets.Controls.Add(ButtonAddObject);
|
|
|
|
|
panelSets.Location = new Point(17, 30);
|
|
|
|
|
panelSets.Name = "panelSets";
|
|
|
|
|
panelSets.Size = new Size(200, 225);
|
|
|
|
|
panelSets.TabIndex = 3;
|
|
|
|
|
//
|
|
|
|
|
// ListBoxObjects
|
|
|
|
|
//
|
|
|
|
|
ListBoxObjects.FormattingEnabled = true;
|
|
|
|
|
ListBoxObjects.ItemHeight = 15;
|
|
|
|
|
ListBoxObjects.Location = new Point(28, 76);
|
|
|
|
|
ListBoxObjects.Name = "ListBoxObjects";
|
|
|
|
|
ListBoxObjects.Size = new Size(142, 94);
|
|
|
|
|
ListBoxObjects.TabIndex = 3;
|
|
|
|
|
ListBoxObjects.SelectedIndexChanged += ListBoxObjects_SelectedIndexChanged;
|
|
|
|
|
//
|
|
|
|
|
// textBoxStorageName
|
|
|
|
|
//
|
|
|
|
|
textBoxStorageName.Location = new Point(28, 9);
|
|
|
|
|
textBoxStorageName.Name = "textBoxStorageName";
|
|
|
|
|
textBoxStorageName.Size = new Size(142, 23);
|
|
|
|
|
textBoxStorageName.TabIndex = 2;
|
|
|
|
|
//
|
|
|
|
|
// ButtonDelObject
|
|
|
|
|
//
|
|
|
|
|
ButtonDelObject.Location = new Point(28, 180);
|
|
|
|
|
ButtonDelObject.Name = "ButtonDelObject";
|
|
|
|
|
ButtonDelObject.Size = new Size(142, 33);
|
|
|
|
|
ButtonDelObject.TabIndex = 1;
|
|
|
|
|
ButtonDelObject.Text = "Удалить набор";
|
|
|
|
|
ButtonDelObject.UseVisualStyleBackColor = true;
|
|
|
|
|
ButtonDelObject.Click += ButtonDelObject_Click;
|
|
|
|
|
//
|
|
|
|
|
// ButtonAddObject
|
|
|
|
|
//
|
|
|
|
|
ButtonAddObject.Location = new Point(28, 38);
|
|
|
|
|
ButtonAddObject.Name = "ButtonAddObject";
|
|
|
|
|
ButtonAddObject.Size = new Size(142, 32);
|
|
|
|
|
ButtonAddObject.TabIndex = 0;
|
|
|
|
|
ButtonAddObject.Text = "Добавить набор";
|
|
|
|
|
ButtonAddObject.UseVisualStyleBackColor = true;
|
|
|
|
|
ButtonAddObject.Click += ButtonAddObject_Click;
|
|
|
|
|
//
|
|
|
|
|
// LabelTools
|
|
|
|
|
//
|
|
|
|
|
LabelTools.AutoSize = true;
|
|
|
|
|
LabelTools.Location = new Point(85, -3);
|
|
|
|
|
LabelTools.Name = "LabelTools";
|
|
|
|
|
LabelTools.Size = new Size(83, 15);
|
|
|
|
|
LabelTools.TabIndex = 1;
|
|
|
|
|
LabelTools.Text = "Инструменты";
|
2023-12-01 21:18:58 +04:00
|
|
|
|
//
|
|
|
|
|
// ButtonRefreshCollection
|
|
|
|
|
//
|
2023-12-02 00:46:08 +04:00
|
|
|
|
ButtonRefreshCollection.Location = new Point(45, 432);
|
2023-12-01 21:18:58 +04:00
|
|
|
|
ButtonRefreshCollection.Name = "ButtonRefreshCollection";
|
|
|
|
|
ButtonRefreshCollection.Size = new Size(142, 37);
|
|
|
|
|
ButtonRefreshCollection.TabIndex = 2;
|
|
|
|
|
ButtonRefreshCollection.Text = "Обновить коллекцию";
|
|
|
|
|
ButtonRefreshCollection.UseVisualStyleBackColor = true;
|
|
|
|
|
ButtonRefreshCollection.Click += ButtonRefreshCollection_Click;
|
|
|
|
|
//
|
|
|
|
|
// ButtonDeleteShip
|
|
|
|
|
//
|
2023-12-02 00:46:08 +04:00
|
|
|
|
ButtonDeleteShip.Location = new Point(45, 369);
|
2023-12-01 21:18:58 +04:00
|
|
|
|
ButtonDeleteShip.Name = "ButtonDeleteShip";
|
|
|
|
|
ButtonDeleteShip.Size = new Size(142, 37);
|
|
|
|
|
ButtonDeleteShip.TabIndex = 2;
|
|
|
|
|
ButtonDeleteShip.Text = "Удалить корабль";
|
|
|
|
|
ButtonDeleteShip.UseVisualStyleBackColor = true;
|
|
|
|
|
ButtonDeleteShip.Click += ButtonDeleteShip_Click;
|
|
|
|
|
//
|
|
|
|
|
// maskedTextBoxNumber
|
|
|
|
|
//
|
2023-12-02 00:46:08 +04:00
|
|
|
|
maskedTextBoxNumber.Location = new Point(68, 340);
|
2023-12-01 21:18:58 +04:00
|
|
|
|
maskedTextBoxNumber.Name = "maskedTextBoxNumber";
|
|
|
|
|
maskedTextBoxNumber.Size = new Size(100, 23);
|
|
|
|
|
maskedTextBoxNumber.TabIndex = 2;
|
|
|
|
|
//
|
|
|
|
|
// ButtonAddShip
|
|
|
|
|
//
|
2023-12-02 00:46:08 +04:00
|
|
|
|
ButtonAddShip.Location = new Point(45, 274);
|
2023-12-01 21:18:58 +04:00
|
|
|
|
ButtonAddShip.Name = "ButtonAddShip";
|
|
|
|
|
ButtonAddShip.Size = new Size(142, 36);
|
|
|
|
|
ButtonAddShip.TabIndex = 2;
|
|
|
|
|
ButtonAddShip.Text = "Добавить корабль";
|
|
|
|
|
ButtonAddShip.UseVisualStyleBackColor = true;
|
|
|
|
|
ButtonAddShip.Click += ButtonAddShip_Click;
|
|
|
|
|
//
|
2023-12-15 20:50:00 +04:00
|
|
|
|
// menuStrip
|
|
|
|
|
//
|
|
|
|
|
menuStrip.ImageScalingSize = new Size(20, 20);
|
|
|
|
|
menuStrip.Items.AddRange(new ToolStripItem[] { FileToolStripMenuItem });
|
|
|
|
|
menuStrip.Location = new Point(0, 0);
|
|
|
|
|
menuStrip.Name = "menuStrip";
|
|
|
|
|
menuStrip.Size = new Size(889, 24);
|
|
|
|
|
menuStrip.TabIndex = 2;
|
|
|
|
|
menuStrip.Text = "menuStrip";
|
|
|
|
|
//
|
|
|
|
|
// FileToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
FileToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { SaveToolStripMenuItem, LoadToolStripMenuItem });
|
|
|
|
|
FileToolStripMenuItem.Name = "FileToolStripMenuItem";
|
|
|
|
|
FileToolStripMenuItem.Size = new Size(48, 20);
|
|
|
|
|
FileToolStripMenuItem.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 = "openFileDialog";
|
|
|
|
|
openFileDialog.Filter = "txt file | *.txt";
|
|
|
|
|
//
|
|
|
|
|
// saveFileDialog
|
|
|
|
|
//
|
|
|
|
|
saveFileDialog.Filter = "txt file | *.txt";
|
|
|
|
|
//
|
2023-12-01 21:18:58 +04:00
|
|
|
|
// FormShipCollection
|
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
2023-12-02 00:46:08 +04:00
|
|
|
|
ClientSize = new Size(889, 508);
|
|
|
|
|
Controls.Add(toolsPanel);
|
2023-12-01 21:18:58 +04:00
|
|
|
|
Controls.Add(pictureBoxCollection);
|
2023-12-15 20:50:00 +04:00
|
|
|
|
Controls.Add(menuStrip);
|
|
|
|
|
MainMenuStrip = menuStrip;
|
2023-12-01 21:18:58 +04:00
|
|
|
|
Name = "FormShipCollection";
|
|
|
|
|
Text = "Набор кораблей";
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)pictureBoxCollection).EndInit();
|
2023-12-02 00:46:08 +04:00
|
|
|
|
toolsPanel.ResumeLayout(false);
|
|
|
|
|
toolsPanel.PerformLayout();
|
|
|
|
|
panelSets.ResumeLayout(false);
|
|
|
|
|
panelSets.PerformLayout();
|
2023-12-15 20:50:00 +04:00
|
|
|
|
menuStrip.ResumeLayout(false);
|
|
|
|
|
menuStrip.PerformLayout();
|
2023-12-01 21:18:58 +04:00
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
PerformLayout();
|
|
|
|
|
}
|
|
|
|
|
|
2023-12-15 20:50:00 +04:00
|
|
|
|
private void LoadToolStripMenuItem_Click1(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
}
|
|
|
|
|
|
2023-12-01 21:18:58 +04:00
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private PictureBox pictureBoxCollection;
|
2023-12-02 00:46:08 +04:00
|
|
|
|
private Panel toolsPanel;
|
2023-12-01 21:18:58 +04:00
|
|
|
|
private Button ButtonAddShip;
|
2023-12-02 00:46:08 +04:00
|
|
|
|
private Label LabelTools;
|
2023-12-01 21:18:58 +04:00
|
|
|
|
private TextBox maskedTextBoxNumber;
|
|
|
|
|
private Button ButtonDeleteShip;
|
|
|
|
|
private Button ButtonRefreshCollection;
|
2023-12-02 00:46:08 +04:00
|
|
|
|
private Label LabelSets;
|
|
|
|
|
private Panel panelSets;
|
|
|
|
|
private ListBox ListBoxObjects;
|
|
|
|
|
private TextBox textBoxStorageName;
|
|
|
|
|
private Button ButtonDelObject;
|
|
|
|
|
private Button ButtonAddObject;
|
2023-12-15 20:50:00 +04:00
|
|
|
|
private MenuStrip menuStrip;
|
|
|
|
|
private ToolStripMenuItem FileToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem SaveToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem LoadToolStripMenuItem;
|
|
|
|
|
private OpenFileDialog openFileDialog;
|
|
|
|
|
private SaveFileDialog saveFileDialog;
|
2023-12-01 21:18:58 +04:00
|
|
|
|
}
|
|
|
|
|
}
|