2023-11-14 12:18:28 +04:00
|
|
|
|
namespace ElectricLocomotive {
|
|
|
|
|
partial class FormLocoConfig {
|
|
|
|
|
/// <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() {
|
|
|
|
|
mainGroupBox = new GroupBox();
|
|
|
|
|
checkBoxBattery = new CheckBox();
|
|
|
|
|
checkBoxRoga = new CheckBox();
|
|
|
|
|
labelAdvanced = new Label();
|
|
|
|
|
labelSimple = new Label();
|
|
|
|
|
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();
|
|
|
|
|
numericUpDownWeight = new NumericUpDown();
|
|
|
|
|
numericUpDownSpeed = new NumericUpDown();
|
|
|
|
|
label2 = new Label();
|
|
|
|
|
label1 = new Label();
|
|
|
|
|
rightPanel = new Panel();
|
|
|
|
|
labelAddColor = new Label();
|
|
|
|
|
labelColor = new Label();
|
|
|
|
|
pictureBox = new PictureBox();
|
|
|
|
|
buttonAdd = new Button();
|
|
|
|
|
buttonCancel = new Button();
|
|
|
|
|
mainGroupBox.SuspendLayout();
|
|
|
|
|
groupBoxColors.SuspendLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)numericUpDownWeight).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)numericUpDownSpeed).BeginInit();
|
|
|
|
|
rightPanel.SuspendLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)pictureBox).BeginInit();
|
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// mainGroupBox
|
|
|
|
|
//
|
|
|
|
|
mainGroupBox.Controls.Add(checkBoxBattery);
|
|
|
|
|
mainGroupBox.Controls.Add(checkBoxRoga);
|
|
|
|
|
mainGroupBox.Controls.Add(labelAdvanced);
|
|
|
|
|
mainGroupBox.Controls.Add(labelSimple);
|
|
|
|
|
mainGroupBox.Controls.Add(groupBoxColors);
|
|
|
|
|
mainGroupBox.Controls.Add(numericUpDownWeight);
|
|
|
|
|
mainGroupBox.Controls.Add(numericUpDownSpeed);
|
|
|
|
|
mainGroupBox.Controls.Add(label2);
|
|
|
|
|
mainGroupBox.Controls.Add(label1);
|
|
|
|
|
mainGroupBox.Location = new Point(12, 12);
|
|
|
|
|
mainGroupBox.Name = "mainGroupBox";
|
|
|
|
|
mainGroupBox.Size = new Size(656, 289);
|
|
|
|
|
mainGroupBox.TabIndex = 0;
|
|
|
|
|
mainGroupBox.TabStop = false;
|
|
|
|
|
mainGroupBox.Text = "Параметры";
|
|
|
|
|
//
|
|
|
|
|
// checkBoxBattery
|
|
|
|
|
//
|
|
|
|
|
checkBoxBattery.AutoSize = true;
|
|
|
|
|
checkBoxBattery.Location = new Point(25, 194);
|
|
|
|
|
checkBoxBattery.Name = "checkBoxBattery";
|
|
|
|
|
checkBoxBattery.Size = new Size(215, 24);
|
|
|
|
|
checkBoxBattery.TabIndex = 8;
|
|
|
|
|
checkBoxBattery.Text = "Признак наличия батарей";
|
|
|
|
|
checkBoxBattery.UseVisualStyleBackColor = true;
|
|
|
|
|
//
|
|
|
|
|
// checkBoxRoga
|
|
|
|
|
//
|
|
|
|
|
checkBoxRoga.AutoSize = true;
|
|
|
|
|
checkBoxRoga.Location = new Point(25, 150);
|
|
|
|
|
checkBoxRoga.Name = "checkBoxRoga";
|
|
|
|
|
checkBoxRoga.Size = new Size(199, 24);
|
|
|
|
|
checkBoxRoga.TabIndex = 7;
|
|
|
|
|
checkBoxRoga.Text = "Признак наличия рогов";
|
|
|
|
|
checkBoxRoga.UseVisualStyleBackColor = true;
|
|
|
|
|
//
|
|
|
|
|
// labelAdvanced
|
|
|
|
|
//
|
|
|
|
|
labelAdvanced.BorderStyle = BorderStyle.FixedSingle;
|
|
|
|
|
labelAdvanced.Location = new Point(498, 231);
|
|
|
|
|
labelAdvanced.Name = "labelAdvanced";
|
|
|
|
|
labelAdvanced.Size = new Size(141, 44);
|
|
|
|
|
labelAdvanced.TabIndex = 6;
|
|
|
|
|
labelAdvanced.Text = "Продвинутый";
|
|
|
|
|
labelAdvanced.TextAlign = ContentAlignment.MiddleCenter;
|
|
|
|
|
//
|
|
|
|
|
// labelSimple
|
|
|
|
|
//
|
|
|
|
|
labelSimple.BorderStyle = BorderStyle.FixedSingle;
|
|
|
|
|
labelSimple.Location = new Point(323, 231);
|
|
|
|
|
labelSimple.Name = "labelSimple";
|
|
|
|
|
labelSimple.Size = new Size(141, 44);
|
|
|
|
|
labelSimple.TabIndex = 5;
|
|
|
|
|
labelSimple.Text = "Простой";
|
|
|
|
|
labelSimple.TextAlign = ContentAlignment.MiddleCenter;
|
|
|
|
|
labelSimple.MouseDown += labelSimple_MouseDown;
|
|
|
|
|
//
|
|
|
|
|
// 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(323, 26);
|
|
|
|
|
groupBoxColors.Name = "groupBoxColors";
|
|
|
|
|
groupBoxColors.Size = new Size(316, 192);
|
|
|
|
|
groupBoxColors.TabIndex = 4;
|
|
|
|
|
groupBoxColors.TabStop = false;
|
|
|
|
|
groupBoxColors.Text = "Цвета";
|
|
|
|
|
//
|
|
|
|
|
// panelPurple
|
|
|
|
|
//
|
|
|
|
|
panelPurple.BackColor = Color.Purple;
|
|
|
|
|
panelPurple.Location = new Point(239, 114);
|
|
|
|
|
panelPurple.Name = "panelPurple";
|
|
|
|
|
panelPurple.Size = new Size(60, 56);
|
|
|
|
|
panelPurple.TabIndex = 3;
|
|
|
|
|
//
|
|
|
|
|
// panelYellow
|
|
|
|
|
//
|
|
|
|
|
panelYellow.BackColor = Color.Yellow;
|
|
|
|
|
panelYellow.Location = new Point(239, 38);
|
|
|
|
|
panelYellow.Name = "panelYellow";
|
|
|
|
|
panelYellow.Size = new Size(60, 56);
|
|
|
|
|
panelYellow.TabIndex = 1;
|
|
|
|
|
//
|
|
|
|
|
// panelBlack
|
|
|
|
|
//
|
|
|
|
|
panelBlack.BackColor = Color.Black;
|
|
|
|
|
panelBlack.Location = new Point(159, 114);
|
|
|
|
|
panelBlack.Name = "panelBlack";
|
|
|
|
|
panelBlack.Size = new Size(60, 56);
|
|
|
|
|
panelBlack.TabIndex = 4;
|
|
|
|
|
//
|
|
|
|
|
// panelBlue
|
|
|
|
|
//
|
|
|
|
|
panelBlue.BackColor = Color.Navy;
|
|
|
|
|
panelBlue.Location = new Point(159, 38);
|
|
|
|
|
panelBlue.Name = "panelBlue";
|
|
|
|
|
panelBlue.Size = new Size(60, 56);
|
|
|
|
|
panelBlue.TabIndex = 1;
|
|
|
|
|
//
|
|
|
|
|
// panelGray
|
|
|
|
|
//
|
|
|
|
|
panelGray.BackColor = Color.Gray;
|
|
|
|
|
panelGray.Location = new Point(81, 114);
|
|
|
|
|
panelGray.Name = "panelGray";
|
|
|
|
|
panelGray.Size = new Size(60, 56);
|
|
|
|
|
panelGray.TabIndex = 5;
|
|
|
|
|
//
|
|
|
|
|
// panelGreen
|
|
|
|
|
//
|
|
|
|
|
panelGreen.BackColor = Color.Green;
|
|
|
|
|
panelGreen.Location = new Point(81, 38);
|
|
|
|
|
panelGreen.Name = "panelGreen";
|
|
|
|
|
panelGreen.Size = new Size(60, 56);
|
|
|
|
|
panelGreen.TabIndex = 1;
|
|
|
|
|
//
|
|
|
|
|
// panelWhite
|
|
|
|
|
//
|
|
|
|
|
panelWhite.BackColor = Color.White;
|
|
|
|
|
panelWhite.Location = new Point(6, 114);
|
|
|
|
|
panelWhite.Name = "panelWhite";
|
|
|
|
|
panelWhite.Size = new Size(60, 56);
|
|
|
|
|
panelWhite.TabIndex = 2;
|
|
|
|
|
//
|
|
|
|
|
// panelRed
|
|
|
|
|
//
|
2023-11-28 12:26:51 +04:00
|
|
|
|
panelRed.BackColor = Color.Red;
|
2023-11-14 12:18:28 +04:00
|
|
|
|
panelRed.Location = new Point(6, 38);
|
|
|
|
|
panelRed.Name = "panelRed";
|
|
|
|
|
panelRed.Size = new Size(60, 56);
|
|
|
|
|
panelRed.TabIndex = 0;
|
|
|
|
|
//
|
|
|
|
|
// numericUpDownWeight
|
|
|
|
|
//
|
|
|
|
|
numericUpDownWeight.Location = new Point(113, 82);
|
|
|
|
|
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(75, 27);
|
|
|
|
|
numericUpDownWeight.TabIndex = 3;
|
|
|
|
|
numericUpDownWeight.Value = new decimal(new int[] { 100, 0, 0, 0 });
|
|
|
|
|
//
|
|
|
|
|
// numericUpDownSpeed
|
|
|
|
|
//
|
|
|
|
|
numericUpDownSpeed.Location = new Point(113, 42);
|
|
|
|
|
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(75, 27);
|
|
|
|
|
numericUpDownSpeed.TabIndex = 2;
|
|
|
|
|
numericUpDownSpeed.Value = new decimal(new int[] { 100, 0, 0, 0 });
|
|
|
|
|
//
|
|
|
|
|
// label2
|
|
|
|
|
//
|
|
|
|
|
label2.AutoSize = true;
|
|
|
|
|
label2.Location = new Point(19, 82);
|
|
|
|
|
label2.Name = "label2";
|
|
|
|
|
label2.Size = new Size(33, 20);
|
|
|
|
|
label2.TabIndex = 1;
|
|
|
|
|
label2.Text = "Вес";
|
|
|
|
|
//
|
|
|
|
|
// label1
|
|
|
|
|
//
|
|
|
|
|
label1.AutoSize = true;
|
|
|
|
|
label1.Location = new Point(19, 42);
|
|
|
|
|
label1.Name = "label1";
|
|
|
|
|
label1.Size = new Size(73, 20);
|
|
|
|
|
label1.TabIndex = 0;
|
|
|
|
|
label1.Text = "Скорость";
|
|
|
|
|
//
|
|
|
|
|
// rightPanel
|
|
|
|
|
//
|
|
|
|
|
rightPanel.AllowDrop = true;
|
|
|
|
|
rightPanel.Controls.Add(labelAddColor);
|
|
|
|
|
rightPanel.Controls.Add(labelColor);
|
|
|
|
|
rightPanel.Controls.Add(pictureBox);
|
|
|
|
|
rightPanel.Location = new Point(689, 21);
|
|
|
|
|
rightPanel.Name = "rightPanel";
|
|
|
|
|
rightPanel.Size = new Size(348, 234);
|
|
|
|
|
rightPanel.TabIndex = 1;
|
|
|
|
|
rightPanel.DragDrop += rightPanel_DragDrop;
|
|
|
|
|
rightPanel.DragEnter += rightPanel_DragEnter;
|
|
|
|
|
//
|
|
|
|
|
// labelAddColor
|
|
|
|
|
//
|
|
|
|
|
labelAddColor.AllowDrop = true;
|
|
|
|
|
labelAddColor.BorderStyle = BorderStyle.FixedSingle;
|
|
|
|
|
labelAddColor.Location = new Point(184, 12);
|
|
|
|
|
labelAddColor.Name = "labelAddColor";
|
|
|
|
|
labelAddColor.Size = new Size(149, 40);
|
|
|
|
|
labelAddColor.TabIndex = 2;
|
|
|
|
|
labelAddColor.Text = "Доп. Цвет";
|
|
|
|
|
labelAddColor.TextAlign = ContentAlignment.MiddleCenter;
|
|
|
|
|
labelAddColor.DragDrop += labelAddColor_DragDrop;
|
|
|
|
|
labelAddColor.DragEnter += labelAddColor_DragEnter;
|
|
|
|
|
//
|
|
|
|
|
// labelColor
|
|
|
|
|
//
|
|
|
|
|
labelColor.AllowDrop = true;
|
|
|
|
|
labelColor.BorderStyle = BorderStyle.FixedSingle;
|
|
|
|
|
labelColor.Location = new Point(16, 12);
|
|
|
|
|
labelColor.Name = "labelColor";
|
|
|
|
|
labelColor.Size = new Size(149, 40);
|
|
|
|
|
labelColor.TabIndex = 1;
|
|
|
|
|
labelColor.Text = "Цвет";
|
|
|
|
|
labelColor.TextAlign = ContentAlignment.MiddleCenter;
|
|
|
|
|
labelColor.DragDrop += labelColor_DragDrop;
|
|
|
|
|
labelColor.DragEnter += labelColor_DragEnter;
|
|
|
|
|
//
|
|
|
|
|
// pictureBox
|
|
|
|
|
//
|
|
|
|
|
pictureBox.Location = new Point(16, 55);
|
|
|
|
|
pictureBox.Name = "pictureBox";
|
|
|
|
|
pictureBox.Size = new Size(317, 165);
|
|
|
|
|
pictureBox.TabIndex = 0;
|
|
|
|
|
pictureBox.TabStop = false;
|
|
|
|
|
//
|
|
|
|
|
// buttonAdd
|
|
|
|
|
//
|
|
|
|
|
buttonAdd.Location = new Point(689, 266);
|
|
|
|
|
buttonAdd.Name = "buttonAdd";
|
|
|
|
|
buttonAdd.Size = new Size(165, 35);
|
|
|
|
|
buttonAdd.TabIndex = 2;
|
|
|
|
|
buttonAdd.Text = "Добавить";
|
|
|
|
|
buttonAdd.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonAdd.Click += buttonAdd_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonCancel
|
|
|
|
|
//
|
|
|
|
|
buttonCancel.Location = new Point(872, 266);
|
|
|
|
|
buttonCancel.Name = "buttonCancel";
|
|
|
|
|
buttonCancel.Size = new Size(165, 35);
|
|
|
|
|
buttonCancel.TabIndex = 3;
|
|
|
|
|
buttonCancel.Text = "Отмена";
|
|
|
|
|
buttonCancel.UseVisualStyleBackColor = true;
|
|
|
|
|
//
|
|
|
|
|
// FormLocoConfig
|
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
|
|
|
ClientSize = new Size(1053, 313);
|
|
|
|
|
Controls.Add(buttonCancel);
|
|
|
|
|
Controls.Add(buttonAdd);
|
|
|
|
|
Controls.Add(rightPanel);
|
|
|
|
|
Controls.Add(mainGroupBox);
|
|
|
|
|
Name = "FormLocoConfig";
|
|
|
|
|
Text = "Создание объекта";
|
|
|
|
|
mainGroupBox.ResumeLayout(false);
|
|
|
|
|
mainGroupBox.PerformLayout();
|
|
|
|
|
groupBoxColors.ResumeLayout(false);
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)numericUpDownWeight).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)numericUpDownSpeed).EndInit();
|
|
|
|
|
rightPanel.ResumeLayout(false);
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)pictureBox).EndInit();
|
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private GroupBox mainGroupBox;
|
|
|
|
|
private Label label1;
|
|
|
|
|
private Label label2;
|
|
|
|
|
private NumericUpDown numericUpDownSpeed;
|
|
|
|
|
private Label labelSimple;
|
|
|
|
|
private GroupBox groupBoxColors;
|
|
|
|
|
private NumericUpDown numericUpDownWeight;
|
|
|
|
|
private Label labelAdvanced;
|
|
|
|
|
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 CheckBox checkBoxBattery;
|
|
|
|
|
private CheckBox checkBoxRoga;
|
|
|
|
|
private Panel rightPanel;
|
|
|
|
|
private Label labelAddColor;
|
|
|
|
|
private Label labelColor;
|
|
|
|
|
private PictureBox pictureBox;
|
|
|
|
|
private Button buttonAdd;
|
|
|
|
|
private Button buttonCancel;
|
|
|
|
|
}
|
|
|
|
|
}
|