365 lines
15 KiB
C#
365 lines
15 KiB
C#
namespace ProjectTrolleybus
|
||
{
|
||
partial class FormBusConfig
|
||
{
|
||
/// <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();
|
||
labelAdvanced = new Label();
|
||
labelSimple = new Label();
|
||
groupBoxColor = new GroupBox();
|
||
panelPurple = new Panel();
|
||
panelBlack = new Panel();
|
||
panelGray = new Panel();
|
||
panelWhite = new Panel();
|
||
panelYellow = new Panel();
|
||
panelBlue = new Panel();
|
||
panelGreen = new Panel();
|
||
panelRed = new Panel();
|
||
checkBoxBattery = new CheckBox();
|
||
checkBoxRoga = new CheckBox();
|
||
numericUpDownWeight = new NumericUpDown();
|
||
numericUpDownSpeed = new NumericUpDown();
|
||
labelWeight = new Label();
|
||
labelSpeed = new Label();
|
||
panelAllow = new Panel();
|
||
pictureBoxObject = new PictureBox();
|
||
labelAdditionalColor = new Label();
|
||
labelColor = new Label();
|
||
buttonAdd = new Button();
|
||
buttonCancel = new Button();
|
||
groupBoxConfig.SuspendLayout();
|
||
groupBoxColor.SuspendLayout();
|
||
((System.ComponentModel.ISupportInitialize)numericUpDownWeight).BeginInit();
|
||
((System.ComponentModel.ISupportInitialize)numericUpDownSpeed).BeginInit();
|
||
panelAllow.SuspendLayout();
|
||
((System.ComponentModel.ISupportInitialize)pictureBoxObject).BeginInit();
|
||
SuspendLayout();
|
||
//
|
||
// groupBoxConfig
|
||
//
|
||
groupBoxConfig.Controls.Add(labelAdvanced);
|
||
groupBoxConfig.Controls.Add(labelSimple);
|
||
groupBoxConfig.Controls.Add(groupBoxColor);
|
||
groupBoxConfig.Controls.Add(checkBoxBattery);
|
||
groupBoxConfig.Controls.Add(checkBoxRoga);
|
||
groupBoxConfig.Controls.Add(numericUpDownWeight);
|
||
groupBoxConfig.Controls.Add(numericUpDownSpeed);
|
||
groupBoxConfig.Controls.Add(labelWeight);
|
||
groupBoxConfig.Controls.Add(labelSpeed);
|
||
groupBoxConfig.Location = new Point(12, 12);
|
||
groupBoxConfig.Name = "groupBoxConfig";
|
||
groupBoxConfig.Size = new Size(737, 337);
|
||
groupBoxConfig.TabIndex = 0;
|
||
groupBoxConfig.TabStop = false;
|
||
groupBoxConfig.Text = "Параметры";
|
||
//
|
||
// labelAdvanced
|
||
//
|
||
labelAdvanced.BorderStyle = BorderStyle.FixedSingle;
|
||
labelAdvanced.Location = new Point(574, 262);
|
||
labelAdvanced.Name = "labelAdvanced";
|
||
labelAdvanced.Size = new Size(120, 52);
|
||
labelAdvanced.TabIndex = 8;
|
||
labelAdvanced.Text = "Продвинутый";
|
||
labelAdvanced.TextAlign = ContentAlignment.MiddleCenter;
|
||
labelAdvanced.MouseDown += LabelObject_MouseDown;
|
||
//
|
||
// labelSimple
|
||
//
|
||
labelSimple.BorderStyle = BorderStyle.FixedSingle;
|
||
labelSimple.Location = new Point(443, 262);
|
||
labelSimple.Name = "labelSimple";
|
||
labelSimple.Size = new Size(116, 52);
|
||
labelSimple.TabIndex = 7;
|
||
labelSimple.Text = "Простой";
|
||
labelSimple.TextAlign = ContentAlignment.MiddleCenter;
|
||
labelSimple.MouseDown += LabelObject_MouseDown;
|
||
//
|
||
// groupBoxColor
|
||
//
|
||
groupBoxColor.Controls.Add(panelPurple);
|
||
groupBoxColor.Controls.Add(panelBlack);
|
||
groupBoxColor.Controls.Add(panelGray);
|
||
groupBoxColor.Controls.Add(panelWhite);
|
||
groupBoxColor.Controls.Add(panelYellow);
|
||
groupBoxColor.Controls.Add(panelBlue);
|
||
groupBoxColor.Controls.Add(panelGreen);
|
||
groupBoxColor.Controls.Add(panelRed);
|
||
groupBoxColor.Location = new Point(411, 53);
|
||
groupBoxColor.Name = "groupBoxColor";
|
||
groupBoxColor.Size = new Size(306, 182);
|
||
groupBoxColor.TabIndex = 6;
|
||
groupBoxColor.TabStop = false;
|
||
groupBoxColor.Text = "Цвета";
|
||
//
|
||
// panelPurple
|
||
//
|
||
panelPurple.BackColor = Color.Purple;
|
||
panelPurple.Location = new Point(236, 98);
|
||
panelPurple.Name = "panelPurple";
|
||
panelPurple.Size = new Size(58, 49);
|
||
panelPurple.TabIndex = 1;
|
||
panelPurple.MouseDown += PanelColor_MouseDown;
|
||
//
|
||
// panelBlack
|
||
//
|
||
panelBlack.BackColor = Color.Black;
|
||
panelBlack.Location = new Point(163, 98);
|
||
panelBlack.Name = "panelBlack";
|
||
panelBlack.Size = new Size(58, 49);
|
||
panelBlack.TabIndex = 1;
|
||
panelBlack.MouseDown += PanelColor_MouseDown;
|
||
//
|
||
// panelGray
|
||
//
|
||
panelGray.BackColor = Color.Gray;
|
||
panelGray.Location = new Point(90, 98);
|
||
panelGray.Name = "panelGray";
|
||
panelGray.Size = new Size(58, 49);
|
||
panelGray.TabIndex = 1;
|
||
panelGray.MouseDown += PanelColor_MouseDown;
|
||
//
|
||
// panelWhite
|
||
//
|
||
panelWhite.BackColor = Color.White;
|
||
panelWhite.Location = new Point(15, 98);
|
||
panelWhite.Name = "panelWhite";
|
||
panelWhite.Size = new Size(58, 49);
|
||
panelWhite.TabIndex = 1;
|
||
panelWhite.MouseDown += PanelColor_MouseDown;
|
||
//
|
||
// panelYellow
|
||
//
|
||
panelYellow.BackColor = Color.Yellow;
|
||
panelYellow.Location = new Point(236, 33);
|
||
panelYellow.Name = "panelYellow";
|
||
panelYellow.Size = new Size(58, 49);
|
||
panelYellow.TabIndex = 1;
|
||
panelYellow.MouseDown += PanelColor_MouseDown;
|
||
//
|
||
// panelBlue
|
||
//
|
||
panelBlue.BackColor = Color.Blue;
|
||
panelBlue.Location = new Point(163, 33);
|
||
panelBlue.Name = "panelBlue";
|
||
panelBlue.Size = new Size(58, 49);
|
||
panelBlue.TabIndex = 1;
|
||
panelBlue.MouseDown += PanelColor_MouseDown;
|
||
//
|
||
// panelGreen
|
||
//
|
||
panelGreen.BackColor = Color.Green;
|
||
panelGreen.Location = new Point(90, 33);
|
||
panelGreen.Name = "panelGreen";
|
||
panelGreen.Size = new Size(58, 49);
|
||
panelGreen.TabIndex = 1;
|
||
panelGreen.MouseDown += PanelColor_MouseDown;
|
||
//
|
||
// panelRed
|
||
//
|
||
panelRed.BackColor = Color.Red;
|
||
panelRed.Location = new Point(15, 33);
|
||
panelRed.Name = "panelRed";
|
||
panelRed.Size = new Size(58, 49);
|
||
panelRed.TabIndex = 0;
|
||
panelRed.MouseDown += PanelColor_MouseDown;
|
||
//
|
||
// checkBoxBattery
|
||
//
|
||
checkBoxBattery.AutoSize = true;
|
||
checkBoxBattery.Location = new Point(6, 214);
|
||
checkBoxBattery.Name = "checkBoxBattery";
|
||
checkBoxBattery.Size = new Size(399, 24);
|
||
checkBoxBattery.TabIndex = 5;
|
||
checkBoxBattery.Text = "Признак наличия отсека под электрические батареи";
|
||
checkBoxBattery.UseVisualStyleBackColor = true;
|
||
//
|
||
// checkBoxRoga
|
||
//
|
||
checkBoxRoga.AutoSize = true;
|
||
checkBoxRoga.Location = new Point(6, 171);
|
||
checkBoxRoga.Name = "checkBoxRoga";
|
||
checkBoxRoga.Size = new Size(277, 24);
|
||
checkBoxRoga.TabIndex = 4;
|
||
checkBoxRoga.Text = "Признак наличия токоприёмников";
|
||
checkBoxRoga.UseVisualStyleBackColor = true;
|
||
//
|
||
// numericUpDownWeight
|
||
//
|
||
numericUpDownWeight.Location = new Point(102, 111);
|
||
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(150, 27);
|
||
numericUpDownWeight.TabIndex = 3;
|
||
numericUpDownWeight.Value = new decimal(new int[] { 100, 0, 0, 0 });
|
||
//
|
||
// numericUpDownSpeed
|
||
//
|
||
numericUpDownSpeed.Location = new Point(102, 53);
|
||
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(150, 27);
|
||
numericUpDownSpeed.TabIndex = 2;
|
||
numericUpDownSpeed.Value = new decimal(new int[] { 100, 0, 0, 0 });
|
||
//
|
||
// labelWeight
|
||
//
|
||
labelWeight.AutoSize = true;
|
||
labelWeight.Location = new Point(6, 113);
|
||
labelWeight.Name = "labelWeight";
|
||
labelWeight.Size = new Size(36, 20);
|
||
labelWeight.TabIndex = 1;
|
||
labelWeight.Text = "Вес:";
|
||
//
|
||
// labelSpeed
|
||
//
|
||
labelSpeed.AutoSize = true;
|
||
labelSpeed.Location = new Point(6, 55);
|
||
labelSpeed.Name = "labelSpeed";
|
||
labelSpeed.Size = new Size(76, 20);
|
||
labelSpeed.TabIndex = 0;
|
||
labelSpeed.Text = "Скорость:";
|
||
//
|
||
// panelAllow
|
||
//
|
||
panelAllow.AllowDrop = true;
|
||
panelAllow.Controls.Add(pictureBoxObject);
|
||
panelAllow.Controls.Add(labelAdditionalColor);
|
||
panelAllow.Controls.Add(labelColor);
|
||
panelAllow.Location = new Point(755, 12);
|
||
panelAllow.Name = "panelAllow";
|
||
panelAllow.Size = new Size(362, 292);
|
||
panelAllow.TabIndex = 1;
|
||
panelAllow.DragDrop += PanelObject_DragDrop;
|
||
panelAllow.DragEnter += PanelObject_DragEnter;
|
||
//
|
||
// pictureBoxObject
|
||
//
|
||
pictureBoxObject.Location = new Point(61, 86);
|
||
pictureBoxObject.Name = "pictureBoxObject";
|
||
pictureBoxObject.Size = new Size(227, 161);
|
||
pictureBoxObject.TabIndex = 2;
|
||
pictureBoxObject.TabStop = false;
|
||
//
|
||
// labelAdditionalColor
|
||
//
|
||
labelAdditionalColor.AllowDrop = true;
|
||
labelAdditionalColor.BorderStyle = BorderStyle.FixedSingle;
|
||
labelAdditionalColor.Location = new Point(200, 13);
|
||
labelAdditionalColor.Name = "labelAdditionalColor";
|
||
labelAdditionalColor.Size = new Size(129, 49);
|
||
labelAdditionalColor.TabIndex = 1;
|
||
labelAdditionalColor.Text = "Доп. цвет";
|
||
labelAdditionalColor.TextAlign = ContentAlignment.MiddleCenter;
|
||
labelAdditionalColor.DragDrop += labelAdditionalColor_DragDrop;
|
||
labelAdditionalColor.DragEnter += labelColor_DragEnter;
|
||
//
|
||
// labelColor
|
||
//
|
||
labelColor.AllowDrop = true;
|
||
labelColor.BorderStyle = BorderStyle.FixedSingle;
|
||
labelColor.Location = new Point(26, 13);
|
||
labelColor.Name = "labelColor";
|
||
labelColor.Size = new Size(142, 49);
|
||
labelColor.TabIndex = 0;
|
||
labelColor.Text = "Цвет";
|
||
labelColor.TextAlign = ContentAlignment.MiddleCenter;
|
||
labelColor.DragDrop += labelColor_DragDrop;
|
||
labelColor.DragEnter += labelColor_DragEnter;
|
||
//
|
||
// buttonAdd
|
||
//
|
||
buttonAdd.Location = new Point(781, 321);
|
||
buttonAdd.Name = "buttonAdd";
|
||
buttonAdd.Size = new Size(142, 45);
|
||
buttonAdd.TabIndex = 2;
|
||
buttonAdd.Text = "Добавить";
|
||
buttonAdd.UseVisualStyleBackColor = true;
|
||
buttonAdd.Click += ButtonOk_Click;
|
||
//
|
||
// buttonCancel
|
||
//
|
||
buttonCancel.Location = new Point(955, 321);
|
||
buttonCancel.Name = "buttonCancel";
|
||
buttonCancel.Size = new Size(129, 45);
|
||
buttonCancel.TabIndex = 3;
|
||
buttonCancel.Text = "Отмена";
|
||
buttonCancel.UseVisualStyleBackColor = true;
|
||
//
|
||
// FormBusConfig
|
||
//
|
||
AutoScaleDimensions = new SizeF(8F, 20F);
|
||
AutoScaleMode = AutoScaleMode.Font;
|
||
ClientSize = new Size(1123, 386);
|
||
Controls.Add(buttonCancel);
|
||
Controls.Add(buttonAdd);
|
||
Controls.Add(panelAllow);
|
||
Controls.Add(groupBoxConfig);
|
||
Name = "FormBusConfig";
|
||
StartPosition = FormStartPosition.CenterScreen;
|
||
Text = "Создание объекта";
|
||
groupBoxConfig.ResumeLayout(false);
|
||
groupBoxConfig.PerformLayout();
|
||
groupBoxColor.ResumeLayout(false);
|
||
((System.ComponentModel.ISupportInitialize)numericUpDownWeight).EndInit();
|
||
((System.ComponentModel.ISupportInitialize)numericUpDownSpeed).EndInit();
|
||
panelAllow.ResumeLayout(false);
|
||
((System.ComponentModel.ISupportInitialize)pictureBoxObject).EndInit();
|
||
ResumeLayout(false);
|
||
}
|
||
|
||
#endregion
|
||
|
||
private GroupBox groupBoxConfig;
|
||
private Label labelSpeed;
|
||
private NumericUpDown numericUpDownWeight;
|
||
private NumericUpDown numericUpDownSpeed;
|
||
private Label labelWeight;
|
||
private GroupBox groupBoxColor;
|
||
private CheckBox checkBoxBattery;
|
||
private CheckBox checkBoxRoga;
|
||
private Panel panelPurple;
|
||
private Panel panelBlack;
|
||
private Panel panelGray;
|
||
private Panel panelWhite;
|
||
private Panel panelYellow;
|
||
private Panel panelBlue;
|
||
private Panel panelGreen;
|
||
private Panel panelRed;
|
||
private Label labelAdvanced;
|
||
private Label labelSimple;
|
||
private Panel panelAllow;
|
||
private Label labelColor;
|
||
private PictureBox pictureBoxObject;
|
||
private Label labelAdditionalColor;
|
||
private Button buttonAdd;
|
||
private Button buttonCancel;
|
||
}
|
||
} |