365 lines
15 KiB
C#
365 lines
15 KiB
C#
|
namespace ProjectTank
|
|||
|
{
|
|||
|
partial class FormTankConfig
|
|||
|
{
|
|||
|
/// <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()
|
|||
|
{
|
|||
|
components = new System.ComponentModel.Container();
|
|||
|
contextMenuStrip1 = new ContextMenuStrip(components);
|
|||
|
mainGroupBox = new GroupBox();
|
|||
|
labelModifiedObject = new Label();
|
|||
|
labelSimpleObject = new Label();
|
|||
|
colorsGroupBox = new GroupBox();
|
|||
|
bluePanel = new Panel();
|
|||
|
blackPanel = new Panel();
|
|||
|
orangePanel = new Panel();
|
|||
|
greenPanel = new Panel();
|
|||
|
redPanel = new Panel();
|
|||
|
purplePanel = new Panel();
|
|||
|
cyanPanel = new Panel();
|
|||
|
yellowPanel = new Panel();
|
|||
|
checkBoxAntiAirforceGun = new CheckBox();
|
|||
|
checkBoxTankTower = new CheckBox();
|
|||
|
numericUpDownWeight = new NumericUpDown();
|
|||
|
numericUpDownSpeed = new NumericUpDown();
|
|||
|
weightLabel = new Label();
|
|||
|
speedLabel = new Label();
|
|||
|
mainColorLabel = new Label();
|
|||
|
additionalColorLabel = new Label();
|
|||
|
addButton = new Button();
|
|||
|
cancelButton = new Button();
|
|||
|
pictureBoxPanel = new Panel();
|
|||
|
pictureBoxObject = new PictureBox();
|
|||
|
mainGroupBox.SuspendLayout();
|
|||
|
colorsGroupBox.SuspendLayout();
|
|||
|
((System.ComponentModel.ISupportInitialize)numericUpDownWeight).BeginInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)numericUpDownSpeed).BeginInit();
|
|||
|
pictureBoxPanel.SuspendLayout();
|
|||
|
((System.ComponentModel.ISupportInitialize)pictureBoxObject).BeginInit();
|
|||
|
SuspendLayout();
|
|||
|
//
|
|||
|
// contextMenuStrip1
|
|||
|
//
|
|||
|
contextMenuStrip1.ImageScalingSize = new Size(20, 20);
|
|||
|
contextMenuStrip1.Name = "contextMenuStrip1";
|
|||
|
contextMenuStrip1.Size = new Size(61, 4);
|
|||
|
//
|
|||
|
// mainGroupBox
|
|||
|
//
|
|||
|
mainGroupBox.Controls.Add(labelModifiedObject);
|
|||
|
mainGroupBox.Controls.Add(labelSimpleObject);
|
|||
|
mainGroupBox.Controls.Add(colorsGroupBox);
|
|||
|
mainGroupBox.Controls.Add(checkBoxAntiAirforceGun);
|
|||
|
mainGroupBox.Controls.Add(checkBoxTankTower);
|
|||
|
mainGroupBox.Controls.Add(numericUpDownWeight);
|
|||
|
mainGroupBox.Controls.Add(numericUpDownSpeed);
|
|||
|
mainGroupBox.Controls.Add(weightLabel);
|
|||
|
mainGroupBox.Controls.Add(speedLabel);
|
|||
|
mainGroupBox.Location = new Point(12, 12);
|
|||
|
mainGroupBox.Name = "mainGroupBox";
|
|||
|
mainGroupBox.Size = new Size(610, 239);
|
|||
|
mainGroupBox.TabIndex = 1;
|
|||
|
mainGroupBox.TabStop = false;
|
|||
|
mainGroupBox.Text = "Параметры";
|
|||
|
//
|
|||
|
// labelModifiedObject
|
|||
|
//
|
|||
|
labelModifiedObject.BorderStyle = BorderStyle.FixedSingle;
|
|||
|
labelModifiedObject.Location = new Point(465, 179);
|
|||
|
labelModifiedObject.Name = "labelModifiedObject";
|
|||
|
labelModifiedObject.Size = new Size(127, 47);
|
|||
|
labelModifiedObject.TabIndex = 8;
|
|||
|
labelModifiedObject.Text = "Продвинутый";
|
|||
|
labelModifiedObject.TextAlign = ContentAlignment.MiddleCenter;
|
|||
|
labelModifiedObject.MouseDown += LabelObject_MouseDown;
|
|||
|
//
|
|||
|
// labelSimpleObject
|
|||
|
//
|
|||
|
labelSimpleObject.BorderStyle = BorderStyle.FixedSingle;
|
|||
|
labelSimpleObject.Location = new Point(322, 179);
|
|||
|
labelSimpleObject.Name = "labelSimpleObject";
|
|||
|
labelSimpleObject.Size = new Size(127, 47);
|
|||
|
labelSimpleObject.TabIndex = 5;
|
|||
|
labelSimpleObject.Text = "Простой";
|
|||
|
labelSimpleObject.TextAlign = ContentAlignment.MiddleCenter;
|
|||
|
labelSimpleObject.MouseDown += LabelObject_MouseDown;
|
|||
|
//
|
|||
|
// colorsGroupBox
|
|||
|
//
|
|||
|
colorsGroupBox.Controls.Add(bluePanel);
|
|||
|
colorsGroupBox.Controls.Add(blackPanel);
|
|||
|
colorsGroupBox.Controls.Add(orangePanel);
|
|||
|
colorsGroupBox.Controls.Add(greenPanel);
|
|||
|
colorsGroupBox.Controls.Add(redPanel);
|
|||
|
colorsGroupBox.Controls.Add(purplePanel);
|
|||
|
colorsGroupBox.Controls.Add(cyanPanel);
|
|||
|
colorsGroupBox.Controls.Add(yellowPanel);
|
|||
|
colorsGroupBox.Location = new Point(322, 26);
|
|||
|
colorsGroupBox.Name = "colorsGroupBox";
|
|||
|
colorsGroupBox.Size = new Size(270, 145);
|
|||
|
colorsGroupBox.TabIndex = 2;
|
|||
|
colorsGroupBox.TabStop = false;
|
|||
|
colorsGroupBox.Text = "Цвета";
|
|||
|
//
|
|||
|
// bluePanel
|
|||
|
//
|
|||
|
bluePanel.BackColor = Color.Blue;
|
|||
|
bluePanel.Location = new Point(211, 84);
|
|||
|
bluePanel.Name = "bluePanel";
|
|||
|
bluePanel.Size = new Size(49, 48);
|
|||
|
bluePanel.TabIndex = 4;
|
|||
|
//
|
|||
|
// blackPanel
|
|||
|
//
|
|||
|
blackPanel.BackColor = Color.Black;
|
|||
|
blackPanel.Location = new Point(143, 84);
|
|||
|
blackPanel.Name = "blackPanel";
|
|||
|
blackPanel.Size = new Size(49, 48);
|
|||
|
blackPanel.TabIndex = 3;
|
|||
|
//
|
|||
|
// orangePanel
|
|||
|
//
|
|||
|
orangePanel.BackColor = Color.FromArgb(255, 128, 0);
|
|||
|
orangePanel.Location = new Point(78, 84);
|
|||
|
orangePanel.Name = "orangePanel";
|
|||
|
orangePanel.Size = new Size(49, 48);
|
|||
|
orangePanel.TabIndex = 2;
|
|||
|
//
|
|||
|
// greenPanel
|
|||
|
//
|
|||
|
greenPanel.BackColor = Color.Lime;
|
|||
|
greenPanel.Location = new Point(12, 84);
|
|||
|
greenPanel.Name = "greenPanel";
|
|||
|
greenPanel.Size = new Size(49, 48);
|
|||
|
greenPanel.TabIndex = 1;
|
|||
|
//
|
|||
|
// redPanel
|
|||
|
//
|
|||
|
redPanel.BackColor = Color.Red;
|
|||
|
redPanel.Location = new Point(211, 26);
|
|||
|
redPanel.Name = "redPanel";
|
|||
|
redPanel.Size = new Size(49, 48);
|
|||
|
redPanel.TabIndex = 3;
|
|||
|
//
|
|||
|
// purplePanel
|
|||
|
//
|
|||
|
purplePanel.BackColor = Color.Fuchsia;
|
|||
|
purplePanel.Location = new Point(143, 26);
|
|||
|
purplePanel.Name = "purplePanel";
|
|||
|
purplePanel.Size = new Size(49, 48);
|
|||
|
purplePanel.TabIndex = 2;
|
|||
|
//
|
|||
|
// cyanPanel
|
|||
|
//
|
|||
|
cyanPanel.BackColor = Color.Cyan;
|
|||
|
cyanPanel.Location = new Point(78, 26);
|
|||
|
cyanPanel.Name = "cyanPanel";
|
|||
|
cyanPanel.Size = new Size(49, 48);
|
|||
|
cyanPanel.TabIndex = 1;
|
|||
|
//
|
|||
|
// yellowPanel
|
|||
|
//
|
|||
|
yellowPanel.BackColor = Color.FromArgb(255, 255, 128);
|
|||
|
yellowPanel.Location = new Point(12, 26);
|
|||
|
yellowPanel.Name = "yellowPanel";
|
|||
|
yellowPanel.Size = new Size(49, 48);
|
|||
|
yellowPanel.TabIndex = 0;
|
|||
|
//
|
|||
|
// checkBoxAntiAirforceGun
|
|||
|
//
|
|||
|
checkBoxAntiAirforceGun.AutoSize = true;
|
|||
|
checkBoxAntiAirforceGun.Location = new Point(17, 175);
|
|||
|
checkBoxAntiAirforceGun.Name = "checkBoxAntiAirforceGun";
|
|||
|
checkBoxAntiAirforceGun.Size = new Size(287, 24);
|
|||
|
checkBoxAntiAirforceGun.TabIndex = 7;
|
|||
|
checkBoxAntiAirforceGun.Text = "Признак наличия зенитного оружия";
|
|||
|
checkBoxAntiAirforceGun.UseVisualStyleBackColor = true;
|
|||
|
//
|
|||
|
// checkBoxTankTower
|
|||
|
//
|
|||
|
checkBoxTankTower.AutoSize = true;
|
|||
|
checkBoxTankTower.Location = new Point(17, 134);
|
|||
|
checkBoxTankTower.Name = "checkBoxTankTower";
|
|||
|
checkBoxTankTower.Size = new Size(253, 24);
|
|||
|
checkBoxTankTower.TabIndex = 6;
|
|||
|
checkBoxTankTower.Text = "Признак наличия дула и башни";
|
|||
|
checkBoxTankTower.UseVisualStyleBackColor = true;
|
|||
|
//
|
|||
|
// numericUpDownWeight
|
|||
|
//
|
|||
|
numericUpDownWeight.Location = new Point(99, 80);
|
|||
|
numericUpDownWeight.Maximum = new decimal(new int[] { 3000, 0, 0, 0 });
|
|||
|
numericUpDownWeight.Minimum = new decimal(new int[] { 1000, 0, 0, 0 });
|
|||
|
numericUpDownWeight.Name = "numericUpDownWeight";
|
|||
|
numericUpDownWeight.Size = new Size(150, 27);
|
|||
|
numericUpDownWeight.TabIndex = 5;
|
|||
|
numericUpDownWeight.Value = new decimal(new int[] { 1000, 0, 0, 0 });
|
|||
|
//
|
|||
|
// numericUpDownSpeed
|
|||
|
//
|
|||
|
numericUpDownSpeed.Location = new Point(99, 40);
|
|||
|
numericUpDownSpeed.Maximum = new decimal(new int[] { 300, 0, 0, 0 });
|
|||
|
numericUpDownSpeed.Minimum = new decimal(new int[] { 100, 0, 0, 0 });
|
|||
|
numericUpDownSpeed.Name = "numericUpDownSpeed";
|
|||
|
numericUpDownSpeed.Size = new Size(150, 27);
|
|||
|
numericUpDownSpeed.TabIndex = 4;
|
|||
|
numericUpDownSpeed.Value = new decimal(new int[] { 100, 0, 0, 0 });
|
|||
|
//
|
|||
|
// weightLabel
|
|||
|
//
|
|||
|
weightLabel.AutoSize = true;
|
|||
|
weightLabel.Location = new Point(17, 82);
|
|||
|
weightLabel.Name = "weightLabel";
|
|||
|
weightLabel.Size = new Size(36, 20);
|
|||
|
weightLabel.TabIndex = 3;
|
|||
|
weightLabel.Text = "Вес:";
|
|||
|
//
|
|||
|
// speedLabel
|
|||
|
//
|
|||
|
speedLabel.AutoSize = true;
|
|||
|
speedLabel.Location = new Point(17, 42);
|
|||
|
speedLabel.Name = "speedLabel";
|
|||
|
speedLabel.Size = new Size(76, 20);
|
|||
|
speedLabel.TabIndex = 2;
|
|||
|
speedLabel.Text = "Скорость:";
|
|||
|
//
|
|||
|
// mainColorLabel
|
|||
|
//
|
|||
|
mainColorLabel.AllowDrop = true;
|
|||
|
mainColorLabel.BorderStyle = BorderStyle.FixedSingle;
|
|||
|
mainColorLabel.Location = new Point(13, 9);
|
|||
|
mainColorLabel.Name = "mainColorLabel";
|
|||
|
mainColorLabel.Size = new Size(92, 38);
|
|||
|
mainColorLabel.TabIndex = 9;
|
|||
|
mainColorLabel.Text = "Цвет";
|
|||
|
mainColorLabel.TextAlign = ContentAlignment.MiddleCenter;
|
|||
|
mainColorLabel.DragDrop += ColorLabel_DragDrop;
|
|||
|
mainColorLabel.DragEnter += ColorLabel_DragEnter;
|
|||
|
//
|
|||
|
// additionalColorLabel
|
|||
|
//
|
|||
|
additionalColorLabel.AllowDrop = true;
|
|||
|
additionalColorLabel.BorderStyle = BorderStyle.FixedSingle;
|
|||
|
additionalColorLabel.Location = new Point(126, 9);
|
|||
|
additionalColorLabel.Name = "additionalColorLabel";
|
|||
|
additionalColorLabel.Size = new Size(92, 38);
|
|||
|
additionalColorLabel.TabIndex = 10;
|
|||
|
additionalColorLabel.Text = "Доп. Цвет";
|
|||
|
additionalColorLabel.TextAlign = ContentAlignment.MiddleCenter;
|
|||
|
additionalColorLabel.DragDrop += ColorLabel_DragDrop;
|
|||
|
additionalColorLabel.DragEnter += ColorLabel_DragEnter;
|
|||
|
//
|
|||
|
// addButton
|
|||
|
//
|
|||
|
addButton.Location = new Point(632, 222);
|
|||
|
addButton.Name = "addButton";
|
|||
|
addButton.Size = new Size(94, 29);
|
|||
|
addButton.TabIndex = 11;
|
|||
|
addButton.Text = "Добавить";
|
|||
|
addButton.UseVisualStyleBackColor = true;
|
|||
|
addButton.Click += ButtonOk_Click;
|
|||
|
//
|
|||
|
// cancelButton
|
|||
|
//
|
|||
|
cancelButton.Location = new Point(769, 222);
|
|||
|
cancelButton.Name = "cancelButton";
|
|||
|
cancelButton.Size = new Size(94, 29);
|
|||
|
cancelButton.TabIndex = 12;
|
|||
|
cancelButton.Text = "Отмена";
|
|||
|
cancelButton.UseVisualStyleBackColor = true;
|
|||
|
//
|
|||
|
// pictureBoxPanel
|
|||
|
//
|
|||
|
pictureBoxPanel.AllowDrop = true;
|
|||
|
pictureBoxPanel.Controls.Add(pictureBoxObject);
|
|||
|
pictureBoxPanel.Controls.Add(mainColorLabel);
|
|||
|
pictureBoxPanel.Controls.Add(additionalColorLabel);
|
|||
|
pictureBoxPanel.Location = new Point(628, 22);
|
|||
|
pictureBoxPanel.Name = "pictureBoxPanel";
|
|||
|
pictureBoxPanel.Size = new Size(235, 189);
|
|||
|
pictureBoxPanel.TabIndex = 9;
|
|||
|
pictureBoxPanel.DragDrop += PanelObject_DragDrop;
|
|||
|
pictureBoxPanel.DragEnter += PanelObject_DragEnter;
|
|||
|
//
|
|||
|
// pictureBoxObject
|
|||
|
//
|
|||
|
pictureBoxObject.Location = new Point(13, 60);
|
|||
|
pictureBoxObject.Name = "pictureBoxObject";
|
|||
|
pictureBoxObject.Size = new Size(205, 117);
|
|||
|
pictureBoxObject.TabIndex = 13;
|
|||
|
pictureBoxObject.TabStop = false;
|
|||
|
//
|
|||
|
// FormTankConfig
|
|||
|
//
|
|||
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|||
|
AutoScaleMode = AutoScaleMode.Font;
|
|||
|
ClientSize = new Size(875, 267);
|
|||
|
Controls.Add(pictureBoxPanel);
|
|||
|
Controls.Add(cancelButton);
|
|||
|
Controls.Add(addButton);
|
|||
|
Controls.Add(mainGroupBox);
|
|||
|
Name = "FormTankConfig";
|
|||
|
Text = "Настройка конфигурации танка";
|
|||
|
mainGroupBox.ResumeLayout(false);
|
|||
|
mainGroupBox.PerformLayout();
|
|||
|
colorsGroupBox.ResumeLayout(false);
|
|||
|
((System.ComponentModel.ISupportInitialize)numericUpDownWeight).EndInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)numericUpDownSpeed).EndInit();
|
|||
|
pictureBoxPanel.ResumeLayout(false);
|
|||
|
((System.ComponentModel.ISupportInitialize)pictureBoxObject).EndInit();
|
|||
|
ResumeLayout(false);
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
private ContextMenuStrip contextMenuStrip1;
|
|||
|
private GroupBox mainGroupBox;
|
|||
|
private CheckBox checkBoxAntiAirforceGun;
|
|||
|
private CheckBox checkBoxTankTower;
|
|||
|
private NumericUpDown numericUpDownWeight;
|
|||
|
private NumericUpDown numericUpDownSpeed;
|
|||
|
private Label weightLabel;
|
|||
|
private Label speedLabel;
|
|||
|
private GroupBox colorsGroupBox;
|
|||
|
private Panel redPanel;
|
|||
|
private Panel purplePanel;
|
|||
|
private Panel cyanPanel;
|
|||
|
private Panel yellowPanel;
|
|||
|
private Panel greenPanel;
|
|||
|
private Panel bluePanel;
|
|||
|
private Panel blackPanel;
|
|||
|
private Panel orangePanel;
|
|||
|
private Label labelSimpleObject;
|
|||
|
private Label labelModifiedObject;
|
|||
|
private Label mainColorLabel;
|
|||
|
private Label additionalColorLabel;
|
|||
|
private Button addButton;
|
|||
|
private Button cancelButton;
|
|||
|
private Panel pictureBoxPanel;
|
|||
|
private PictureBox pictureBoxObject;
|
|||
|
}
|
|||
|
}
|