381 lines
16 KiB
C#
381 lines
16 KiB
C#
|
namespace ProjectMonorail
|
|||
|
{
|
|||
|
partial class FormMonorailConfig
|
|||
|
{
|
|||
|
/// <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();
|
|||
|
panelColor_Purple = new Panel();
|
|||
|
panelColor_Black = new Panel();
|
|||
|
panelColor_Yellow = new Panel();
|
|||
|
panelColor_Grey = new Panel();
|
|||
|
panelColor_Blue = new Panel();
|
|||
|
panelColor_White = new Panel();
|
|||
|
panelColor_Green = new Panel();
|
|||
|
panelColor_Red = new Panel();
|
|||
|
checkBoxCabin = new CheckBox();
|
|||
|
checkBoxMonorailTrack = 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();
|
|||
|
labelBodyColor = new Label();
|
|||
|
labelAdditionalColor = new Label();
|
|||
|
panelBaseColor = new Panel();
|
|||
|
panelAdditionalColor = new Panel();
|
|||
|
groupBoxConfig.SuspendLayout();
|
|||
|
groupBoxColors.SuspendLayout();
|
|||
|
((System.ComponentModel.ISupportInitialize)numericUpDownWeight).BeginInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)numericUpDownSpeed).BeginInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)pictureBoxObject).BeginInit();
|
|||
|
panelObject.SuspendLayout();
|
|||
|
panelBaseColor.SuspendLayout();
|
|||
|
panelAdditionalColor.SuspendLayout();
|
|||
|
SuspendLayout();
|
|||
|
//
|
|||
|
// groupBoxConfig
|
|||
|
//
|
|||
|
groupBoxConfig.Controls.Add(groupBoxColors);
|
|||
|
groupBoxConfig.Controls.Add(checkBoxCabin);
|
|||
|
groupBoxConfig.Controls.Add(checkBoxMonorailTrack);
|
|||
|
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(509, 177);
|
|||
|
groupBoxConfig.TabIndex = 0;
|
|||
|
groupBoxConfig.TabStop = false;
|
|||
|
groupBoxConfig.Text = "Параметры";
|
|||
|
//
|
|||
|
// groupBoxColors
|
|||
|
//
|
|||
|
groupBoxColors.Controls.Add(panelColor_Purple);
|
|||
|
groupBoxColors.Controls.Add(panelColor_Black);
|
|||
|
groupBoxColors.Controls.Add(panelColor_Yellow);
|
|||
|
groupBoxColors.Controls.Add(panelColor_Grey);
|
|||
|
groupBoxColors.Controls.Add(panelColor_Blue);
|
|||
|
groupBoxColors.Controls.Add(panelColor_White);
|
|||
|
groupBoxColors.Controls.Add(panelColor_Green);
|
|||
|
groupBoxColors.Controls.Add(panelColor_Red);
|
|||
|
groupBoxColors.Location = new Point(276, 22);
|
|||
|
groupBoxColors.Name = "groupBoxColors";
|
|||
|
groupBoxColors.Size = new Size(206, 105);
|
|||
|
groupBoxColors.TabIndex = 8;
|
|||
|
groupBoxColors.TabStop = false;
|
|||
|
groupBoxColors.Text = "Цвета";
|
|||
|
//
|
|||
|
// panelColor_Purple
|
|||
|
//
|
|||
|
panelColor_Purple.BackColor = Color.Purple;
|
|||
|
panelColor_Purple.Location = new Point(173, 62);
|
|||
|
panelColor_Purple.Name = "panelColor_Purple";
|
|||
|
panelColor_Purple.Size = new Size(27, 29);
|
|||
|
panelColor_Purple.TabIndex = 7;
|
|||
|
//
|
|||
|
// panelColor_Black
|
|||
|
//
|
|||
|
panelColor_Black.BackColor = Color.Black;
|
|||
|
panelColor_Black.Location = new Point(121, 62);
|
|||
|
panelColor_Black.Name = "panelColor_Black";
|
|||
|
panelColor_Black.Size = new Size(27, 29);
|
|||
|
panelColor_Black.TabIndex = 6;
|
|||
|
//
|
|||
|
// panelColor_Yellow
|
|||
|
//
|
|||
|
panelColor_Yellow.BackColor = Color.Yellow;
|
|||
|
panelColor_Yellow.Location = new Point(173, 22);
|
|||
|
panelColor_Yellow.Name = "panelColor_Yellow";
|
|||
|
panelColor_Yellow.Size = new Size(27, 29);
|
|||
|
panelColor_Yellow.TabIndex = 3;
|
|||
|
//
|
|||
|
// panelColor_Grey
|
|||
|
//
|
|||
|
panelColor_Grey.BackColor = Color.Gray;
|
|||
|
panelColor_Grey.Location = new Point(62, 62);
|
|||
|
panelColor_Grey.Name = "panelColor_Grey";
|
|||
|
panelColor_Grey.Size = new Size(27, 29);
|
|||
|
panelColor_Grey.TabIndex = 5;
|
|||
|
//
|
|||
|
// panelColor_Blue
|
|||
|
//
|
|||
|
panelColor_Blue.BackColor = Color.Blue;
|
|||
|
panelColor_Blue.Location = new Point(121, 22);
|
|||
|
panelColor_Blue.Name = "panelColor_Blue";
|
|||
|
panelColor_Blue.Size = new Size(27, 29);
|
|||
|
panelColor_Blue.TabIndex = 2;
|
|||
|
//
|
|||
|
// panelColor_White
|
|||
|
//
|
|||
|
panelColor_White.BackColor = Color.White;
|
|||
|
panelColor_White.Location = new Point(6, 62);
|
|||
|
panelColor_White.Name = "panelColor_White";
|
|||
|
panelColor_White.Size = new Size(27, 29);
|
|||
|
panelColor_White.TabIndex = 4;
|
|||
|
//
|
|||
|
// panelColor_Green
|
|||
|
//
|
|||
|
panelColor_Green.BackColor = Color.Green;
|
|||
|
panelColor_Green.Location = new Point(62, 22);
|
|||
|
panelColor_Green.Name = "panelColor_Green";
|
|||
|
panelColor_Green.Size = new Size(27, 29);
|
|||
|
panelColor_Green.TabIndex = 1;
|
|||
|
//
|
|||
|
// panelColor_Red
|
|||
|
//
|
|||
|
panelColor_Red.BackColor = Color.Red;
|
|||
|
panelColor_Red.Location = new Point(6, 22);
|
|||
|
panelColor_Red.Name = "panelColor_Red";
|
|||
|
panelColor_Red.Size = new Size(27, 29);
|
|||
|
panelColor_Red.TabIndex = 0;
|
|||
|
//
|
|||
|
// checkBoxCabin
|
|||
|
//
|
|||
|
checkBoxCabin.AutoSize = true;
|
|||
|
checkBoxCabin.Location = new Point(12, 144);
|
|||
|
checkBoxCabin.Name = "checkBoxCabin";
|
|||
|
checkBoxCabin.Size = new Size(168, 19);
|
|||
|
checkBoxCabin.TabIndex = 7;
|
|||
|
checkBoxCabin.Text = "Признак наличия кабины";
|
|||
|
checkBoxCabin.UseVisualStyleBackColor = true;
|
|||
|
//
|
|||
|
// checkBoxMonorailTrack
|
|||
|
//
|
|||
|
checkBoxMonorailTrack.AutoSize = true;
|
|||
|
checkBoxMonorailTrack.Location = new Point(12, 119);
|
|||
|
checkBoxMonorailTrack.Name = "checkBoxMonorailTrack";
|
|||
|
checkBoxMonorailTrack.Size = new Size(248, 19);
|
|||
|
checkBoxMonorailTrack.TabIndex = 6;
|
|||
|
checkBoxMonorailTrack.Text = "Признак наличия монорельсового пути";
|
|||
|
checkBoxMonorailTrack.UseVisualStyleBackColor = true;
|
|||
|
//
|
|||
|
// numericUpDownWeight
|
|||
|
//
|
|||
|
numericUpDownWeight.Location = new Point(80, 78);
|
|||
|
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(120, 23);
|
|||
|
numericUpDownWeight.TabIndex = 5;
|
|||
|
numericUpDownWeight.Value = new decimal(new int[] { 100, 0, 0, 0 });
|
|||
|
//
|
|||
|
// labelWeight
|
|||
|
//
|
|||
|
labelWeight.AutoSize = true;
|
|||
|
labelWeight.Location = new Point(12, 80);
|
|||
|
labelWeight.Name = "labelWeight";
|
|||
|
labelWeight.Size = new Size(29, 15);
|
|||
|
labelWeight.TabIndex = 4;
|
|||
|
labelWeight.Text = "Вес:";
|
|||
|
//
|
|||
|
// numericUpDownSpeed
|
|||
|
//
|
|||
|
numericUpDownSpeed.Location = new Point(80, 32);
|
|||
|
numericUpDownSpeed.Name = "numericUpDownSpeed";
|
|||
|
numericUpDownSpeed.Size = new Size(120, 23);
|
|||
|
numericUpDownSpeed.TabIndex = 3;
|
|||
|
numericUpDownSpeed.Value = new decimal(new int[] { 100, 0, 0, 0 });
|
|||
|
//
|
|||
|
// labelSpeed
|
|||
|
//
|
|||
|
labelSpeed.AutoSize = true;
|
|||
|
labelSpeed.Location = new Point(12, 34);
|
|||
|
labelSpeed.Name = "labelSpeed";
|
|||
|
labelSpeed.Size = new Size(62, 15);
|
|||
|
labelSpeed.TabIndex = 2;
|
|||
|
labelSpeed.Text = "Скорость:";
|
|||
|
//
|
|||
|
// labelModifiedObject
|
|||
|
//
|
|||
|
labelModifiedObject.BorderStyle = BorderStyle.FixedSingle;
|
|||
|
labelModifiedObject.Location = new Point(382, 140);
|
|||
|
labelModifiedObject.Name = "labelModifiedObject";
|
|||
|
labelModifiedObject.Size = new Size(100, 23);
|
|||
|
labelModifiedObject.TabIndex = 1;
|
|||
|
labelModifiedObject.Text = "Продвинутый";
|
|||
|
labelModifiedObject.TextAlign = ContentAlignment.MiddleCenter;
|
|||
|
labelModifiedObject.MouseDown += LabelObject_MouseDown;
|
|||
|
//
|
|||
|
// labelSimpleObject
|
|||
|
//
|
|||
|
labelSimpleObject.BorderStyle = BorderStyle.FixedSingle;
|
|||
|
labelSimpleObject.Location = new Point(276, 141);
|
|||
|
labelSimpleObject.Name = "labelSimpleObject";
|
|||
|
labelSimpleObject.Size = new Size(100, 23);
|
|||
|
labelSimpleObject.TabIndex = 0;
|
|||
|
labelSimpleObject.Text = "Простой";
|
|||
|
labelSimpleObject.TextAlign = ContentAlignment.MiddleCenter;
|
|||
|
labelSimpleObject.MouseDown += LabelObject_MouseDown;
|
|||
|
//
|
|||
|
// pictureBoxObject
|
|||
|
//
|
|||
|
pictureBoxObject.Location = new Point(17, 12);
|
|||
|
pictureBoxObject.Name = "pictureBoxObject";
|
|||
|
pictureBoxObject.Size = new Size(198, 71);
|
|||
|
pictureBoxObject.TabIndex = 1;
|
|||
|
pictureBoxObject.TabStop = false;
|
|||
|
//
|
|||
|
// buttonAdd
|
|||
|
//
|
|||
|
buttonAdd.Location = new Point(525, 144);
|
|||
|
buttonAdd.Name = "buttonAdd";
|
|||
|
buttonAdd.Size = new Size(75, 23);
|
|||
|
buttonAdd.TabIndex = 2;
|
|||
|
buttonAdd.Text = "Добавить";
|
|||
|
buttonAdd.UseVisualStyleBackColor = true;
|
|||
|
buttonAdd.Click += ButtonAdd_Click;
|
|||
|
//
|
|||
|
// buttonCancel
|
|||
|
//
|
|||
|
buttonCancel.Location = new Point(680, 144);
|
|||
|
buttonCancel.Name = "buttonCancel";
|
|||
|
buttonCancel.Size = new Size(75, 23);
|
|||
|
buttonCancel.TabIndex = 3;
|
|||
|
buttonCancel.Text = "Отмена";
|
|||
|
buttonCancel.UseVisualStyleBackColor = true;
|
|||
|
//
|
|||
|
// panelObject
|
|||
|
//
|
|||
|
panelObject.AllowDrop = true;
|
|||
|
panelObject.Controls.Add(pictureBoxObject);
|
|||
|
panelObject.Location = new Point(525, 44);
|
|||
|
panelObject.Name = "panelObject";
|
|||
|
panelObject.Size = new Size(230, 93);
|
|||
|
panelObject.TabIndex = 4;
|
|||
|
panelObject.DragDrop += PanelObject_DragDrop;
|
|||
|
panelObject.DragEnter += PanelObject_DragEnter;
|
|||
|
//
|
|||
|
// labelBodyColor
|
|||
|
//
|
|||
|
labelBodyColor.BorderStyle = BorderStyle.FixedSingle;
|
|||
|
labelBodyColor.Location = new Point(9, 8);
|
|||
|
labelBodyColor.Name = "labelBodyColor";
|
|||
|
labelBodyColor.Size = new Size(100, 23);
|
|||
|
labelBodyColor.TabIndex = 9;
|
|||
|
labelBodyColor.Text = "Основной цвет";
|
|||
|
labelBodyColor.TextAlign = ContentAlignment.MiddleCenter;
|
|||
|
//
|
|||
|
// labelAdditionalColor
|
|||
|
//
|
|||
|
labelAdditionalColor.BorderStyle = BorderStyle.FixedSingle;
|
|||
|
labelAdditionalColor.Location = new Point(11, 10);
|
|||
|
labelAdditionalColor.Name = "labelAdditionalColor";
|
|||
|
labelAdditionalColor.Size = new Size(100, 23);
|
|||
|
labelAdditionalColor.TabIndex = 10;
|
|||
|
labelAdditionalColor.Text = "Доп. цвет";
|
|||
|
labelAdditionalColor.TextAlign = ContentAlignment.MiddleCenter;
|
|||
|
labelAdditionalColor.DragDrop += PanelObject_DragDrop;
|
|||
|
labelAdditionalColor.DragEnter += PanelObject_DragEnter;
|
|||
|
//
|
|||
|
// panelBaseColor
|
|||
|
//
|
|||
|
panelBaseColor.AllowDrop = true;
|
|||
|
panelBaseColor.Controls.Add(labelBodyColor);
|
|||
|
panelBaseColor.Location = new Point(525, 1);
|
|||
|
panelBaseColor.Name = "panelBaseColor";
|
|||
|
panelBaseColor.Size = new Size(124, 37);
|
|||
|
panelBaseColor.TabIndex = 11;
|
|||
|
panelBaseColor.DragDrop += PanelColorBody_DragDrop;
|
|||
|
panelBaseColor.DragEnter += PanelColor_DragEnter;
|
|||
|
//
|
|||
|
// panelAdditionalColor
|
|||
|
//
|
|||
|
panelAdditionalColor.AllowDrop = true;
|
|||
|
panelAdditionalColor.Controls.Add(labelAdditionalColor);
|
|||
|
panelAdditionalColor.Location = new Point(651, -1);
|
|||
|
panelAdditionalColor.Name = "panelAdditionalColor";
|
|||
|
panelAdditionalColor.Size = new Size(117, 39);
|
|||
|
panelAdditionalColor.TabIndex = 12;
|
|||
|
panelAdditionalColor.DragDrop += PanelColorBody_DragDrop;
|
|||
|
panelAdditionalColor.DragEnter += PanelColorAdditional_DragDrop;
|
|||
|
//
|
|||
|
// FormMonorailConfig
|
|||
|
//
|
|||
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|||
|
AutoScaleMode = AutoScaleMode.Font;
|
|||
|
ClientSize = new Size(774, 177);
|
|||
|
Controls.Add(panelAdditionalColor);
|
|||
|
Controls.Add(panelBaseColor);
|
|||
|
Controls.Add(panelObject);
|
|||
|
Controls.Add(buttonCancel);
|
|||
|
Controls.Add(buttonAdd);
|
|||
|
Controls.Add(groupBoxConfig);
|
|||
|
Name = "FormMonorailConfig";
|
|||
|
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);
|
|||
|
panelBaseColor.ResumeLayout(false);
|
|||
|
panelAdditionalColor.ResumeLayout(false);
|
|||
|
ResumeLayout(false);
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
private GroupBox groupBoxConfig;
|
|||
|
private Label labelSimpleObject;
|
|||
|
private NumericUpDown numericUpDownWeight;
|
|||
|
private Label labelWeight;
|
|||
|
private NumericUpDown numericUpDownSpeed;
|
|||
|
private Label labelSpeed;
|
|||
|
private Label labelModifiedObject;
|
|||
|
private CheckBox checkBoxMonorailTrack;
|
|||
|
private CheckBox checkBoxCabin;
|
|||
|
private GroupBox groupBoxColors;
|
|||
|
private Panel panelColor_Purple;
|
|||
|
private Panel panelColor_Black;
|
|||
|
private Panel panelColor_Yellow;
|
|||
|
private Panel panelColor_Grey;
|
|||
|
private Panel panelColor_Blue;
|
|||
|
private Panel panelColor_White;
|
|||
|
private Panel panelColor_Green;
|
|||
|
private Panel panelColor_Red;
|
|||
|
private PictureBox pictureBoxObject;
|
|||
|
private Button buttonAdd;
|
|||
|
private Button buttonCancel;
|
|||
|
private Panel panelObject;
|
|||
|
private Label labelBodyColor;
|
|||
|
private Label labelAdditionalColor;
|
|||
|
private Panel panelBaseColor;
|
|||
|
private Panel panelAdditionalColor;
|
|||
|
}
|
|||
|
}
|