404 lines
18 KiB
C#
404 lines
18 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.Margin = new Padding(3, 4, 3, 4);
|
||
groupBoxConfig.Name = "groupBoxConfig";
|
||
groupBoxConfig.Padding = new Padding(3, 4, 3, 4);
|
||
groupBoxConfig.Size = new Size(582, 236);
|
||
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(315, 29);
|
||
groupBoxColors.Margin = new Padding(3, 4, 3, 4);
|
||
groupBoxColors.Name = "groupBoxColors";
|
||
groupBoxColors.Padding = new Padding(3, 4, 3, 4);
|
||
groupBoxColors.Size = new Size(235, 140);
|
||
groupBoxColors.TabIndex = 8;
|
||
groupBoxColors.TabStop = false;
|
||
groupBoxColors.Text = "Цвета";
|
||
//
|
||
// panelColor_Purple
|
||
//
|
||
panelColor_Purple.BackColor = Color.Purple;
|
||
panelColor_Purple.Location = new Point(198, 83);
|
||
panelColor_Purple.Margin = new Padding(3, 4, 3, 4);
|
||
panelColor_Purple.Name = "panelColor_Purple";
|
||
panelColor_Purple.Size = new Size(31, 39);
|
||
panelColor_Purple.TabIndex = 7;
|
||
//
|
||
// panelColor_Black
|
||
//
|
||
panelColor_Black.BackColor = Color.Black;
|
||
panelColor_Black.Location = new Point(138, 83);
|
||
panelColor_Black.Margin = new Padding(3, 4, 3, 4);
|
||
panelColor_Black.Name = "panelColor_Black";
|
||
panelColor_Black.Size = new Size(31, 39);
|
||
panelColor_Black.TabIndex = 6;
|
||
//
|
||
// panelColor_Yellow
|
||
//
|
||
panelColor_Yellow.BackColor = Color.Yellow;
|
||
panelColor_Yellow.Location = new Point(198, 29);
|
||
panelColor_Yellow.Margin = new Padding(3, 4, 3, 4);
|
||
panelColor_Yellow.Name = "panelColor_Yellow";
|
||
panelColor_Yellow.Size = new Size(31, 39);
|
||
panelColor_Yellow.TabIndex = 3;
|
||
//
|
||
// panelColor_Grey
|
||
//
|
||
panelColor_Grey.BackColor = Color.Gray;
|
||
panelColor_Grey.Location = new Point(71, 83);
|
||
panelColor_Grey.Margin = new Padding(3, 4, 3, 4);
|
||
panelColor_Grey.Name = "panelColor_Grey";
|
||
panelColor_Grey.Size = new Size(31, 39);
|
||
panelColor_Grey.TabIndex = 5;
|
||
//
|
||
// panelColor_Blue
|
||
//
|
||
panelColor_Blue.BackColor = Color.Blue;
|
||
panelColor_Blue.Location = new Point(138, 29);
|
||
panelColor_Blue.Margin = new Padding(3, 4, 3, 4);
|
||
panelColor_Blue.Name = "panelColor_Blue";
|
||
panelColor_Blue.Size = new Size(31, 39);
|
||
panelColor_Blue.TabIndex = 2;
|
||
//
|
||
// panelColor_White
|
||
//
|
||
panelColor_White.BackColor = Color.White;
|
||
panelColor_White.Location = new Point(7, 83);
|
||
panelColor_White.Margin = new Padding(3, 4, 3, 4);
|
||
panelColor_White.Name = "panelColor_White";
|
||
panelColor_White.Size = new Size(31, 39);
|
||
panelColor_White.TabIndex = 4;
|
||
//
|
||
// panelColor_Green
|
||
//
|
||
panelColor_Green.BackColor = Color.Green;
|
||
panelColor_Green.Location = new Point(71, 29);
|
||
panelColor_Green.Margin = new Padding(3, 4, 3, 4);
|
||
panelColor_Green.Name = "panelColor_Green";
|
||
panelColor_Green.Size = new Size(31, 39);
|
||
panelColor_Green.TabIndex = 1;
|
||
//
|
||
// panelColor_Red
|
||
//
|
||
panelColor_Red.BackColor = Color.Red;
|
||
panelColor_Red.Location = new Point(7, 29);
|
||
panelColor_Red.Margin = new Padding(3, 4, 3, 4);
|
||
panelColor_Red.Name = "panelColor_Red";
|
||
panelColor_Red.Size = new Size(31, 39);
|
||
panelColor_Red.TabIndex = 0;
|
||
//
|
||
// checkBoxCabin
|
||
//
|
||
checkBoxCabin.AutoSize = true;
|
||
checkBoxCabin.Location = new Point(14, 192);
|
||
checkBoxCabin.Margin = new Padding(3, 4, 3, 4);
|
||
checkBoxCabin.Name = "checkBoxCabin";
|
||
checkBoxCabin.Size = new Size(211, 24);
|
||
checkBoxCabin.TabIndex = 7;
|
||
checkBoxCabin.Text = "Признак наличия кабины";
|
||
checkBoxCabin.UseVisualStyleBackColor = true;
|
||
//
|
||
// checkBoxMonorailTrack
|
||
//
|
||
checkBoxMonorailTrack.AutoSize = true;
|
||
checkBoxMonorailTrack.Location = new Point(14, 159);
|
||
checkBoxMonorailTrack.Margin = new Padding(3, 4, 3, 4);
|
||
checkBoxMonorailTrack.Name = "checkBoxMonorailTrack";
|
||
checkBoxMonorailTrack.Size = new Size(312, 24);
|
||
checkBoxMonorailTrack.TabIndex = 6;
|
||
checkBoxMonorailTrack.Text = "Признак наличия монорельсового пути";
|
||
checkBoxMonorailTrack.UseVisualStyleBackColor = true;
|
||
//
|
||
// numericUpDownWeight
|
||
//
|
||
numericUpDownWeight.Location = new Point(91, 104);
|
||
numericUpDownWeight.Margin = new Padding(3, 4, 3, 4);
|
||
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(137, 27);
|
||
numericUpDownWeight.TabIndex = 5;
|
||
numericUpDownWeight.Value = new decimal(new int[] { 100, 0, 0, 0 });
|
||
//
|
||
// labelWeight
|
||
//
|
||
labelWeight.AutoSize = true;
|
||
labelWeight.Location = new Point(14, 107);
|
||
labelWeight.Name = "labelWeight";
|
||
labelWeight.Size = new Size(36, 20);
|
||
labelWeight.TabIndex = 4;
|
||
labelWeight.Text = "Вес:";
|
||
//
|
||
// numericUpDownSpeed
|
||
//
|
||
numericUpDownSpeed.Location = new Point(91, 43);
|
||
numericUpDownSpeed.Margin = new Padding(3, 4, 3, 4);
|
||
numericUpDownSpeed.Name = "numericUpDownSpeed";
|
||
numericUpDownSpeed.Size = new Size(137, 27);
|
||
numericUpDownSpeed.TabIndex = 3;
|
||
numericUpDownSpeed.Value = new decimal(new int[] { 100, 0, 0, 0 });
|
||
//
|
||
// labelSpeed
|
||
//
|
||
labelSpeed.AutoSize = true;
|
||
labelSpeed.Location = new Point(14, 45);
|
||
labelSpeed.Name = "labelSpeed";
|
||
labelSpeed.Size = new Size(76, 20);
|
||
labelSpeed.TabIndex = 2;
|
||
labelSpeed.Text = "Скорость:";
|
||
//
|
||
// labelModifiedObject
|
||
//
|
||
labelModifiedObject.BorderStyle = BorderStyle.FixedSingle;
|
||
labelModifiedObject.Location = new Point(437, 187);
|
||
labelModifiedObject.Name = "labelModifiedObject";
|
||
labelModifiedObject.Size = new Size(114, 30);
|
||
labelModifiedObject.TabIndex = 1;
|
||
labelModifiedObject.Text = "Продвинутый";
|
||
labelModifiedObject.TextAlign = ContentAlignment.MiddleCenter;
|
||
labelModifiedObject.MouseDown += LabelObject_MouseDown;
|
||
//
|
||
// labelSimpleObject
|
||
//
|
||
labelSimpleObject.BorderStyle = BorderStyle.FixedSingle;
|
||
labelSimpleObject.Location = new Point(315, 188);
|
||
labelSimpleObject.Name = "labelSimpleObject";
|
||
labelSimpleObject.Size = new Size(114, 30);
|
||
labelSimpleObject.TabIndex = 0;
|
||
labelSimpleObject.Text = "Простой";
|
||
labelSimpleObject.TextAlign = ContentAlignment.MiddleCenter;
|
||
labelSimpleObject.MouseDown += LabelObject_MouseDown;
|
||
//
|
||
// pictureBoxObject
|
||
//
|
||
pictureBoxObject.Location = new Point(19, 16);
|
||
pictureBoxObject.Margin = new Padding(3, 4, 3, 4);
|
||
pictureBoxObject.Name = "pictureBoxObject";
|
||
pictureBoxObject.Size = new Size(226, 95);
|
||
pictureBoxObject.TabIndex = 1;
|
||
pictureBoxObject.TabStop = false;
|
||
//
|
||
// buttonAdd
|
||
//
|
||
buttonAdd.Location = new Point(600, 192);
|
||
buttonAdd.Margin = new Padding(3, 4, 3, 4);
|
||
buttonAdd.Name = "buttonAdd";
|
||
buttonAdd.Size = new Size(86, 31);
|
||
buttonAdd.TabIndex = 2;
|
||
buttonAdd.Text = "Добавить";
|
||
buttonAdd.UseVisualStyleBackColor = true;
|
||
buttonAdd.MouseClick += ButtonAdd_MouseClick;
|
||
//
|
||
// buttonCancel
|
||
//
|
||
buttonCancel.Location = new Point(777, 192);
|
||
buttonCancel.Margin = new Padding(3, 4, 3, 4);
|
||
buttonCancel.Name = "buttonCancel";
|
||
buttonCancel.Size = new Size(86, 31);
|
||
buttonCancel.TabIndex = 3;
|
||
buttonCancel.Text = "Отмена";
|
||
buttonCancel.UseVisualStyleBackColor = true;
|
||
//
|
||
// panelObject
|
||
//
|
||
panelObject.AllowDrop = true;
|
||
panelObject.Controls.Add(pictureBoxObject);
|
||
panelObject.Location = new Point(600, 59);
|
||
panelObject.Margin = new Padding(3, 4, 3, 4);
|
||
panelObject.Name = "panelObject";
|
||
panelObject.Size = new Size(263, 124);
|
||
panelObject.TabIndex = 4;
|
||
panelObject.DragDrop += PanelObject_DragDrop;
|
||
panelObject.DragEnter += PanelObject_DragEnter;
|
||
//
|
||
// labelBodyColor
|
||
//
|
||
labelBodyColor.BorderStyle = BorderStyle.FixedSingle;
|
||
labelBodyColor.Location = new Point(10, 11);
|
||
labelBodyColor.Name = "labelBodyColor";
|
||
labelBodyColor.Size = new Size(114, 30);
|
||
labelBodyColor.TabIndex = 9;
|
||
labelBodyColor.Text = "Основной цвет";
|
||
labelBodyColor.TextAlign = ContentAlignment.MiddleCenter;
|
||
//
|
||
// labelAdditionalColor
|
||
//
|
||
labelAdditionalColor.BorderStyle = BorderStyle.FixedSingle;
|
||
labelAdditionalColor.Location = new Point(13, 13);
|
||
labelAdditionalColor.Name = "labelAdditionalColor";
|
||
labelAdditionalColor.Size = new Size(114, 30);
|
||
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(600, 1);
|
||
panelBaseColor.Margin = new Padding(3, 4, 3, 4);
|
||
panelBaseColor.Name = "panelBaseColor";
|
||
panelBaseColor.Size = new Size(142, 49);
|
||
panelBaseColor.TabIndex = 11;
|
||
panelBaseColor.DragDrop += PanelColorBody_DragDrop;
|
||
panelBaseColor.DragEnter += PanelColor_DragEnter;
|
||
//
|
||
// panelAdditionalColor
|
||
//
|
||
panelAdditionalColor.AllowDrop = true;
|
||
panelAdditionalColor.Controls.Add(labelAdditionalColor);
|
||
panelAdditionalColor.Location = new Point(744, -1);
|
||
panelAdditionalColor.Margin = new Padding(3, 4, 3, 4);
|
||
panelAdditionalColor.Name = "panelAdditionalColor";
|
||
panelAdditionalColor.Size = new Size(134, 52);
|
||
panelAdditionalColor.TabIndex = 12;
|
||
panelAdditionalColor.DragDrop += PanelColorAdditional_DragDrop;
|
||
panelAdditionalColor.DragEnter += PanelColor_DragEnter;
|
||
//
|
||
// FormMonorailConfig
|
||
//
|
||
AutoScaleDimensions = new SizeF(8F, 20F);
|
||
AutoScaleMode = AutoScaleMode.Font;
|
||
ClientSize = new Size(885, 236);
|
||
Controls.Add(panelAdditionalColor);
|
||
Controls.Add(panelBaseColor);
|
||
Controls.Add(panelObject);
|
||
Controls.Add(buttonCancel);
|
||
Controls.Add(buttonAdd);
|
||
Controls.Add(groupBoxConfig);
|
||
Margin = new Padding(3, 4, 3, 4);
|
||
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;
|
||
}
|
||
} |