365 lines
19 KiB
C#
365 lines
19 KiB
C#
namespace Artilleries
|
|
{
|
|
partial class FormMapWithSetArtilleries
|
|
{
|
|
/// <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()
|
|
{
|
|
this.toolsGroupBox = new System.Windows.Forms.GroupBox();
|
|
this.buttonSortByColor = new System.Windows.Forms.Button();
|
|
this.buttonSortByType = new System.Windows.Forms.Button();
|
|
this.mapsGroupBox = new System.Windows.Forms.GroupBox();
|
|
this.buttonDeleteMap = new System.Windows.Forms.Button();
|
|
this.listBoxMaps = new System.Windows.Forms.ListBox();
|
|
this.buttonAddMap = new System.Windows.Forms.Button();
|
|
this.textBoxNewMapName = new System.Windows.Forms.TextBox();
|
|
this.comboBoxSelectorMap = new System.Windows.Forms.ComboBox();
|
|
this.buttonShowOnMap = new System.Windows.Forms.Button();
|
|
this.buttonShowStorage = new System.Windows.Forms.Button();
|
|
this.buttonRemoveArtillery = new System.Windows.Forms.Button();
|
|
this.maskedTextBoxPosition = new System.Windows.Forms.MaskedTextBox();
|
|
this.buttonAddArtillery = new System.Windows.Forms.Button();
|
|
this.buttonRight = new System.Windows.Forms.Button();
|
|
this.buttonDown = new System.Windows.Forms.Button();
|
|
this.buttonUp = new System.Windows.Forms.Button();
|
|
this.buttonLeft = new System.Windows.Forms.Button();
|
|
this.pictureBoxArtilleries = new System.Windows.Forms.PictureBox();
|
|
this.menuStrip = new System.Windows.Forms.MenuStrip();
|
|
this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.loadToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.loadFileDialog = new System.Windows.Forms.OpenFileDialog();
|
|
this.saveFileDialog = new System.Windows.Forms.SaveFileDialog();
|
|
this.toolsGroupBox.SuspendLayout();
|
|
this.mapsGroupBox.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBoxArtilleries)).BeginInit();
|
|
this.menuStrip.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// toolsGroupBox
|
|
//
|
|
this.toolsGroupBox.Controls.Add(this.buttonSortByColor);
|
|
this.toolsGroupBox.Controls.Add(this.buttonSortByType);
|
|
this.toolsGroupBox.Controls.Add(this.mapsGroupBox);
|
|
this.toolsGroupBox.Controls.Add(this.buttonShowOnMap);
|
|
this.toolsGroupBox.Controls.Add(this.buttonShowStorage);
|
|
this.toolsGroupBox.Controls.Add(this.buttonRemoveArtillery);
|
|
this.toolsGroupBox.Controls.Add(this.maskedTextBoxPosition);
|
|
this.toolsGroupBox.Controls.Add(this.buttonAddArtillery);
|
|
this.toolsGroupBox.Controls.Add(this.buttonRight);
|
|
this.toolsGroupBox.Controls.Add(this.buttonDown);
|
|
this.toolsGroupBox.Controls.Add(this.buttonUp);
|
|
this.toolsGroupBox.Controls.Add(this.buttonLeft);
|
|
this.toolsGroupBox.Dock = System.Windows.Forms.DockStyle.Right;
|
|
this.toolsGroupBox.Location = new System.Drawing.Point(600, 24);
|
|
this.toolsGroupBox.Name = "toolsGroupBox";
|
|
this.toolsGroupBox.Size = new System.Drawing.Size(200, 657);
|
|
this.toolsGroupBox.TabIndex = 0;
|
|
this.toolsGroupBox.TabStop = false;
|
|
this.toolsGroupBox.Text = "Инструменты";
|
|
//
|
|
// buttonSortByColor
|
|
//
|
|
this.buttonSortByColor.Location = new System.Drawing.Point(13, 324);
|
|
this.buttonSortByColor.Name = "buttonSortByColor";
|
|
this.buttonSortByColor.Size = new System.Drawing.Size(175, 32);
|
|
this.buttonSortByColor.TabIndex = 27;
|
|
this.buttonSortByColor.Text = "Сортировать по цвету";
|
|
this.buttonSortByColor.UseVisualStyleBackColor = true;
|
|
this.buttonSortByColor.Click += new System.EventHandler(this.buttonSortByColor_Click);
|
|
//
|
|
// buttonSortByType
|
|
//
|
|
this.buttonSortByType.Location = new System.Drawing.Point(13, 286);
|
|
this.buttonSortByType.Name = "buttonSortByType";
|
|
this.buttonSortByType.Size = new System.Drawing.Size(175, 32);
|
|
this.buttonSortByType.TabIndex = 26;
|
|
this.buttonSortByType.Text = "Сортировать по типу";
|
|
this.buttonSortByType.UseVisualStyleBackColor = true;
|
|
this.buttonSortByType.Click += new System.EventHandler(this.buttonSortByType_Click);
|
|
//
|
|
// mapsGroupBox
|
|
//
|
|
this.mapsGroupBox.Controls.Add(this.buttonDeleteMap);
|
|
this.mapsGroupBox.Controls.Add(this.listBoxMaps);
|
|
this.mapsGroupBox.Controls.Add(this.buttonAddMap);
|
|
this.mapsGroupBox.Controls.Add(this.textBoxNewMapName);
|
|
this.mapsGroupBox.Controls.Add(this.comboBoxSelectorMap);
|
|
this.mapsGroupBox.Location = new System.Drawing.Point(6, 22);
|
|
this.mapsGroupBox.Name = "mapsGroupBox";
|
|
this.mapsGroupBox.Size = new System.Drawing.Size(188, 258);
|
|
this.mapsGroupBox.TabIndex = 25;
|
|
this.mapsGroupBox.TabStop = false;
|
|
this.mapsGroupBox.Text = "Карты";
|
|
//
|
|
// buttonDeleteMap
|
|
//
|
|
this.buttonDeleteMap.Location = new System.Drawing.Point(12, 218);
|
|
this.buttonDeleteMap.Name = "buttonDeleteMap";
|
|
this.buttonDeleteMap.Size = new System.Drawing.Size(170, 32);
|
|
this.buttonDeleteMap.TabIndex = 26;
|
|
this.buttonDeleteMap.Text = "Удалить карту";
|
|
this.buttonDeleteMap.UseVisualStyleBackColor = true;
|
|
this.buttonDeleteMap.Click += new System.EventHandler(this.buttonDeleteMap_Click);
|
|
//
|
|
// listBoxMaps
|
|
//
|
|
this.listBoxMaps.FormattingEnabled = true;
|
|
this.listBoxMaps.ItemHeight = 15;
|
|
this.listBoxMaps.Location = new System.Drawing.Point(12, 118);
|
|
this.listBoxMaps.Name = "listBoxMaps";
|
|
this.listBoxMaps.Size = new System.Drawing.Size(170, 94);
|
|
this.listBoxMaps.TabIndex = 27;
|
|
this.listBoxMaps.SelectedIndexChanged += new System.EventHandler(this.listBoxMaps_SelectedIndexChanged);
|
|
//
|
|
// buttonAddMap
|
|
//
|
|
this.buttonAddMap.Location = new System.Drawing.Point(12, 80);
|
|
this.buttonAddMap.Name = "buttonAddMap";
|
|
this.buttonAddMap.Size = new System.Drawing.Size(170, 32);
|
|
this.buttonAddMap.TabIndex = 26;
|
|
this.buttonAddMap.Text = "Добавить карту";
|
|
this.buttonAddMap.UseVisualStyleBackColor = true;
|
|
this.buttonAddMap.Click += new System.EventHandler(this.buttonAddMap_Click);
|
|
//
|
|
// textBoxNewMapName
|
|
//
|
|
this.textBoxNewMapName.Location = new System.Drawing.Point(12, 22);
|
|
this.textBoxNewMapName.Name = "textBoxNewMapName";
|
|
this.textBoxNewMapName.Size = new System.Drawing.Size(170, 23);
|
|
this.textBoxNewMapName.TabIndex = 0;
|
|
//
|
|
// comboBoxSelectorMap
|
|
//
|
|
this.comboBoxSelectorMap.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.comboBoxSelectorMap.FormattingEnabled = true;
|
|
this.comboBoxSelectorMap.Items.AddRange(new object[] {
|
|
"Простая карта",
|
|
"Лесная карта"});
|
|
this.comboBoxSelectorMap.Location = new System.Drawing.Point(12, 51);
|
|
this.comboBoxSelectorMap.Name = "comboBoxSelectorMap";
|
|
this.comboBoxSelectorMap.Size = new System.Drawing.Size(170, 23);
|
|
this.comboBoxSelectorMap.TabIndex = 19;
|
|
//
|
|
// buttonShowOnMap
|
|
//
|
|
this.buttonShowOnMap.Location = new System.Drawing.Point(13, 526);
|
|
this.buttonShowOnMap.Name = "buttonShowOnMap";
|
|
this.buttonShowOnMap.Size = new System.Drawing.Size(175, 32);
|
|
this.buttonShowOnMap.TabIndex = 24;
|
|
this.buttonShowOnMap.Text = "Посмотреть карту";
|
|
this.buttonShowOnMap.UseVisualStyleBackColor = true;
|
|
this.buttonShowOnMap.Click += new System.EventHandler(this.buttonShowOnMap_Click);
|
|
//
|
|
// buttonShowStorage
|
|
//
|
|
this.buttonShowStorage.Location = new System.Drawing.Point(13, 488);
|
|
this.buttonShowStorage.Name = "buttonShowStorage";
|
|
this.buttonShowStorage.Size = new System.Drawing.Size(175, 32);
|
|
this.buttonShowStorage.TabIndex = 23;
|
|
this.buttonShowStorage.Text = "Посмотреть хранилище";
|
|
this.buttonShowStorage.UseVisualStyleBackColor = true;
|
|
this.buttonShowStorage.Click += new System.EventHandler(this.buttonShowStorage_Click);
|
|
//
|
|
// buttonRemoveArtillery
|
|
//
|
|
this.buttonRemoveArtillery.Location = new System.Drawing.Point(13, 441);
|
|
this.buttonRemoveArtillery.Name = "buttonRemoveArtillery";
|
|
this.buttonRemoveArtillery.Size = new System.Drawing.Size(175, 32);
|
|
this.buttonRemoveArtillery.TabIndex = 22;
|
|
this.buttonRemoveArtillery.Text = "Удалить артиллерию";
|
|
this.buttonRemoveArtillery.UseVisualStyleBackColor = true;
|
|
this.buttonRemoveArtillery.Click += new System.EventHandler(this.buttonRemoveArtillery_Click);
|
|
//
|
|
// maskedTextBoxPosition
|
|
//
|
|
this.maskedTextBoxPosition.Location = new System.Drawing.Point(13, 412);
|
|
this.maskedTextBoxPosition.Mask = "00";
|
|
this.maskedTextBoxPosition.Name = "maskedTextBoxPosition";
|
|
this.maskedTextBoxPosition.Size = new System.Drawing.Size(175, 23);
|
|
this.maskedTextBoxPosition.TabIndex = 21;
|
|
//
|
|
// buttonAddArtillery
|
|
//
|
|
this.buttonAddArtillery.Location = new System.Drawing.Point(13, 374);
|
|
this.buttonAddArtillery.Name = "buttonAddArtillery";
|
|
this.buttonAddArtillery.Size = new System.Drawing.Size(175, 32);
|
|
this.buttonAddArtillery.TabIndex = 20;
|
|
this.buttonAddArtillery.Text = "Добавить артиллерию";
|
|
this.buttonAddArtillery.UseVisualStyleBackColor = true;
|
|
this.buttonAddArtillery.Click += new System.EventHandler(this.buttonAddArtillery_Click);
|
|
//
|
|
// buttonRight
|
|
//
|
|
this.buttonRight.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.buttonRight.BackgroundImage = global::SelfPropelledArtilleryUnit.Properties.Resources.ArrowRight;
|
|
this.buttonRight.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
|
|
this.buttonRight.Location = new System.Drawing.Point(124, 606);
|
|
this.buttonRight.Name = "buttonRight";
|
|
this.buttonRight.Size = new System.Drawing.Size(30, 30);
|
|
this.buttonRight.TabIndex = 18;
|
|
this.buttonRight.UseVisualStyleBackColor = true;
|
|
this.buttonRight.Click += new System.EventHandler(this.buttonMove_Click);
|
|
//
|
|
// buttonDown
|
|
//
|
|
this.buttonDown.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.buttonDown.BackgroundImage = global::SelfPropelledArtilleryUnit.Properties.Resources.ArrowDown;
|
|
this.buttonDown.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
|
|
this.buttonDown.Location = new System.Drawing.Point(88, 606);
|
|
this.buttonDown.Name = "buttonDown";
|
|
this.buttonDown.Size = new System.Drawing.Size(30, 30);
|
|
this.buttonDown.TabIndex = 17;
|
|
this.buttonDown.UseVisualStyleBackColor = true;
|
|
this.buttonDown.Click += new System.EventHandler(this.buttonMove_Click);
|
|
//
|
|
// buttonUp
|
|
//
|
|
this.buttonUp.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.buttonUp.BackgroundImage = global::SelfPropelledArtilleryUnit.Properties.Resources.ArrowUp;
|
|
this.buttonUp.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
|
|
this.buttonUp.Location = new System.Drawing.Point(88, 573);
|
|
this.buttonUp.Name = "buttonUp";
|
|
this.buttonUp.Size = new System.Drawing.Size(30, 30);
|
|
this.buttonUp.TabIndex = 16;
|
|
this.buttonUp.UseVisualStyleBackColor = true;
|
|
this.buttonUp.Click += new System.EventHandler(this.buttonMove_Click);
|
|
//
|
|
// buttonLeft
|
|
//
|
|
this.buttonLeft.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.buttonLeft.BackgroundImage = global::SelfPropelledArtilleryUnit.Properties.Resources.ArrowLeft;
|
|
this.buttonLeft.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
|
|
this.buttonLeft.Location = new System.Drawing.Point(54, 606);
|
|
this.buttonLeft.Name = "buttonLeft";
|
|
this.buttonLeft.Size = new System.Drawing.Size(30, 30);
|
|
this.buttonLeft.TabIndex = 15;
|
|
this.buttonLeft.UseVisualStyleBackColor = true;
|
|
this.buttonLeft.Click += new System.EventHandler(this.buttonMove_Click);
|
|
//
|
|
// pictureBoxArtilleries
|
|
//
|
|
this.pictureBoxArtilleries.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.pictureBoxArtilleries.Location = new System.Drawing.Point(0, 24);
|
|
this.pictureBoxArtilleries.Name = "pictureBoxArtilleries";
|
|
this.pictureBoxArtilleries.Size = new System.Drawing.Size(600, 657);
|
|
this.pictureBoxArtilleries.TabIndex = 1;
|
|
this.pictureBoxArtilleries.TabStop = false;
|
|
//
|
|
// menuStrip
|
|
//
|
|
this.menuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.fileToolStripMenuItem});
|
|
this.menuStrip.Location = new System.Drawing.Point(0, 0);
|
|
this.menuStrip.Name = "menuStrip";
|
|
this.menuStrip.Size = new System.Drawing.Size(800, 24);
|
|
this.menuStrip.TabIndex = 2;
|
|
this.menuStrip.Text = "menuStrip1";
|
|
//
|
|
// fileToolStripMenuItem
|
|
//
|
|
this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.saveToolStripMenuItem,
|
|
this.loadToolStripMenuItem});
|
|
this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
|
|
this.fileToolStripMenuItem.Size = new System.Drawing.Size(48, 20);
|
|
this.fileToolStripMenuItem.Text = "Файл";
|
|
//
|
|
// saveToolStripMenuItem
|
|
//
|
|
this.saveToolStripMenuItem.Name = "saveToolStripMenuItem";
|
|
this.saveToolStripMenuItem.Size = new System.Drawing.Size(133, 22);
|
|
this.saveToolStripMenuItem.Text = "Сохранить";
|
|
this.saveToolStripMenuItem.Click += new System.EventHandler(this.saveToolStripMenuItem_Click);
|
|
//
|
|
// loadToolStripMenuItem
|
|
//
|
|
this.loadToolStripMenuItem.Name = "loadToolStripMenuItem";
|
|
this.loadToolStripMenuItem.Size = new System.Drawing.Size(133, 22);
|
|
this.loadToolStripMenuItem.Text = "Загрузить";
|
|
this.loadToolStripMenuItem.Click += new System.EventHandler(this.loadToolStripMenuItem_Click);
|
|
//
|
|
// loadFileDialog
|
|
//
|
|
this.loadFileDialog.FileName = "openFileDialog1";
|
|
this.loadFileDialog.Filter = "txt file | *.txt";
|
|
//
|
|
// saveFileDialog
|
|
//
|
|
this.saveFileDialog.Filter = "txt file | *.txt";
|
|
//
|
|
// FormMapWithSetArtilleries
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(800, 681);
|
|
this.Controls.Add(this.pictureBoxArtilleries);
|
|
this.Controls.Add(this.toolsGroupBox);
|
|
this.Controls.Add(this.menuStrip);
|
|
this.MainMenuStrip = this.menuStrip;
|
|
this.Name = "FormMapWithSetArtilleries";
|
|
this.Text = "Artillery";
|
|
this.toolsGroupBox.ResumeLayout(false);
|
|
this.toolsGroupBox.PerformLayout();
|
|
this.mapsGroupBox.ResumeLayout(false);
|
|
this.mapsGroupBox.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBoxArtilleries)).EndInit();
|
|
this.menuStrip.ResumeLayout(false);
|
|
this.menuStrip.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private GroupBox toolsGroupBox;
|
|
private PictureBox pictureBoxArtilleries;
|
|
private Button buttonRight;
|
|
private Button buttonDown;
|
|
private Button buttonUp;
|
|
private Button buttonLeft;
|
|
private ComboBox comboBoxSelectorMap;
|
|
private Button buttonShowOnMap;
|
|
private Button buttonShowStorage;
|
|
private Button buttonRemoveArtillery;
|
|
private MaskedTextBox maskedTextBoxPosition;
|
|
private Button buttonAddArtillery;
|
|
private GroupBox mapsGroupBox;
|
|
private Button buttonDeleteMap;
|
|
private ListBox listBoxMaps;
|
|
private Button buttonAddMap;
|
|
private TextBox textBoxNewMapName;
|
|
private MenuStrip menuStrip;
|
|
private ToolStripMenuItem fileToolStripMenuItem;
|
|
private ToolStripMenuItem saveToolStripMenuItem;
|
|
private ToolStripMenuItem loadToolStripMenuItem;
|
|
private OpenFileDialog loadFileDialog;
|
|
private SaveFileDialog saveFileDialog;
|
|
private Button buttonSortByColor;
|
|
private Button buttonSortByType;
|
|
}
|
|
} |