370 lines
16 KiB
C#
370 lines
16 KiB
C#
|
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()
|
|||
|
{
|
|||
|
ParamsGroupBox = new GroupBox();
|
|||
|
AdvancedEntityLabel = new Label();
|
|||
|
BaseEntityLabel = new Label();
|
|||
|
ColorsGroupBox = new GroupBox();
|
|||
|
VioletPanel = new Panel();
|
|||
|
BlackPanel = new Panel();
|
|||
|
GrayPanel = new Panel();
|
|||
|
WhitePanel = new Panel();
|
|||
|
OrangePanel = new Panel();
|
|||
|
BluePanel = new Panel();
|
|||
|
GreenPanel = new Panel();
|
|||
|
RedPanel = new Panel();
|
|||
|
FuelTanksCheckbox = new CheckBox();
|
|||
|
BombsCheckBox = new CheckBox();
|
|||
|
WeightNumericUpDown = new NumericUpDown();
|
|||
|
SpeedNumericUpDown = new NumericUpDown();
|
|||
|
WeightLabel = new Label();
|
|||
|
SpeedLabel = new Label();
|
|||
|
ObjectRepresentationPanel = new Panel();
|
|||
|
EntityPictureBox = new PictureBox();
|
|||
|
AdditionalColorLabel = new Label();
|
|||
|
ColorLabel = new Label();
|
|||
|
AddButton = new Button();
|
|||
|
ConfigCancelButton = new Button();
|
|||
|
ParamsGroupBox.SuspendLayout();
|
|||
|
ColorsGroupBox.SuspendLayout();
|
|||
|
((System.ComponentModel.ISupportInitialize)WeightNumericUpDown).BeginInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)SpeedNumericUpDown).BeginInit();
|
|||
|
ObjectRepresentationPanel.SuspendLayout();
|
|||
|
((System.ComponentModel.ISupportInitialize)EntityPictureBox).BeginInit();
|
|||
|
SuspendLayout();
|
|||
|
//
|
|||
|
// ParamsGroupBox
|
|||
|
//
|
|||
|
ParamsGroupBox.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left;
|
|||
|
ParamsGroupBox.Controls.Add(AdvancedEntityLabel);
|
|||
|
ParamsGroupBox.Controls.Add(BaseEntityLabel);
|
|||
|
ParamsGroupBox.Controls.Add(ColorsGroupBox);
|
|||
|
ParamsGroupBox.Controls.Add(FuelTanksCheckbox);
|
|||
|
ParamsGroupBox.Controls.Add(BombsCheckBox);
|
|||
|
ParamsGroupBox.Controls.Add(WeightNumericUpDown);
|
|||
|
ParamsGroupBox.Controls.Add(SpeedNumericUpDown);
|
|||
|
ParamsGroupBox.Controls.Add(WeightLabel);
|
|||
|
ParamsGroupBox.Controls.Add(SpeedLabel);
|
|||
|
ParamsGroupBox.Location = new Point(12, 12);
|
|||
|
ParamsGroupBox.Name = "ParamsGroupBox";
|
|||
|
ParamsGroupBox.Size = new Size(555, 343);
|
|||
|
ParamsGroupBox.TabIndex = 0;
|
|||
|
ParamsGroupBox.TabStop = false;
|
|||
|
ParamsGroupBox.Text = "Параметры";
|
|||
|
//
|
|||
|
// AdvancedEntityLabel
|
|||
|
//
|
|||
|
AdvancedEntityLabel.BorderStyle = BorderStyle.FixedSingle;
|
|||
|
AdvancedEntityLabel.Location = new Point(391, 200);
|
|||
|
AdvancedEntityLabel.Name = "AdvancedEntityLabel";
|
|||
|
AdvancedEntityLabel.Size = new Size(110, 40);
|
|||
|
AdvancedEntityLabel.TabIndex = 9;
|
|||
|
AdvancedEntityLabel.Text = "Продвинутый";
|
|||
|
AdvancedEntityLabel.TextAlign = ContentAlignment.MiddleCenter;
|
|||
|
AdvancedEntityLabel.MouseDown += LabelObject_MouseDown;
|
|||
|
//
|
|||
|
// BaseEntityLabel
|
|||
|
//
|
|||
|
BaseEntityLabel.BorderStyle = BorderStyle.FixedSingle;
|
|||
|
BaseEntityLabel.Location = new Point(250, 200);
|
|||
|
BaseEntityLabel.Name = "BaseEntityLabel";
|
|||
|
BaseEntityLabel.Size = new Size(110, 40);
|
|||
|
BaseEntityLabel.TabIndex = 8;
|
|||
|
BaseEntityLabel.Text = "Простой";
|
|||
|
BaseEntityLabel.TextAlign = ContentAlignment.MiddleCenter;
|
|||
|
BaseEntityLabel.MouseDown += LabelObject_MouseDown;
|
|||
|
//
|
|||
|
// ColorsGroupBox
|
|||
|
//
|
|||
|
ColorsGroupBox.Controls.Add(VioletPanel);
|
|||
|
ColorsGroupBox.Controls.Add(BlackPanel);
|
|||
|
ColorsGroupBox.Controls.Add(GrayPanel);
|
|||
|
ColorsGroupBox.Controls.Add(WhitePanel);
|
|||
|
ColorsGroupBox.Controls.Add(OrangePanel);
|
|||
|
ColorsGroupBox.Controls.Add(BluePanel);
|
|||
|
ColorsGroupBox.Controls.Add(GreenPanel);
|
|||
|
ColorsGroupBox.Controls.Add(RedPanel);
|
|||
|
ColorsGroupBox.Location = new Point(235, 22);
|
|||
|
ColorsGroupBox.Name = "ColorsGroupBox";
|
|||
|
ColorsGroupBox.Size = new Size(281, 155);
|
|||
|
ColorsGroupBox.TabIndex = 7;
|
|||
|
ColorsGroupBox.TabStop = false;
|
|||
|
ColorsGroupBox.Text = "Цвета";
|
|||
|
//
|
|||
|
// VioletPanel
|
|||
|
//
|
|||
|
VioletPanel.BackColor = Color.BlueViolet;
|
|||
|
VioletPanel.ForeColor = SystemColors.ControlText;
|
|||
|
VioletPanel.Location = new Point(216, 90);
|
|||
|
VioletPanel.Name = "VioletPanel";
|
|||
|
VioletPanel.Size = new Size(50, 50);
|
|||
|
VioletPanel.TabIndex = 4;
|
|||
|
//
|
|||
|
// BlackPanel
|
|||
|
//
|
|||
|
BlackPanel.BackColor = Color.Black;
|
|||
|
BlackPanel.ForeColor = SystemColors.ControlText;
|
|||
|
BlackPanel.Location = new Point(150, 90);
|
|||
|
BlackPanel.Name = "BlackPanel";
|
|||
|
BlackPanel.Size = new Size(50, 50);
|
|||
|
BlackPanel.TabIndex = 3;
|
|||
|
//
|
|||
|
// GrayPanel
|
|||
|
//
|
|||
|
GrayPanel.BackColor = Color.LightSlateGray;
|
|||
|
GrayPanel.ForeColor = SystemColors.ControlText;
|
|||
|
GrayPanel.Location = new Point(82, 90);
|
|||
|
GrayPanel.Name = "GrayPanel";
|
|||
|
GrayPanel.Size = new Size(50, 50);
|
|||
|
GrayPanel.TabIndex = 2;
|
|||
|
//
|
|||
|
// WhitePanel
|
|||
|
//
|
|||
|
WhitePanel.BackColor = Color.White;
|
|||
|
WhitePanel.ForeColor = SystemColors.ControlText;
|
|||
|
WhitePanel.Location = new Point(15, 90);
|
|||
|
WhitePanel.Name = "WhitePanel";
|
|||
|
WhitePanel.Size = new Size(50, 50);
|
|||
|
WhitePanel.TabIndex = 1;
|
|||
|
//
|
|||
|
// OrangePanel
|
|||
|
//
|
|||
|
OrangePanel.BackColor = Color.Orange;
|
|||
|
OrangePanel.ForeColor = SystemColors.ControlText;
|
|||
|
OrangePanel.Location = new Point(216, 22);
|
|||
|
OrangePanel.Name = "OrangePanel";
|
|||
|
OrangePanel.Size = new Size(50, 50);
|
|||
|
OrangePanel.TabIndex = 3;
|
|||
|
//
|
|||
|
// BluePanel
|
|||
|
//
|
|||
|
BluePanel.BackColor = Color.RoyalBlue;
|
|||
|
BluePanel.ForeColor = SystemColors.ControlText;
|
|||
|
BluePanel.Location = new Point(150, 22);
|
|||
|
BluePanel.Name = "BluePanel";
|
|||
|
BluePanel.Size = new Size(50, 50);
|
|||
|
BluePanel.TabIndex = 2;
|
|||
|
//
|
|||
|
// GreenPanel
|
|||
|
//
|
|||
|
GreenPanel.BackColor = Color.Green;
|
|||
|
GreenPanel.ForeColor = SystemColors.ControlText;
|
|||
|
GreenPanel.Location = new Point(82, 22);
|
|||
|
GreenPanel.Name = "GreenPanel";
|
|||
|
GreenPanel.Size = new Size(50, 50);
|
|||
|
GreenPanel.TabIndex = 1;
|
|||
|
//
|
|||
|
// RedPanel
|
|||
|
//
|
|||
|
RedPanel.BackColor = Color.Red;
|
|||
|
RedPanel.ForeColor = SystemColors.ControlText;
|
|||
|
RedPanel.Location = new Point(15, 22);
|
|||
|
RedPanel.Name = "RedPanel";
|
|||
|
RedPanel.Size = new Size(50, 50);
|
|||
|
RedPanel.TabIndex = 0;
|
|||
|
//
|
|||
|
// FuelTanksCheckbox
|
|||
|
//
|
|||
|
FuelTanksCheckbox.AutoSize = true;
|
|||
|
FuelTanksCheckbox.Location = new Point(20, 158);
|
|||
|
FuelTanksCheckbox.Name = "FuelTanksCheckbox";
|
|||
|
FuelTanksCheckbox.Size = new Size(174, 19);
|
|||
|
FuelTanksCheckbox.TabIndex = 5;
|
|||
|
FuelTanksCheckbox.Text = "Наличие топливных баков";
|
|||
|
FuelTanksCheckbox.UseVisualStyleBackColor = true;
|
|||
|
//
|
|||
|
// BombsCheckBox
|
|||
|
//
|
|||
|
BombsCheckBox.AutoSize = true;
|
|||
|
BombsCheckBox.Location = new Point(20, 123);
|
|||
|
BombsCheckBox.Name = "BombsCheckBox";
|
|||
|
BombsCheckBox.Size = new Size(108, 19);
|
|||
|
BombsCheckBox.TabIndex = 4;
|
|||
|
BombsCheckBox.Text = "Наличие бомб";
|
|||
|
BombsCheckBox.UseVisualStyleBackColor = true;
|
|||
|
//
|
|||
|
// WeightNumericUpDown
|
|||
|
//
|
|||
|
WeightNumericUpDown.Location = new Point(88, 71);
|
|||
|
WeightNumericUpDown.Maximum = new decimal(new int[] { 1000, 0, 0, 0 });
|
|||
|
WeightNumericUpDown.Minimum = new decimal(new int[] { 100, 0, 0, 0 });
|
|||
|
WeightNumericUpDown.Name = "WeightNumericUpDown";
|
|||
|
WeightNumericUpDown.Size = new Size(120, 23);
|
|||
|
WeightNumericUpDown.TabIndex = 3;
|
|||
|
WeightNumericUpDown.Value = new decimal(new int[] { 100, 0, 0, 0 });
|
|||
|
//
|
|||
|
// SpeedNumericUpDown
|
|||
|
//
|
|||
|
SpeedNumericUpDown.Location = new Point(88, 32);
|
|||
|
SpeedNumericUpDown.Maximum = new decimal(new int[] { 1000, 0, 0, 0 });
|
|||
|
SpeedNumericUpDown.Minimum = new decimal(new int[] { 100, 0, 0, 0 });
|
|||
|
SpeedNumericUpDown.Name = "SpeedNumericUpDown";
|
|||
|
SpeedNumericUpDown.Size = new Size(120, 23);
|
|||
|
SpeedNumericUpDown.TabIndex = 2;
|
|||
|
SpeedNumericUpDown.Value = new decimal(new int[] { 100, 0, 0, 0 });
|
|||
|
//
|
|||
|
// WeightLabel
|
|||
|
//
|
|||
|
WeightLabel.AutoSize = true;
|
|||
|
WeightLabel.Location = new Point(20, 73);
|
|||
|
WeightLabel.Name = "WeightLabel";
|
|||
|
WeightLabel.Size = new Size(29, 15);
|
|||
|
WeightLabel.TabIndex = 1;
|
|||
|
WeightLabel.Text = "Вес:";
|
|||
|
//
|
|||
|
// SpeedLabel
|
|||
|
//
|
|||
|
SpeedLabel.AutoSize = true;
|
|||
|
SpeedLabel.Location = new Point(20, 34);
|
|||
|
SpeedLabel.Name = "SpeedLabel";
|
|||
|
SpeedLabel.Size = new Size(62, 15);
|
|||
|
SpeedLabel.TabIndex = 0;
|
|||
|
SpeedLabel.Text = "Скорость:";
|
|||
|
//
|
|||
|
// ObjectRepresentationPanel
|
|||
|
//
|
|||
|
ObjectRepresentationPanel.AllowDrop = true;
|
|||
|
ObjectRepresentationPanel.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|||
|
ObjectRepresentationPanel.Controls.Add(EntityPictureBox);
|
|||
|
ObjectRepresentationPanel.Controls.Add(AdditionalColorLabel);
|
|||
|
ObjectRepresentationPanel.Controls.Add(ColorLabel);
|
|||
|
ObjectRepresentationPanel.Location = new Point(582, 12);
|
|||
|
ObjectRepresentationPanel.Name = "ObjectRepresentationPanel";
|
|||
|
ObjectRepresentationPanel.Size = new Size(311, 307);
|
|||
|
ObjectRepresentationPanel.TabIndex = 1;
|
|||
|
ObjectRepresentationPanel.DragDrop += PanelObject_DragDrop;
|
|||
|
ObjectRepresentationPanel.DragEnter += PanelObject_DragEnter;
|
|||
|
//
|
|||
|
// EntityPictureBox
|
|||
|
//
|
|||
|
EntityPictureBox.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|||
|
EntityPictureBox.Location = new Point(13, 52);
|
|||
|
EntityPictureBox.Name = "EntityPictureBox";
|
|||
|
EntityPictureBox.Size = new Size(283, 252);
|
|||
|
EntityPictureBox.TabIndex = 2;
|
|||
|
EntityPictureBox.TabStop = false;
|
|||
|
//
|
|||
|
// AdditionalColorLabel
|
|||
|
//
|
|||
|
AdditionalColorLabel.AllowDrop = true;
|
|||
|
AdditionalColorLabel.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
|||
|
AdditionalColorLabel.BorderStyle = BorderStyle.FixedSingle;
|
|||
|
AdditionalColorLabel.Location = new Point(180, 12);
|
|||
|
AdditionalColorLabel.Name = "AdditionalColorLabel";
|
|||
|
AdditionalColorLabel.Size = new Size(115, 35);
|
|||
|
AdditionalColorLabel.TabIndex = 1;
|
|||
|
AdditionalColorLabel.Text = "Доп цвет";
|
|||
|
AdditionalColorLabel.TextAlign = ContentAlignment.MiddleCenter;
|
|||
|
AdditionalColorLabel.DragDrop += LabelAdditionalColor_DragDrop;
|
|||
|
AdditionalColorLabel.DragEnter += LabelColor_DragEnter;
|
|||
|
//
|
|||
|
// ColorLabel
|
|||
|
//
|
|||
|
ColorLabel.AllowDrop = true;
|
|||
|
ColorLabel.BorderStyle = BorderStyle.FixedSingle;
|
|||
|
ColorLabel.Location = new Point(13, 12);
|
|||
|
ColorLabel.Name = "ColorLabel";
|
|||
|
ColorLabel.Size = new Size(115, 35);
|
|||
|
ColorLabel.TabIndex = 0;
|
|||
|
ColorLabel.Text = "Цвет";
|
|||
|
ColorLabel.TextAlign = ContentAlignment.MiddleCenter;
|
|||
|
ColorLabel.DragDrop += LabelBaseColor_DragDrop;
|
|||
|
ColorLabel.DragEnter += LabelColor_DragEnter;
|
|||
|
//
|
|||
|
// AddButton
|
|||
|
//
|
|||
|
AddButton.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
|
|||
|
AddButton.Location = new Point(607, 325);
|
|||
|
AddButton.Name = "AddButton";
|
|||
|
AddButton.Size = new Size(104, 30);
|
|||
|
AddButton.TabIndex = 2;
|
|||
|
AddButton.Text = "Добавить";
|
|||
|
AddButton.UseVisualStyleBackColor = true;
|
|||
|
AddButton.Click += OkButtonClick;
|
|||
|
//
|
|||
|
// ConfigCancelButton
|
|||
|
//
|
|||
|
ConfigCancelButton.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|||
|
ConfigCancelButton.Location = new Point(764, 325);
|
|||
|
ConfigCancelButton.Name = "ConfigCancelButton";
|
|||
|
ConfigCancelButton.Size = new Size(100, 30);
|
|||
|
ConfigCancelButton.TabIndex = 3;
|
|||
|
ConfigCancelButton.Text = "Отмена";
|
|||
|
ConfigCancelButton.UseVisualStyleBackColor = true;
|
|||
|
//
|
|||
|
// FormBomberConfig
|
|||
|
//
|
|||
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|||
|
AutoScaleMode = AutoScaleMode.Font;
|
|||
|
ClientSize = new Size(905, 367);
|
|||
|
Controls.Add(ConfigCancelButton);
|
|||
|
Controls.Add(AddButton);
|
|||
|
Controls.Add(ObjectRepresentationPanel);
|
|||
|
Controls.Add(ParamsGroupBox);
|
|||
|
Name = "FormBomberConfig";
|
|||
|
Text = "Создание объекта";
|
|||
|
ParamsGroupBox.ResumeLayout(false);
|
|||
|
ParamsGroupBox.PerformLayout();
|
|||
|
ColorsGroupBox.ResumeLayout(false);
|
|||
|
((System.ComponentModel.ISupportInitialize)WeightNumericUpDown).EndInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)SpeedNumericUpDown).EndInit();
|
|||
|
ObjectRepresentationPanel.ResumeLayout(false);
|
|||
|
((System.ComponentModel.ISupportInitialize)EntityPictureBox).EndInit();
|
|||
|
ResumeLayout(false);
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
private GroupBox ParamsGroupBox;
|
|||
|
private GroupBox ColorsGroupBox;
|
|||
|
private Panel RedPanel;
|
|||
|
private CheckBox FuelTanksCheckbox;
|
|||
|
private CheckBox BombsCheckBox;
|
|||
|
private NumericUpDown WeightNumericUpDown;
|
|||
|
private NumericUpDown SpeedNumericUpDown;
|
|||
|
private Label WeightLabel;
|
|||
|
private Label SpeedLabel;
|
|||
|
private Panel ObjectRepresentationPanel;
|
|||
|
private PictureBox EntityPictureBox;
|
|||
|
private Label AdditionalColorLabel;
|
|||
|
private Label ColorLabel;
|
|||
|
private Button AddButton;
|
|||
|
private Panel OrangePanel;
|
|||
|
private Panel BluePanel;
|
|||
|
private Panel GreenPanel;
|
|||
|
private Label AdvancedEntityLabel;
|
|||
|
private Label BaseEntityLabel;
|
|||
|
private Panel VioletPanel;
|
|||
|
private Panel BlackPanel;
|
|||
|
private Panel GrayPanel;
|
|||
|
private Panel WhitePanel;
|
|||
|
private Button ConfigCancelButton;
|
|||
|
}
|
|||
|
}
|