357 lines
15 KiB
C#
357 lines
15 KiB
C#
namespace ProjectElectricLocomotive
|
||
{
|
||
partial class FormElectricLocomotiveConfig
|
||
{
|
||
/// <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()
|
||
{
|
||
groupBoxConfig = new GroupBox();
|
||
groupBoxColors = new GroupBox();
|
||
panelPurple = new Panel();
|
||
panelBlack = new Panel();
|
||
panelGray = new Panel();
|
||
panelYellow = new Panel();
|
||
panelBlue = new Panel();
|
||
panelGreen = new Panel();
|
||
panelWhite = new Panel();
|
||
panelRed = new Panel();
|
||
checkBoxBatteryStorage = new CheckBox();
|
||
checkBoxPantograph = new CheckBox();
|
||
numericUpDownWeight = new NumericUpDown();
|
||
labelWeight = new Label();
|
||
numericUpDownSpeed = new NumericUpDown();
|
||
labelSpeed = new Label();
|
||
labelModifiedObject = new Label();
|
||
labelSimpleObject = new Label();
|
||
pictureBoxObject = new PictureBox();
|
||
buttonAdd = new Button();
|
||
buttonCancel = new Button();
|
||
panelObject = new Panel();
|
||
labelAdditionalColor = new Label();
|
||
labelBodyColor = new Label();
|
||
groupBoxConfig.SuspendLayout();
|
||
groupBoxColors.SuspendLayout();
|
||
((System.ComponentModel.ISupportInitialize)numericUpDownWeight).BeginInit();
|
||
((System.ComponentModel.ISupportInitialize)numericUpDownSpeed).BeginInit();
|
||
((System.ComponentModel.ISupportInitialize)pictureBoxObject).BeginInit();
|
||
panelObject.SuspendLayout();
|
||
SuspendLayout();
|
||
//
|
||
// groupBoxConfig
|
||
//
|
||
groupBoxConfig.Controls.Add(groupBoxColors);
|
||
groupBoxConfig.Controls.Add(checkBoxBatteryStorage);
|
||
groupBoxConfig.Controls.Add(checkBoxPantograph);
|
||
groupBoxConfig.Controls.Add(numericUpDownWeight);
|
||
groupBoxConfig.Controls.Add(labelWeight);
|
||
groupBoxConfig.Controls.Add(numericUpDownSpeed);
|
||
groupBoxConfig.Controls.Add(labelSpeed);
|
||
groupBoxConfig.Controls.Add(labelModifiedObject);
|
||
groupBoxConfig.Controls.Add(labelSimpleObject);
|
||
groupBoxConfig.Dock = DockStyle.Left;
|
||
groupBoxConfig.Location = new Point(0, 0);
|
||
groupBoxConfig.Name = "groupBoxConfig";
|
||
groupBoxConfig.Size = new Size(458, 450);
|
||
groupBoxConfig.TabIndex = 0;
|
||
groupBoxConfig.TabStop = false;
|
||
groupBoxConfig.Text = "Параметры";
|
||
//
|
||
// groupBoxColors
|
||
//
|
||
groupBoxColors.Controls.Add(panelPurple);
|
||
groupBoxColors.Controls.Add(panelBlack);
|
||
groupBoxColors.Controls.Add(panelGray);
|
||
groupBoxColors.Controls.Add(panelYellow);
|
||
groupBoxColors.Controls.Add(panelBlue);
|
||
groupBoxColors.Controls.Add(panelGreen);
|
||
groupBoxColors.Controls.Add(panelWhite);
|
||
groupBoxColors.Controls.Add(panelRed);
|
||
groupBoxColors.Location = new Point(192, 37);
|
||
groupBoxColors.Name = "groupBoxColors";
|
||
groupBoxColors.Size = new Size(230, 150);
|
||
groupBoxColors.TabIndex = 8;
|
||
groupBoxColors.TabStop = false;
|
||
groupBoxColors.Text = "Цвета";
|
||
//
|
||
// panelPurple
|
||
//
|
||
panelPurple.BackColor = Color.Purple;
|
||
panelPurple.Location = new Point(168, 79);
|
||
panelPurple.Name = "panelPurple";
|
||
panelPurple.Size = new Size(48, 47);
|
||
panelPurple.TabIndex = 10;
|
||
//
|
||
// panelBlack
|
||
//
|
||
panelBlack.BackColor = Color.Black;
|
||
panelBlack.Location = new Point(115, 79);
|
||
panelBlack.Name = "panelBlack";
|
||
panelBlack.Size = new Size(48, 47);
|
||
panelBlack.TabIndex = 13;
|
||
//
|
||
// panelGray
|
||
//
|
||
panelGray.BackColor = Color.Gray;
|
||
panelGray.Location = new Point(60, 79);
|
||
panelGray.Name = "panelGray";
|
||
panelGray.Size = new Size(48, 47);
|
||
panelGray.TabIndex = 12;
|
||
//
|
||
// panelYellow
|
||
//
|
||
panelYellow.BackColor = Color.Yellow;
|
||
panelYellow.Location = new Point(168, 26);
|
||
panelYellow.Name = "panelYellow";
|
||
panelYellow.Size = new Size(48, 47);
|
||
panelYellow.TabIndex = 10;
|
||
//
|
||
// panelBlue
|
||
//
|
||
panelBlue.BackColor = Color.Blue;
|
||
panelBlue.Location = new Point(114, 26);
|
||
panelBlue.Name = "panelBlue";
|
||
panelBlue.Size = new Size(48, 47);
|
||
panelBlue.TabIndex = 10;
|
||
//
|
||
// panelGreen
|
||
//
|
||
panelGreen.BackColor = Color.Green;
|
||
panelGreen.Location = new Point(60, 26);
|
||
panelGreen.Name = "panelGreen";
|
||
panelGreen.Size = new Size(48, 47);
|
||
panelGreen.TabIndex = 11;
|
||
//
|
||
// panelWhite
|
||
//
|
||
panelWhite.BackColor = Color.White;
|
||
panelWhite.Location = new Point(6, 79);
|
||
panelWhite.Name = "panelWhite";
|
||
panelWhite.Size = new Size(48, 47);
|
||
panelWhite.TabIndex = 10;
|
||
//
|
||
// panelRed
|
||
//
|
||
panelRed.BackColor = Color.Red;
|
||
panelRed.Location = new Point(6, 26);
|
||
panelRed.Name = "panelRed";
|
||
panelRed.Size = new Size(48, 47);
|
||
panelRed.TabIndex = 9;
|
||
//
|
||
// checkBoxBatteryStorage
|
||
//
|
||
checkBoxBatteryStorage.AutoSize = true;
|
||
checkBoxBatteryStorage.Location = new Point(6, 193);
|
||
checkBoxBatteryStorage.Name = "checkBoxBatteryStorage";
|
||
checkBoxBatteryStorage.Size = new Size(349, 29);
|
||
checkBoxBatteryStorage.TabIndex = 7;
|
||
checkBoxBatteryStorage.Text = "Признак наличия отсека под батареи";
|
||
checkBoxBatteryStorage.UseVisualStyleBackColor = true;
|
||
//
|
||
// checkBoxPantograph
|
||
//
|
||
checkBoxPantograph.AutoSize = true;
|
||
checkBoxPantograph.Location = new Point(6, 158);
|
||
checkBoxPantograph.Name = "checkBoxPantograph";
|
||
checkBoxPantograph.Size = new Size(177, 29);
|
||
checkBoxPantograph.TabIndex = 6;
|
||
checkBoxPantograph.Text = "Признак \"рогов\"";
|
||
checkBoxPantograph.UseVisualStyleBackColor = true;
|
||
//
|
||
// numericUpDownWeight
|
||
//
|
||
numericUpDownWeight.Location = new Point(105, 79);
|
||
numericUpDownWeight.Maximum = new decimal(new int[] { 1000, 0, 0, 0 });
|
||
numericUpDownWeight.Minimum = new decimal(new int[] { 100, 0, 0, 0 });
|
||
numericUpDownWeight.Name = "numericUpDownWeight";
|
||
numericUpDownWeight.Size = new Size(81, 31);
|
||
numericUpDownWeight.TabIndex = 5;
|
||
numericUpDownWeight.Value = new decimal(new int[] { 100, 0, 0, 0 });
|
||
//
|
||
// labelWeight
|
||
//
|
||
labelWeight.AutoSize = true;
|
||
labelWeight.Location = new Point(6, 79);
|
||
labelWeight.Name = "labelWeight";
|
||
labelWeight.Size = new Size(43, 25);
|
||
labelWeight.TabIndex = 4;
|
||
labelWeight.Text = "Вес:";
|
||
//
|
||
// numericUpDownSpeed
|
||
//
|
||
numericUpDownSpeed.Location = new Point(105, 37);
|
||
numericUpDownSpeed.Maximum = new decimal(new int[] { 1000, 0, 0, 0 });
|
||
numericUpDownSpeed.Minimum = new decimal(new int[] { 100, 0, 0, 0 });
|
||
numericUpDownSpeed.Name = "numericUpDownSpeed";
|
||
numericUpDownSpeed.Size = new Size(81, 31);
|
||
numericUpDownSpeed.TabIndex = 3;
|
||
numericUpDownSpeed.Value = new decimal(new int[] { 100, 0, 0, 0 });
|
||
//
|
||
// labelSpeed
|
||
//
|
||
labelSpeed.AutoSize = true;
|
||
labelSpeed.Location = new Point(6, 37);
|
||
labelSpeed.Name = "labelSpeed";
|
||
labelSpeed.Size = new Size(93, 25);
|
||
labelSpeed.TabIndex = 2;
|
||
labelSpeed.Text = "Скорость:";
|
||
//
|
||
// labelModifiedObject
|
||
//
|
||
labelModifiedObject.BorderStyle = BorderStyle.FixedSingle;
|
||
labelModifiedObject.Location = new Point(143, 222);
|
||
labelModifiedObject.Name = "labelModifiedObject";
|
||
labelModifiedObject.Size = new Size(144, 72);
|
||
labelModifiedObject.TabIndex = 1;
|
||
labelModifiedObject.Text = "Продвинутый объект";
|
||
labelModifiedObject.TextAlign = ContentAlignment.MiddleCenter;
|
||
labelModifiedObject.MouseDown += labelSimpleObject_MouseDown;
|
||
//
|
||
// labelSimpleObject
|
||
//
|
||
labelSimpleObject.BorderStyle = BorderStyle.FixedSingle;
|
||
labelSimpleObject.Location = new Point(6, 222);
|
||
labelSimpleObject.Name = "labelSimpleObject";
|
||
labelSimpleObject.Size = new Size(131, 72);
|
||
labelSimpleObject.TabIndex = 0;
|
||
labelSimpleObject.Text = "Простой объект";
|
||
labelSimpleObject.TextAlign = ContentAlignment.MiddleCenter;
|
||
labelSimpleObject.MouseDown += labelSimpleObject_MouseDown;
|
||
//
|
||
// pictureBoxObject
|
||
//
|
||
pictureBoxObject.Location = new Point(9, 67);
|
||
pictureBoxObject.Name = "pictureBoxObject";
|
||
pictureBoxObject.Size = new Size(298, 172);
|
||
pictureBoxObject.TabIndex = 9;
|
||
pictureBoxObject.TabStop = false;
|
||
//
|
||
// buttonAdd
|
||
//
|
||
buttonAdd.Location = new Point(473, 283);
|
||
buttonAdd.Name = "buttonAdd";
|
||
buttonAdd.Size = new Size(112, 34);
|
||
buttonAdd.TabIndex = 10;
|
||
buttonAdd.Text = "Добавить";
|
||
buttonAdd.UseVisualStyleBackColor = true;
|
||
buttonAdd.Click += buttonAdd_Click;
|
||
//
|
||
// buttonCancel
|
||
//
|
||
buttonCancel.Location = new Point(662, 283);
|
||
buttonCancel.Name = "buttonCancel";
|
||
buttonCancel.Size = new Size(112, 34);
|
||
buttonCancel.TabIndex = 11;
|
||
buttonCancel.Text = "Отмена";
|
||
buttonCancel.UseVisualStyleBackColor = true;
|
||
//
|
||
// panelObject
|
||
//
|
||
panelObject.AllowDrop = true;
|
||
panelObject.Controls.Add(labelAdditionalColor);
|
||
panelObject.Controls.Add(pictureBoxObject);
|
||
panelObject.Controls.Add(labelBodyColor);
|
||
panelObject.Location = new Point(464, 12);
|
||
panelObject.Name = "panelObject";
|
||
panelObject.Size = new Size(310, 265);
|
||
panelObject.TabIndex = 9;
|
||
panelObject.DragDrop += panelObject_DragDrop;
|
||
panelObject.DragEnter += panelObject_DragEnter;
|
||
//
|
||
// labelAdditionalColor
|
||
//
|
||
labelAdditionalColor.AllowDrop = true;
|
||
labelAdditionalColor.BorderStyle = BorderStyle.FixedSingle;
|
||
labelAdditionalColor.Location = new Point(198, 15);
|
||
labelAdditionalColor.Name = "labelAdditionalColor";
|
||
labelAdditionalColor.Size = new Size(99, 35);
|
||
labelAdditionalColor.TabIndex = 12;
|
||
labelAdditionalColor.Text = "Доп. цвет";
|
||
labelAdditionalColor.TextAlign = ContentAlignment.MiddleCenter;
|
||
labelAdditionalColor.DragDrop += labelAdditionalColor_DragDrop;
|
||
labelAdditionalColor.DragEnter += labelAdditionalColor_DragEnter;
|
||
//
|
||
// labelBodyColor
|
||
//
|
||
labelBodyColor.AllowDrop = true;
|
||
labelBodyColor.BorderStyle = BorderStyle.FixedSingle;
|
||
labelBodyColor.Location = new Point(9, 15);
|
||
labelBodyColor.Name = "labelBodyColor";
|
||
labelBodyColor.Size = new Size(99, 35);
|
||
labelBodyColor.TabIndex = 9;
|
||
labelBodyColor.Text = "Цвет";
|
||
labelBodyColor.TextAlign = ContentAlignment.MiddleCenter;
|
||
labelBodyColor.DragDrop += labelBodyColor_DragDrop;
|
||
labelBodyColor.DragEnter += labelBodyColor_DragEnter;
|
||
//
|
||
// FormElectricLocomotiveConfig
|
||
//
|
||
AutoScaleDimensions = new SizeF(10F, 25F);
|
||
AutoScaleMode = AutoScaleMode.Font;
|
||
ClientSize = new Size(800, 450);
|
||
Controls.Add(panelObject);
|
||
Controls.Add(buttonCancel);
|
||
Controls.Add(buttonAdd);
|
||
Controls.Add(groupBoxConfig);
|
||
Name = "FormElectricLocomotiveConfig";
|
||
Text = "Создание объекта";
|
||
groupBoxConfig.ResumeLayout(false);
|
||
groupBoxConfig.PerformLayout();
|
||
groupBoxColors.ResumeLayout(false);
|
||
((System.ComponentModel.ISupportInitialize)numericUpDownWeight).EndInit();
|
||
((System.ComponentModel.ISupportInitialize)numericUpDownSpeed).EndInit();
|
||
((System.ComponentModel.ISupportInitialize)pictureBoxObject).EndInit();
|
||
panelObject.ResumeLayout(false);
|
||
ResumeLayout(false);
|
||
}
|
||
|
||
#endregion
|
||
|
||
private GroupBox groupBoxConfig;
|
||
private Label labelModifiedObject;
|
||
private Label labelSimpleObject;
|
||
private NumericUpDown numericUpDownWeight;
|
||
private Label labelWeight;
|
||
private NumericUpDown numericUpDownSpeed;
|
||
private Label labelSpeed;
|
||
private CheckBox checkBoxPantograph;
|
||
private CheckBox checkBoxBatteryStorage;
|
||
private GroupBox groupBoxColors;
|
||
private Panel panelPurple;
|
||
private Panel panelBlack;
|
||
private Panel panelGray;
|
||
private Panel panelYellow;
|
||
private Panel panelBlue;
|
||
private Panel panelGreen;
|
||
private Panel panelWhite;
|
||
private Panel panelRed;
|
||
private PictureBox pictureBoxObject;
|
||
private Button buttonAdd;
|
||
private Button buttonCancel;
|
||
private Panel panelObject;
|
||
private Label labelAdditionalColor;
|
||
private Label labelBodyColor;
|
||
}
|
||
} |