2023-11-28 03:03:58 +04:00
|
|
|
|
namespace AirBomber
|
|
|
|
|
{
|
|
|
|
|
partial class FormBomberConfig
|
|
|
|
|
{
|
|
|
|
|
/// <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()
|
|
|
|
|
{
|
|
|
|
|
groupBox1 = new GroupBox();
|
2023-11-28 03:36:41 +04:00
|
|
|
|
hardLabel = new Label();
|
|
|
|
|
easyLabel = new Label();
|
2023-11-28 03:03:58 +04:00
|
|
|
|
colorGroupBox = new GroupBox();
|
|
|
|
|
purplePanel = new Panel();
|
|
|
|
|
blackPanel = new Panel();
|
|
|
|
|
greyPanel = new Panel();
|
|
|
|
|
whitePanel = new Panel();
|
2023-11-28 03:36:41 +04:00
|
|
|
|
yellowPanel = new Panel();
|
|
|
|
|
bluePanel = new Panel();
|
|
|
|
|
greenPanel = new Panel();
|
|
|
|
|
redPanel = new Panel();
|
|
|
|
|
rocketCheckBox = new CheckBox();
|
|
|
|
|
bakCheckBox = new CheckBox();
|
|
|
|
|
WeightNumericUpDown = new NumericUpDown();
|
|
|
|
|
SpeedNumericUpDown = new NumericUpDown();
|
|
|
|
|
weight = new Label();
|
|
|
|
|
speed = new Label();
|
2023-11-28 03:03:58 +04:00
|
|
|
|
PanelColor = new Panel();
|
|
|
|
|
labelDopColor = new Label();
|
2023-11-28 03:36:41 +04:00
|
|
|
|
labelColor = new Label();
|
|
|
|
|
pictureBoxConfig = new PictureBox();
|
2023-11-28 03:03:58 +04:00
|
|
|
|
AddButton = new Button();
|
|
|
|
|
buttonStop = new Button();
|
|
|
|
|
groupBox1.SuspendLayout();
|
|
|
|
|
colorGroupBox.SuspendLayout();
|
2023-11-28 03:36:41 +04:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)WeightNumericUpDown).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)SpeedNumericUpDown).BeginInit();
|
2023-11-28 03:03:58 +04:00
|
|
|
|
PanelColor.SuspendLayout();
|
2023-11-28 03:36:41 +04:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)pictureBoxConfig).BeginInit();
|
2023-11-28 03:03:58 +04:00
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// groupBox1
|
|
|
|
|
//
|
|
|
|
|
groupBox1.Controls.Add(hardLabel);
|
|
|
|
|
groupBox1.Controls.Add(easyLabel);
|
|
|
|
|
groupBox1.Controls.Add(colorGroupBox);
|
|
|
|
|
groupBox1.Controls.Add(rocketCheckBox);
|
|
|
|
|
groupBox1.Controls.Add(bakCheckBox);
|
|
|
|
|
groupBox1.Controls.Add(WeightNumericUpDown);
|
|
|
|
|
groupBox1.Controls.Add(SpeedNumericUpDown);
|
|
|
|
|
groupBox1.Controls.Add(weight);
|
|
|
|
|
groupBox1.Controls.Add(speed);
|
|
|
|
|
groupBox1.Location = new Point(12, 12);
|
|
|
|
|
groupBox1.Name = "groupBox1";
|
|
|
|
|
groupBox1.Size = new Size(636, 296);
|
|
|
|
|
groupBox1.TabIndex = 0;
|
|
|
|
|
groupBox1.TabStop = false;
|
|
|
|
|
groupBox1.Text = "Параметры";
|
|
|
|
|
//
|
2023-11-28 03:36:41 +04:00
|
|
|
|
// hardLabel
|
2023-11-28 03:03:58 +04:00
|
|
|
|
//
|
2023-11-28 03:36:41 +04:00
|
|
|
|
hardLabel.BorderStyle = BorderStyle.FixedSingle;
|
|
|
|
|
hardLabel.Location = new Point(421, 228);
|
|
|
|
|
hardLabel.Name = "hardLabel";
|
|
|
|
|
hardLabel.Size = new Size(127, 47);
|
|
|
|
|
hardLabel.TabIndex = 8;
|
|
|
|
|
hardLabel.Text = "Продвинутый";
|
|
|
|
|
hardLabel.TextAlign = ContentAlignment.MiddleCenter;
|
|
|
|
|
hardLabel.MouseDown += LableObject_MouseDown;
|
2023-11-28 03:03:58 +04:00
|
|
|
|
//
|
2023-11-28 03:36:41 +04:00
|
|
|
|
// easyLabel
|
2023-11-28 03:03:58 +04:00
|
|
|
|
//
|
2023-11-28 03:36:41 +04:00
|
|
|
|
easyLabel.BorderStyle = BorderStyle.FixedSingle;
|
|
|
|
|
easyLabel.Location = new Point(266, 228);
|
|
|
|
|
easyLabel.Name = "easyLabel";
|
|
|
|
|
easyLabel.Size = new Size(116, 47);
|
|
|
|
|
easyLabel.TabIndex = 7;
|
|
|
|
|
easyLabel.Text = "Простой";
|
|
|
|
|
easyLabel.TextAlign = ContentAlignment.MiddleCenter;
|
|
|
|
|
easyLabel.MouseDown += LableObject_MouseDown;
|
2023-11-28 03:03:58 +04:00
|
|
|
|
//
|
|
|
|
|
// colorGroupBox
|
|
|
|
|
//
|
|
|
|
|
colorGroupBox.Controls.Add(purplePanel);
|
|
|
|
|
colorGroupBox.Controls.Add(blackPanel);
|
|
|
|
|
colorGroupBox.Controls.Add(greyPanel);
|
|
|
|
|
colorGroupBox.Controls.Add(whitePanel);
|
|
|
|
|
colorGroupBox.Controls.Add(yellowPanel);
|
|
|
|
|
colorGroupBox.Controls.Add(bluePanel);
|
|
|
|
|
colorGroupBox.Controls.Add(greenPanel);
|
|
|
|
|
colorGroupBox.Controls.Add(redPanel);
|
|
|
|
|
colorGroupBox.Location = new Point(248, 34);
|
|
|
|
|
colorGroupBox.Name = "colorGroupBox";
|
|
|
|
|
colorGroupBox.Size = new Size(315, 176);
|
|
|
|
|
colorGroupBox.TabIndex = 6;
|
|
|
|
|
colorGroupBox.TabStop = false;
|
|
|
|
|
colorGroupBox.Text = "Цвета";
|
|
|
|
|
//
|
|
|
|
|
// purplePanel
|
|
|
|
|
//
|
|
|
|
|
purplePanel.BackColor = Color.Purple;
|
|
|
|
|
purplePanel.Location = new Point(250, 103);
|
|
|
|
|
purplePanel.Name = "purplePanel";
|
|
|
|
|
purplePanel.Size = new Size(50, 50);
|
|
|
|
|
purplePanel.TabIndex = 3;
|
2023-11-28 03:36:41 +04:00
|
|
|
|
purplePanel.MouseClick += PanelColor_MouseDown;
|
2023-11-28 03:03:58 +04:00
|
|
|
|
//
|
|
|
|
|
// blackPanel
|
|
|
|
|
//
|
|
|
|
|
blackPanel.BackColor = Color.Black;
|
|
|
|
|
blackPanel.Location = new Point(174, 103);
|
|
|
|
|
blackPanel.Name = "blackPanel";
|
|
|
|
|
blackPanel.Size = new Size(50, 50);
|
|
|
|
|
blackPanel.TabIndex = 4;
|
2023-11-28 03:36:41 +04:00
|
|
|
|
blackPanel.MouseClick += PanelColor_MouseDown;
|
2023-11-28 03:03:58 +04:00
|
|
|
|
//
|
|
|
|
|
// greyPanel
|
|
|
|
|
//
|
|
|
|
|
greyPanel.BackColor = Color.Silver;
|
|
|
|
|
greyPanel.Location = new Point(97, 103);
|
|
|
|
|
greyPanel.Name = "greyPanel";
|
|
|
|
|
greyPanel.Size = new Size(50, 50);
|
|
|
|
|
greyPanel.TabIndex = 5;
|
2023-11-28 03:36:41 +04:00
|
|
|
|
greyPanel.MouseClick += PanelColor_MouseDown;
|
2023-11-28 03:03:58 +04:00
|
|
|
|
//
|
|
|
|
|
// whitePanel
|
|
|
|
|
//
|
|
|
|
|
whitePanel.BackColor = Color.White;
|
|
|
|
|
whitePanel.Location = new Point(18, 103);
|
|
|
|
|
whitePanel.Name = "whitePanel";
|
|
|
|
|
whitePanel.Size = new Size(50, 50);
|
|
|
|
|
whitePanel.TabIndex = 2;
|
2023-11-28 03:36:41 +04:00
|
|
|
|
whitePanel.MouseClick += PanelColor_MouseDown;
|
2023-11-28 03:03:58 +04:00
|
|
|
|
//
|
2023-11-28 03:36:41 +04:00
|
|
|
|
// yellowPanel
|
2023-11-28 03:03:58 +04:00
|
|
|
|
//
|
2023-11-28 03:36:41 +04:00
|
|
|
|
yellowPanel.BackColor = Color.Yellow;
|
|
|
|
|
yellowPanel.Location = new Point(250, 37);
|
|
|
|
|
yellowPanel.Name = "yellowPanel";
|
|
|
|
|
yellowPanel.Size = new Size(50, 50);
|
|
|
|
|
yellowPanel.TabIndex = 1;
|
|
|
|
|
yellowPanel.MouseClick += PanelColor_MouseDown;
|
2023-11-28 03:03:58 +04:00
|
|
|
|
//
|
2023-11-28 03:36:41 +04:00
|
|
|
|
// bluePanel
|
2023-11-28 03:03:58 +04:00
|
|
|
|
//
|
2023-11-28 03:36:41 +04:00
|
|
|
|
bluePanel.BackColor = Color.Blue;
|
|
|
|
|
bluePanel.Location = new Point(174, 37);
|
|
|
|
|
bluePanel.Name = "bluePanel";
|
|
|
|
|
bluePanel.Size = new Size(50, 50);
|
|
|
|
|
bluePanel.TabIndex = 1;
|
|
|
|
|
bluePanel.MouseClick += PanelColor_MouseDown;
|
|
|
|
|
//
|
|
|
|
|
// greenPanel
|
|
|
|
|
//
|
|
|
|
|
greenPanel.BackColor = Color.FromArgb(0, 192, 0);
|
|
|
|
|
greenPanel.Location = new Point(97, 37);
|
|
|
|
|
greenPanel.Name = "greenPanel";
|
|
|
|
|
greenPanel.Size = new Size(50, 50);
|
|
|
|
|
greenPanel.TabIndex = 1;
|
|
|
|
|
greenPanel.MouseClick += PanelColor_MouseDown;
|
|
|
|
|
//
|
|
|
|
|
// redPanel
|
|
|
|
|
//
|
|
|
|
|
redPanel.BackColor = Color.Red;
|
|
|
|
|
redPanel.Location = new Point(18, 37);
|
|
|
|
|
redPanel.Name = "redPanel";
|
|
|
|
|
redPanel.Size = new Size(50, 50);
|
|
|
|
|
redPanel.TabIndex = 0;
|
|
|
|
|
redPanel.MouseClick += PanelColor_MouseDown;
|
|
|
|
|
//
|
|
|
|
|
// rocketCheckBox
|
|
|
|
|
//
|
|
|
|
|
rocketCheckBox.AutoSize = true;
|
|
|
|
|
rocketCheckBox.Location = new Point(15, 200);
|
|
|
|
|
rocketCheckBox.Name = "rocketCheckBox";
|
|
|
|
|
rocketCheckBox.Size = new Size(196, 24);
|
|
|
|
|
rocketCheckBox.TabIndex = 5;
|
|
|
|
|
rocketCheckBox.Text = "Признак наличия ракет";
|
|
|
|
|
rocketCheckBox.UseVisualStyleBackColor = true;
|
|
|
|
|
//
|
|
|
|
|
// bakCheckBox
|
|
|
|
|
//
|
|
|
|
|
bakCheckBox.AutoSize = true;
|
|
|
|
|
bakCheckBox.Location = new Point(15, 152);
|
|
|
|
|
bakCheckBox.Name = "bakCheckBox";
|
|
|
|
|
bakCheckBox.Size = new Size(199, 24);
|
|
|
|
|
bakCheckBox.TabIndex = 4;
|
|
|
|
|
bakCheckBox.Text = "Признак наличия баков";
|
|
|
|
|
bakCheckBox.UseVisualStyleBackColor = true;
|
|
|
|
|
//
|
|
|
|
|
// WeightNumericUpDown
|
|
|
|
|
//
|
|
|
|
|
WeightNumericUpDown.Location = new Point(113, 82);
|
|
|
|
|
WeightNumericUpDown.Name = "WeightNumericUpDown";
|
|
|
|
|
WeightNumericUpDown.Size = new Size(83, 27);
|
|
|
|
|
WeightNumericUpDown.TabIndex = 3;
|
|
|
|
|
WeightNumericUpDown.Value = new decimal(new int[] { 100, 0, 0, 0 });
|
|
|
|
|
//
|
|
|
|
|
// SpeedNumericUpDown
|
|
|
|
|
//
|
|
|
|
|
SpeedNumericUpDown.Location = new Point(113, 34);
|
|
|
|
|
SpeedNumericUpDown.Name = "SpeedNumericUpDown";
|
|
|
|
|
SpeedNumericUpDown.Size = new Size(83, 27);
|
|
|
|
|
SpeedNumericUpDown.TabIndex = 2;
|
|
|
|
|
SpeedNumericUpDown.Value = new decimal(new int[] { 100, 0, 0, 0 });
|
|
|
|
|
//
|
|
|
|
|
// weight
|
|
|
|
|
//
|
|
|
|
|
weight.AutoSize = true;
|
|
|
|
|
weight.Location = new Point(15, 84);
|
|
|
|
|
weight.Name = "weight";
|
|
|
|
|
weight.Size = new Size(40, 20);
|
|
|
|
|
weight.TabIndex = 1;
|
|
|
|
|
weight.Text = "Вес: ";
|
|
|
|
|
//
|
|
|
|
|
// speed
|
|
|
|
|
//
|
|
|
|
|
speed.AutoSize = true;
|
|
|
|
|
speed.Location = new Point(15, 41);
|
|
|
|
|
speed.Name = "speed";
|
|
|
|
|
speed.Size = new Size(80, 20);
|
|
|
|
|
speed.TabIndex = 0;
|
|
|
|
|
speed.Text = "Скорость: ";
|
2023-11-28 03:03:58 +04:00
|
|
|
|
//
|
|
|
|
|
// PanelColor
|
|
|
|
|
//
|
|
|
|
|
PanelColor.AllowDrop = true;
|
|
|
|
|
PanelColor.Controls.Add(labelDopColor);
|
|
|
|
|
PanelColor.Controls.Add(labelColor);
|
2023-11-28 03:36:41 +04:00
|
|
|
|
PanelColor.Controls.Add(pictureBoxConfig);
|
2023-11-28 03:03:58 +04:00
|
|
|
|
PanelColor.Location = new Point(654, 12);
|
|
|
|
|
PanelColor.Name = "PanelColor";
|
|
|
|
|
PanelColor.Size = new Size(304, 275);
|
|
|
|
|
PanelColor.TabIndex = 2;
|
2023-11-28 03:36:41 +04:00
|
|
|
|
PanelColor.DragDrop += PanelObject_DragDrop;
|
|
|
|
|
PanelColor.DragEnter += PanelObject_DragEnter;
|
|
|
|
|
PanelColor.MouseDown += PanelColor_MouseDown;
|
2023-11-28 03:03:58 +04:00
|
|
|
|
//
|
2023-11-28 03:36:41 +04:00
|
|
|
|
// labelDopColor
|
2023-11-28 03:03:58 +04:00
|
|
|
|
//
|
2023-11-28 03:36:41 +04:00
|
|
|
|
labelDopColor.BorderStyle = BorderStyle.FixedSingle;
|
|
|
|
|
labelDopColor.Location = new Point(152, 12);
|
|
|
|
|
labelDopColor.Name = "labelDopColor";
|
|
|
|
|
labelDopColor.Size = new Size(144, 34);
|
|
|
|
|
labelDopColor.TabIndex = 2;
|
|
|
|
|
labelDopColor.Text = "Доп. цвет";
|
|
|
|
|
labelDopColor.TextAlign = ContentAlignment.MiddleCenter;
|
|
|
|
|
labelDopColor.DragDrop += labelAddBoxColor_DragDrop;
|
|
|
|
|
labelDopColor.DragEnter += LabelColor_DragEnter;
|
|
|
|
|
labelDopColor.MouseDown += LableObject_MouseDown;
|
2023-11-28 03:03:58 +04:00
|
|
|
|
//
|
|
|
|
|
// labelColor
|
|
|
|
|
//
|
|
|
|
|
labelColor.BorderStyle = BorderStyle.FixedSingle;
|
|
|
|
|
labelColor.Location = new Point(12, 12);
|
|
|
|
|
labelColor.Name = "labelColor";
|
|
|
|
|
labelColor.Size = new Size(134, 34);
|
|
|
|
|
labelColor.TabIndex = 1;
|
|
|
|
|
labelColor.Text = "Цвет";
|
|
|
|
|
labelColor.TextAlign = ContentAlignment.MiddleCenter;
|
2023-11-28 03:36:41 +04:00
|
|
|
|
labelColor.DragDrop += LabelBaseColor_DragDrop;
|
|
|
|
|
labelColor.DragEnter += LabelColor_DragEnter;
|
|
|
|
|
labelColor.MouseDown += LableObject_MouseDown;
|
2023-11-28 03:03:58 +04:00
|
|
|
|
//
|
2023-11-28 03:36:41 +04:00
|
|
|
|
// pictureBoxConfig
|
2023-11-28 03:03:58 +04:00
|
|
|
|
//
|
2023-11-28 03:36:41 +04:00
|
|
|
|
pictureBoxConfig.Location = new Point(12, 54);
|
|
|
|
|
pictureBoxConfig.Name = "pictureBoxConfig";
|
|
|
|
|
pictureBoxConfig.Size = new Size(284, 209);
|
|
|
|
|
pictureBoxConfig.TabIndex = 0;
|
|
|
|
|
pictureBoxConfig.TabStop = false;
|
2023-11-28 03:03:58 +04:00
|
|
|
|
//
|
|
|
|
|
// AddButton
|
|
|
|
|
//
|
|
|
|
|
AddButton.Location = new Point(661, 293);
|
|
|
|
|
AddButton.Name = "AddButton";
|
|
|
|
|
AddButton.Size = new Size(139, 36);
|
|
|
|
|
AddButton.TabIndex = 3;
|
|
|
|
|
AddButton.Text = "Добавить";
|
|
|
|
|
AddButton.UseVisualStyleBackColor = true;
|
2023-11-28 03:36:41 +04:00
|
|
|
|
AddButton.Click += AddButton_Click;
|
2023-11-28 03:03:58 +04:00
|
|
|
|
//
|
|
|
|
|
// buttonStop
|
|
|
|
|
//
|
|
|
|
|
buttonStop.Location = new Point(806, 293);
|
|
|
|
|
buttonStop.Name = "buttonStop";
|
|
|
|
|
buttonStop.Size = new Size(131, 36);
|
|
|
|
|
buttonStop.TabIndex = 4;
|
|
|
|
|
buttonStop.Text = "Отмена";
|
|
|
|
|
buttonStop.UseVisualStyleBackColor = true;
|
|
|
|
|
//
|
|
|
|
|
// FormBomberConfig
|
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
|
|
|
ClientSize = new Size(962, 337);
|
|
|
|
|
Controls.Add(buttonStop);
|
|
|
|
|
Controls.Add(AddButton);
|
|
|
|
|
Controls.Add(PanelColor);
|
|
|
|
|
Controls.Add(groupBox1);
|
|
|
|
|
Name = "FormBomberConfig";
|
|
|
|
|
Text = "FormBomberConfig";
|
|
|
|
|
groupBox1.ResumeLayout(false);
|
|
|
|
|
groupBox1.PerformLayout();
|
|
|
|
|
colorGroupBox.ResumeLayout(false);
|
2023-11-28 03:36:41 +04:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)WeightNumericUpDown).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)SpeedNumericUpDown).EndInit();
|
2023-11-28 03:03:58 +04:00
|
|
|
|
PanelColor.ResumeLayout(false);
|
2023-11-28 03:36:41 +04:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)pictureBoxConfig).EndInit();
|
2023-11-28 03:03:58 +04:00
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private GroupBox groupBox1;
|
|
|
|
|
private Label weight;
|
|
|
|
|
private Label speed;
|
|
|
|
|
private GroupBox colorGroupBox;
|
|
|
|
|
private Panel purplePanel;
|
|
|
|
|
private Panel blackPanel;
|
|
|
|
|
private Panel greyPanel;
|
|
|
|
|
private Panel whitePanel;
|
|
|
|
|
private Panel yellowPanel;
|
|
|
|
|
private Panel bluePanel;
|
|
|
|
|
private Panel greenPanel;
|
|
|
|
|
private Panel redPanel;
|
|
|
|
|
private CheckBox rocketCheckBox;
|
|
|
|
|
private CheckBox bakCheckBox;
|
|
|
|
|
private NumericUpDown WeightNumericUpDown;
|
|
|
|
|
private NumericUpDown SpeedNumericUpDown;
|
|
|
|
|
private Label hardLabel;
|
|
|
|
|
private Label easyLabel;
|
|
|
|
|
private Panel PanelColor;
|
|
|
|
|
private Label labelDopColor;
|
|
|
|
|
private Label labelColor;
|
2023-11-28 03:36:41 +04:00
|
|
|
|
private PictureBox pictureBoxConfig;
|
2023-11-28 03:03:58 +04:00
|
|
|
|
private Button AddButton;
|
|
|
|
|
private Button buttonStop;
|
|
|
|
|
}
|
|
|
|
|
}
|