384 lines
16 KiB
C#
384 lines
16 KiB
C#
|
namespace ProjectMonorail
|
|||
|
{
|
|||
|
partial class FormTrainConfig
|
|||
|
{
|
|||
|
/// <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();
|
|||
|
panelYellow = new Panel();
|
|||
|
panelBlack = new Panel();
|
|||
|
panelBlue = new Panel();
|
|||
|
panelGray = new Panel();
|
|||
|
panelGreen = new Panel();
|
|||
|
panelWhite = new Panel();
|
|||
|
panelRed = new Panel();
|
|||
|
numericUpDownWheels = new NumericUpDown();
|
|||
|
labelWheels = new Label();
|
|||
|
checkBoxSecondСarriage = new CheckBox();
|
|||
|
checkBoxRail = 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();
|
|||
|
labelMainColor = new Label();
|
|||
|
groupBoxConfig.SuspendLayout();
|
|||
|
groupBoxColors.SuspendLayout();
|
|||
|
((System.ComponentModel.ISupportInitialize)numericUpDownWheels).BeginInit();
|
|||
|
((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(numericUpDownWheels);
|
|||
|
groupBoxConfig.Controls.Add(labelWheels);
|
|||
|
groupBoxConfig.Controls.Add(checkBoxSecondСarriage);
|
|||
|
groupBoxConfig.Controls.Add(checkBoxRail);
|
|||
|
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(599, 272);
|
|||
|
groupBoxConfig.TabIndex = 0;
|
|||
|
groupBoxConfig.TabStop = false;
|
|||
|
groupBoxConfig.Text = "Параметры";
|
|||
|
//
|
|||
|
// groupBoxColors
|
|||
|
//
|
|||
|
groupBoxColors.Controls.Add(panelPurple);
|
|||
|
groupBoxColors.Controls.Add(panelYellow);
|
|||
|
groupBoxColors.Controls.Add(panelBlack);
|
|||
|
groupBoxColors.Controls.Add(panelBlue);
|
|||
|
groupBoxColors.Controls.Add(panelGray);
|
|||
|
groupBoxColors.Controls.Add(panelGreen);
|
|||
|
groupBoxColors.Controls.Add(panelWhite);
|
|||
|
groupBoxColors.Controls.Add(panelRed);
|
|||
|
groupBoxColors.Location = new Point(298, 30);
|
|||
|
groupBoxColors.Name = "groupBoxColors";
|
|||
|
groupBoxColors.Size = new Size(274, 137);
|
|||
|
groupBoxColors.TabIndex = 11;
|
|||
|
groupBoxColors.TabStop = false;
|
|||
|
groupBoxColors.Text = "Цвета";
|
|||
|
//
|
|||
|
// panelPurple
|
|||
|
//
|
|||
|
panelPurple.BackColor = Color.Purple;
|
|||
|
panelPurple.Location = new Point(215, 80);
|
|||
|
panelPurple.Name = "panelPurple";
|
|||
|
panelPurple.Size = new Size(42, 42);
|
|||
|
panelPurple.TabIndex = 7;
|
|||
|
//
|
|||
|
// panelYellow
|
|||
|
//
|
|||
|
panelYellow.BackColor = Color.Yellow;
|
|||
|
panelYellow.Location = new Point(215, 22);
|
|||
|
panelYellow.Name = "panelYellow";
|
|||
|
panelYellow.Size = new Size(42, 42);
|
|||
|
panelYellow.TabIndex = 3;
|
|||
|
//
|
|||
|
// panelBlack
|
|||
|
//
|
|||
|
panelBlack.BackColor = Color.Black;
|
|||
|
panelBlack.Location = new Point(149, 80);
|
|||
|
panelBlack.Name = "panelBlack";
|
|||
|
panelBlack.Size = new Size(42, 42);
|
|||
|
panelBlack.TabIndex = 6;
|
|||
|
//
|
|||
|
// panelBlue
|
|||
|
//
|
|||
|
panelBlue.BackColor = Color.Blue;
|
|||
|
panelBlue.Location = new Point(149, 22);
|
|||
|
panelBlue.Name = "panelBlue";
|
|||
|
panelBlue.Size = new Size(42, 42);
|
|||
|
panelBlue.TabIndex = 2;
|
|||
|
//
|
|||
|
// panelGray
|
|||
|
//
|
|||
|
panelGray.BackColor = Color.Gray;
|
|||
|
panelGray.Location = new Point(83, 80);
|
|||
|
panelGray.Name = "panelGray";
|
|||
|
panelGray.Size = new Size(42, 42);
|
|||
|
panelGray.TabIndex = 5;
|
|||
|
//
|
|||
|
// panelGreen
|
|||
|
//
|
|||
|
panelGreen.BackColor = Color.Green;
|
|||
|
panelGreen.Location = new Point(83, 22);
|
|||
|
panelGreen.Name = "panelGreen";
|
|||
|
panelGreen.Size = new Size(42, 42);
|
|||
|
panelGreen.TabIndex = 1;
|
|||
|
//
|
|||
|
// panelWhite
|
|||
|
//
|
|||
|
panelWhite.BackColor = Color.White;
|
|||
|
panelWhite.Location = new Point(23, 80);
|
|||
|
panelWhite.Name = "panelWhite";
|
|||
|
panelWhite.Size = new Size(42, 42);
|
|||
|
panelWhite.TabIndex = 4;
|
|||
|
//
|
|||
|
// panelRed
|
|||
|
//
|
|||
|
panelRed.BackColor = Color.Red;
|
|||
|
panelRed.Location = new Point(23, 22);
|
|||
|
panelRed.Name = "panelRed";
|
|||
|
panelRed.Size = new Size(42, 42);
|
|||
|
panelRed.TabIndex = 0;
|
|||
|
//
|
|||
|
// numericUpDownWheels
|
|||
|
//
|
|||
|
numericUpDownWheels.Location = new Point(128, 110);
|
|||
|
numericUpDownWheels.Maximum = new decimal(new int[] { 4, 0, 0, 0 });
|
|||
|
numericUpDownWheels.Minimum = new decimal(new int[] { 2, 0, 0, 0 });
|
|||
|
numericUpDownWheels.Name = "numericUpDownWheels";
|
|||
|
numericUpDownWheels.Size = new Size(87, 23);
|
|||
|
numericUpDownWheels.TabIndex = 10;
|
|||
|
numericUpDownWheels.Value = new decimal(new int[] { 2, 0, 0, 0 });
|
|||
|
//
|
|||
|
// labelWheels
|
|||
|
//
|
|||
|
labelWheels.AutoSize = true;
|
|||
|
labelWheels.Location = new Point(12, 118);
|
|||
|
labelWheels.Name = "labelWheels";
|
|||
|
labelWheels.Size = new Size(110, 15);
|
|||
|
labelWheels.TabIndex = 9;
|
|||
|
labelWheels.Text = "Количество колёс:";
|
|||
|
//
|
|||
|
// checkBoxSecondСarriage
|
|||
|
//
|
|||
|
checkBoxSecondСarriage.AutoSize = true;
|
|||
|
checkBoxSecondСarriage.Location = new Point(12, 201);
|
|||
|
checkBoxSecondСarriage.Name = "checkBoxSecondСarriage";
|
|||
|
checkBoxSecondСarriage.Size = new Size(213, 19);
|
|||
|
checkBoxSecondСarriage.TabIndex = 8;
|
|||
|
checkBoxSecondСarriage.Text = "Признак наличия второго вагона ";
|
|||
|
checkBoxSecondСarriage.UseVisualStyleBackColor = true;
|
|||
|
//
|
|||
|
// checkBoxRail
|
|||
|
//
|
|||
|
checkBoxRail.AutoSize = true;
|
|||
|
checkBoxRail.Location = new Point(12, 159);
|
|||
|
checkBoxRail.Name = "checkBoxRail";
|
|||
|
checkBoxRail.Size = new Size(232, 19);
|
|||
|
checkBoxRail.TabIndex = 7;
|
|||
|
checkBoxRail.Text = "Признак наличия магнитного рельса";
|
|||
|
checkBoxRail.UseVisualStyleBackColor = true;
|
|||
|
//
|
|||
|
// numericUpDownWeight
|
|||
|
//
|
|||
|
numericUpDownWeight.Location = new Point(128, 70);
|
|||
|
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(87, 23);
|
|||
|
numericUpDownWeight.TabIndex = 5;
|
|||
|
numericUpDownWeight.Value = new decimal(new int[] { 100, 0, 0, 0 });
|
|||
|
//
|
|||
|
// labelWeight
|
|||
|
//
|
|||
|
labelWeight.AutoSize = true;
|
|||
|
labelWeight.Location = new Point(12, 78);
|
|||
|
labelWeight.Name = "labelWeight";
|
|||
|
labelWeight.Size = new Size(29, 15);
|
|||
|
labelWeight.TabIndex = 4;
|
|||
|
labelWeight.Text = "Вес:";
|
|||
|
//
|
|||
|
// numericUpDownSpeed
|
|||
|
//
|
|||
|
numericUpDownSpeed.Location = new Point(128, 30);
|
|||
|
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(87, 23);
|
|||
|
numericUpDownSpeed.TabIndex = 3;
|
|||
|
numericUpDownSpeed.Value = new decimal(new int[] { 100, 0, 0, 0 });
|
|||
|
//
|
|||
|
// labelSpeed
|
|||
|
//
|
|||
|
labelSpeed.AutoSize = true;
|
|||
|
labelSpeed.Location = new Point(12, 38);
|
|||
|
labelSpeed.Name = "labelSpeed";
|
|||
|
labelSpeed.Size = new Size(65, 15);
|
|||
|
labelSpeed.TabIndex = 2;
|
|||
|
labelSpeed.Text = "Скорость: ";
|
|||
|
//
|
|||
|
// labelModifiedObject
|
|||
|
//
|
|||
|
labelModifiedObject.BorderStyle = BorderStyle.FixedSingle;
|
|||
|
labelModifiedObject.Location = new Point(298, 192);
|
|||
|
labelModifiedObject.Name = "labelModifiedObject";
|
|||
|
labelModifiedObject.Size = new Size(125, 40);
|
|||
|
labelModifiedObject.TabIndex = 1;
|
|||
|
labelModifiedObject.Text = "Продвинутый";
|
|||
|
labelModifiedObject.TextAlign = ContentAlignment.MiddleCenter;
|
|||
|
labelModifiedObject.MouseDown += LabelObject_MouseDown;
|
|||
|
//
|
|||
|
// labelSimpleObject
|
|||
|
//
|
|||
|
labelSimpleObject.BorderStyle = BorderStyle.FixedSingle;
|
|||
|
labelSimpleObject.Location = new Point(447, 192);
|
|||
|
labelSimpleObject.Name = "labelSimpleObject";
|
|||
|
labelSimpleObject.Size = new Size(125, 40);
|
|||
|
labelSimpleObject.TabIndex = 0;
|
|||
|
labelSimpleObject.Text = "Простой";
|
|||
|
labelSimpleObject.TextAlign = ContentAlignment.MiddleCenter;
|
|||
|
labelSimpleObject.MouseDown += LabelObject_MouseDown;
|
|||
|
//
|
|||
|
// pictureBoxObject
|
|||
|
//
|
|||
|
pictureBoxObject.Location = new Point(3, 52);
|
|||
|
pictureBoxObject.Name = "pictureBoxObject";
|
|||
|
pictureBoxObject.Size = new Size(250, 150);
|
|||
|
pictureBoxObject.TabIndex = 1;
|
|||
|
pictureBoxObject.TabStop = false;
|
|||
|
//
|
|||
|
// buttonAdd
|
|||
|
//
|
|||
|
buttonAdd.Location = new Point(605, 226);
|
|||
|
buttonAdd.Name = "buttonAdd";
|
|||
|
buttonAdd.Size = new Size(100, 30);
|
|||
|
buttonAdd.TabIndex = 2;
|
|||
|
buttonAdd.Text = "Добавить";
|
|||
|
buttonAdd.UseVisualStyleBackColor = true;
|
|||
|
buttonAdd.Click += ButtonAdd_Click;
|
|||
|
//
|
|||
|
// buttonCancel
|
|||
|
//
|
|||
|
buttonCancel.Location = new Point(761, 226);
|
|||
|
buttonCancel.Name = "buttonCancel";
|
|||
|
buttonCancel.Size = new Size(100, 30);
|
|||
|
buttonCancel.TabIndex = 3;
|
|||
|
buttonCancel.Text = "Отмена";
|
|||
|
buttonCancel.UseVisualStyleBackColor = true;
|
|||
|
//
|
|||
|
// panelObject
|
|||
|
//
|
|||
|
panelObject.AllowDrop = true;
|
|||
|
panelObject.Controls.Add(labelAdditionalColor);
|
|||
|
panelObject.Controls.Add(labelMainColor);
|
|||
|
panelObject.Controls.Add(pictureBoxObject);
|
|||
|
panelObject.Location = new Point(605, 0);
|
|||
|
panelObject.Name = "panelObject";
|
|||
|
panelObject.Size = new Size(256, 220);
|
|||
|
panelObject.TabIndex = 4;
|
|||
|
panelObject.DragDrop += PanelObject_DragDrop;
|
|||
|
panelObject.DragEnter += PanelObject_DragEnter;
|
|||
|
//
|
|||
|
// labelAdditionalColor
|
|||
|
//
|
|||
|
labelAdditionalColor.AllowDrop = true;
|
|||
|
labelAdditionalColor.BorderStyle = BorderStyle.FixedSingle;
|
|||
|
labelAdditionalColor.Location = new Point(153, 9);
|
|||
|
labelAdditionalColor.Name = "labelAdditionalColor";
|
|||
|
labelAdditionalColor.Size = new Size(100, 30);
|
|||
|
labelAdditionalColor.TabIndex = 12;
|
|||
|
labelAdditionalColor.Text = "Доп. Цвет";
|
|||
|
labelAdditionalColor.TextAlign = ContentAlignment.MiddleCenter;
|
|||
|
labelAdditionalColor.DragDrop += LabelColor_DragDrop;
|
|||
|
labelAdditionalColor.DragEnter += LabelColor_DragEnter;
|
|||
|
//
|
|||
|
// labelMainColor
|
|||
|
//
|
|||
|
labelMainColor.AllowDrop = true;
|
|||
|
labelMainColor.BorderStyle = BorderStyle.FixedSingle;
|
|||
|
labelMainColor.Location = new Point(3, 9);
|
|||
|
labelMainColor.Name = "labelMainColor";
|
|||
|
labelMainColor.Size = new Size(100, 30);
|
|||
|
labelMainColor.TabIndex = 13;
|
|||
|
labelMainColor.Text = "Цвет";
|
|||
|
labelMainColor.TextAlign = ContentAlignment.MiddleCenter;
|
|||
|
labelMainColor.DragDrop += LabelColor_DragDrop;
|
|||
|
labelMainColor.DragEnter += LabelColor_DragEnter;
|
|||
|
//
|
|||
|
// FormTrainConfig
|
|||
|
//
|
|||
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|||
|
AutoScaleMode = AutoScaleMode.Font;
|
|||
|
ClientSize = new Size(873, 272);
|
|||
|
Controls.Add(panelObject);
|
|||
|
Controls.Add(buttonCancel);
|
|||
|
Controls.Add(buttonAdd);
|
|||
|
Controls.Add(groupBoxConfig);
|
|||
|
Name = "FormTrainConfig";
|
|||
|
Text = "Создание объекта";
|
|||
|
groupBoxConfig.ResumeLayout(false);
|
|||
|
groupBoxConfig.PerformLayout();
|
|||
|
groupBoxColors.ResumeLayout(false);
|
|||
|
((System.ComponentModel.ISupportInitialize)numericUpDownWheels).EndInit();
|
|||
|
((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 checkBoxSecondСarriage;
|
|||
|
private CheckBox checkBoxRail;
|
|||
|
private NumericUpDown numericUpDownWheels;
|
|||
|
private Label labelWheels;
|
|||
|
private GroupBox groupBoxColors;
|
|||
|
private Panel panelYellow;
|
|||
|
private Panel panelBlue;
|
|||
|
private Panel panelGreen;
|
|||
|
private Panel panelRed;
|
|||
|
private Panel panelPurple;
|
|||
|
private Panel panelBlack;
|
|||
|
private Panel panelGray;
|
|||
|
private Panel panelWhite;
|
|||
|
private PictureBox pictureBoxObject;
|
|||
|
private Button buttonAdd;
|
|||
|
private Button buttonCancel;
|
|||
|
private Panel panelObject;
|
|||
|
private Label labelMainColor;
|
|||
|
private Label labelAdditionalColor;
|
|||
|
}
|
|||
|
}
|