357 lines
15 KiB
C#
357 lines
15 KiB
C#
|
namespace ContainerShip
|
|||
|
{
|
|||
|
partial class FormShipConfig
|
|||
|
{
|
|||
|
/// <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();
|
|||
|
labelAdvancedObject = new Label();
|
|||
|
labelSimpleObject = new Label();
|
|||
|
groupBoxColor = new GroupBox();
|
|||
|
panelBlue = new Panel();
|
|||
|
panelBlack = new Panel();
|
|||
|
panelPink = new Panel();
|
|||
|
panelGray = new Panel();
|
|||
|
panelGreen = new Panel();
|
|||
|
panelYellow = new Panel();
|
|||
|
panelRoyalBlue = new Panel();
|
|||
|
panelFirebrick = new Panel();
|
|||
|
checkBoxCrane = new CheckBox();
|
|||
|
checkBoxLoad = new CheckBox();
|
|||
|
numericUpDownSpeed = new NumericUpDown();
|
|||
|
numericUpDownWeight = new NumericUpDown();
|
|||
|
labelWeight = new Label();
|
|||
|
labelSpeed = new Label();
|
|||
|
panelObject = new Panel();
|
|||
|
labelAdditionalColor = new Label();
|
|||
|
labelMainColor = new Label();
|
|||
|
pictureBoxObject = new PictureBox();
|
|||
|
buttonCancel = new Button();
|
|||
|
buttonAdd = new Button();
|
|||
|
groupBoxConfig.SuspendLayout();
|
|||
|
groupBoxColor.SuspendLayout();
|
|||
|
((System.ComponentModel.ISupportInitialize)numericUpDownSpeed).BeginInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)numericUpDownWeight).BeginInit();
|
|||
|
panelObject.SuspendLayout();
|
|||
|
((System.ComponentModel.ISupportInitialize)pictureBoxObject).BeginInit();
|
|||
|
SuspendLayout();
|
|||
|
//
|
|||
|
// groupBoxConfig
|
|||
|
//
|
|||
|
groupBoxConfig.Controls.Add(labelAdvancedObject);
|
|||
|
groupBoxConfig.Controls.Add(labelSimpleObject);
|
|||
|
groupBoxConfig.Controls.Add(groupBoxColor);
|
|||
|
groupBoxConfig.Controls.Add(checkBoxCrane);
|
|||
|
groupBoxConfig.Controls.Add(checkBoxLoad);
|
|||
|
groupBoxConfig.Controls.Add(numericUpDownSpeed);
|
|||
|
groupBoxConfig.Controls.Add(numericUpDownWeight);
|
|||
|
groupBoxConfig.Controls.Add(labelWeight);
|
|||
|
groupBoxConfig.Controls.Add(labelSpeed);
|
|||
|
groupBoxConfig.Location = new Point(47, 93);
|
|||
|
groupBoxConfig.Name = "groupBoxConfig";
|
|||
|
groupBoxConfig.Size = new Size(570, 251);
|
|||
|
groupBoxConfig.TabIndex = 3;
|
|||
|
groupBoxConfig.TabStop = false;
|
|||
|
groupBoxConfig.Text = "Параметры";
|
|||
|
//
|
|||
|
// labelAdvancedObject
|
|||
|
//
|
|||
|
labelAdvancedObject.BorderStyle = BorderStyle.FixedSingle;
|
|||
|
labelAdvancedObject.Location = new Point(440, 188);
|
|||
|
labelAdvancedObject.Name = "labelAdvancedObject";
|
|||
|
labelAdvancedObject.Size = new Size(120, 30);
|
|||
|
labelAdvancedObject.TabIndex = 8;
|
|||
|
labelAdvancedObject.Text = "Продвинутый";
|
|||
|
labelAdvancedObject.TextAlign = ContentAlignment.MiddleCenter;
|
|||
|
labelAdvancedObject.MouseDown += LabelObject_MouseDown;
|
|||
|
//
|
|||
|
// labelSimpleObject
|
|||
|
//
|
|||
|
labelSimpleObject.BorderStyle = BorderStyle.FixedSingle;
|
|||
|
labelSimpleObject.Location = new Point(283, 188);
|
|||
|
labelSimpleObject.Name = "labelSimpleObject";
|
|||
|
labelSimpleObject.Size = new Size(120, 30);
|
|||
|
labelSimpleObject.TabIndex = 7;
|
|||
|
labelSimpleObject.Text = "Простой";
|
|||
|
labelSimpleObject.TextAlign = ContentAlignment.MiddleCenter;
|
|||
|
labelSimpleObject.MouseDown += LabelObject_MouseDown;
|
|||
|
//
|
|||
|
// groupBoxColor
|
|||
|
//
|
|||
|
groupBoxColor.Controls.Add(panelBlue);
|
|||
|
groupBoxColor.Controls.Add(panelBlack);
|
|||
|
groupBoxColor.Controls.Add(panelPink);
|
|||
|
groupBoxColor.Controls.Add(panelGray);
|
|||
|
groupBoxColor.Controls.Add(panelGreen);
|
|||
|
groupBoxColor.Controls.Add(panelYellow);
|
|||
|
groupBoxColor.Controls.Add(panelRoyalBlue);
|
|||
|
groupBoxColor.Controls.Add(panelFirebrick);
|
|||
|
groupBoxColor.Location = new Point(283, 32);
|
|||
|
groupBoxColor.Name = "groupBoxColor";
|
|||
|
groupBoxColor.Size = new Size(277, 145);
|
|||
|
groupBoxColor.TabIndex = 6;
|
|||
|
groupBoxColor.TabStop = false;
|
|||
|
groupBoxColor.Text = "Цвета";
|
|||
|
//
|
|||
|
// panelBlue
|
|||
|
//
|
|||
|
panelBlue.BackColor = Color.Blue;
|
|||
|
panelBlue.Location = new Point(5, 85);
|
|||
|
panelBlue.Name = "panelBlue";
|
|||
|
panelBlue.Size = new Size(50, 40);
|
|||
|
panelBlue.TabIndex = 0;
|
|||
|
//
|
|||
|
// panelBlack
|
|||
|
//
|
|||
|
panelBlack.BackColor = Color.Black;
|
|||
|
panelBlack.Location = new Point(75, 85);
|
|||
|
panelBlack.Name = "panelBlack";
|
|||
|
panelBlack.Size = new Size(50, 40);
|
|||
|
panelBlack.TabIndex = 0;
|
|||
|
//
|
|||
|
// panelPink
|
|||
|
//
|
|||
|
panelPink.BackColor = Color.DeepPink;
|
|||
|
panelPink.Location = new Point(145, 85);
|
|||
|
panelPink.Name = "panelPink";
|
|||
|
panelPink.Size = new Size(50, 40);
|
|||
|
panelPink.TabIndex = 0;
|
|||
|
//
|
|||
|
// panelGray
|
|||
|
//
|
|||
|
panelGray.BackColor = Color.Gray;
|
|||
|
panelGray.Location = new Point(215, 85);
|
|||
|
panelGray.Name = "panelGray";
|
|||
|
panelGray.Size = new Size(50, 40);
|
|||
|
panelGray.TabIndex = 0;
|
|||
|
//
|
|||
|
// panelGreen
|
|||
|
//
|
|||
|
panelGreen.BackColor = Color.FromArgb(0, 192, 0);
|
|||
|
panelGreen.Location = new Point(215, 25);
|
|||
|
panelGreen.Name = "panelGreen";
|
|||
|
panelGreen.Size = new Size(50, 40);
|
|||
|
panelGreen.TabIndex = 0;
|
|||
|
//
|
|||
|
// panelYellow
|
|||
|
//
|
|||
|
panelYellow.BackColor = Color.Yellow;
|
|||
|
panelYellow.Location = new Point(145, 25);
|
|||
|
panelYellow.Name = "panelYellow";
|
|||
|
panelYellow.Size = new Size(50, 40);
|
|||
|
panelYellow.TabIndex = 0;
|
|||
|
//
|
|||
|
// panelRoyalBlue
|
|||
|
//
|
|||
|
panelRoyalBlue.BackColor = Color.RoyalBlue;
|
|||
|
panelRoyalBlue.Location = new Point(75, 25);
|
|||
|
panelRoyalBlue.Name = "panelRoyalBlue";
|
|||
|
panelRoyalBlue.Size = new Size(50, 40);
|
|||
|
panelRoyalBlue.TabIndex = 0;
|
|||
|
//
|
|||
|
// panelFirebrick
|
|||
|
//
|
|||
|
panelFirebrick.BackColor = Color.Firebrick;
|
|||
|
panelFirebrick.Location = new Point(5, 25);
|
|||
|
panelFirebrick.Name = "panelFirebrick";
|
|||
|
panelFirebrick.Size = new Size(50, 40);
|
|||
|
panelFirebrick.TabIndex = 0;
|
|||
|
//
|
|||
|
// checkBoxCrane
|
|||
|
//
|
|||
|
checkBoxCrane.AutoSize = true;
|
|||
|
checkBoxCrane.Location = new Point(13, 149);
|
|||
|
checkBoxCrane.Name = "checkBoxCrane";
|
|||
|
checkBoxCrane.Size = new Size(137, 24);
|
|||
|
checkBoxCrane.TabIndex = 5;
|
|||
|
checkBoxCrane.Text = "Наличие крана";
|
|||
|
checkBoxCrane.UseVisualStyleBackColor = true;
|
|||
|
//
|
|||
|
// checkBoxLoad
|
|||
|
//
|
|||
|
checkBoxLoad.AutoSize = true;
|
|||
|
checkBoxLoad.Location = new Point(13, 119);
|
|||
|
checkBoxLoad.Name = "checkBoxLoad";
|
|||
|
checkBoxLoad.Size = new Size(133, 24);
|
|||
|
checkBoxLoad.TabIndex = 4;
|
|||
|
checkBoxLoad.Text = "Наличие груза";
|
|||
|
checkBoxLoad.UseVisualStyleBackColor = true;
|
|||
|
//
|
|||
|
// numericUpDownSpeed
|
|||
|
//
|
|||
|
numericUpDownSpeed.Location = new Point(94, 32);
|
|||
|
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 = 3;
|
|||
|
numericUpDownSpeed.Value = new decimal(new int[] { 100, 0, 0, 0 });
|
|||
|
//
|
|||
|
// numericUpDownWeight
|
|||
|
//
|
|||
|
numericUpDownWeight.Location = new Point(94, 83);
|
|||
|
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 = 2;
|
|||
|
numericUpDownWeight.Value = new decimal(new int[] { 100, 0, 0, 0 });
|
|||
|
//
|
|||
|
// labelWeight
|
|||
|
//
|
|||
|
labelWeight.AutoSize = true;
|
|||
|
labelWeight.Location = new Point(6, 85);
|
|||
|
labelWeight.Name = "labelWeight";
|
|||
|
labelWeight.Size = new Size(36, 20);
|
|||
|
labelWeight.TabIndex = 1;
|
|||
|
labelWeight.Text = "Вес:";
|
|||
|
//
|
|||
|
// labelSpeed
|
|||
|
//
|
|||
|
labelSpeed.AutoSize = true;
|
|||
|
labelSpeed.Location = new Point(6, 32);
|
|||
|
labelSpeed.Name = "labelSpeed";
|
|||
|
labelSpeed.Size = new Size(76, 20);
|
|||
|
labelSpeed.TabIndex = 0;
|
|||
|
labelSpeed.Text = "Скорость:";
|
|||
|
//
|
|||
|
// panelObject
|
|||
|
//
|
|||
|
panelObject.AllowDrop = true;
|
|||
|
panelObject.Controls.Add(labelAdditionalColor);
|
|||
|
panelObject.Controls.Add(labelMainColor);
|
|||
|
panelObject.Controls.Add(pictureBoxObject);
|
|||
|
panelObject.Location = new Point(646, 74);
|
|||
|
panelObject.Name = "panelObject";
|
|||
|
panelObject.Size = new Size(401, 301);
|
|||
|
panelObject.TabIndex = 4;
|
|||
|
panelObject.DragDrop += PanelObject_DragDrop;
|
|||
|
panelObject.DragEnter += PanelObject_DragEnter;
|
|||
|
//
|
|||
|
// labelAdditionalColor
|
|||
|
//
|
|||
|
labelAdditionalColor.AllowDrop = true;
|
|||
|
labelAdditionalColor.BorderStyle = BorderStyle.FixedSingle;
|
|||
|
labelAdditionalColor.Location = new Point(233, 19);
|
|||
|
labelAdditionalColor.Name = "labelAdditionalColor";
|
|||
|
labelAdditionalColor.Size = new Size(90, 50);
|
|||
|
labelAdditionalColor.TabIndex = 3;
|
|||
|
labelAdditionalColor.Text = "Доп. цвет";
|
|||
|
labelAdditionalColor.TextAlign = ContentAlignment.MiddleCenter;
|
|||
|
labelAdditionalColor.DragDrop += LabelAdditionalColor_DragDrop;
|
|||
|
labelAdditionalColor.DragEnter += LabelColor_DragEnter;
|
|||
|
//
|
|||
|
// labelMainColor
|
|||
|
//
|
|||
|
labelMainColor.AllowDrop = true;
|
|||
|
labelMainColor.BorderStyle = BorderStyle.FixedSingle;
|
|||
|
labelMainColor.Location = new Point(77, 19);
|
|||
|
labelMainColor.Name = "labelMainColor";
|
|||
|
labelMainColor.Size = new Size(90, 50);
|
|||
|
labelMainColor.TabIndex = 2;
|
|||
|
labelMainColor.Text = "Цвет";
|
|||
|
labelMainColor.TextAlign = ContentAlignment.MiddleCenter;
|
|||
|
labelMainColor.DragDrop += LabelMainColor_DragDrop;
|
|||
|
labelMainColor.DragEnter += LabelMainColor_DragEnter;
|
|||
|
//
|
|||
|
// pictureBoxObject
|
|||
|
//
|
|||
|
pictureBoxObject.BorderStyle = BorderStyle.FixedSingle;
|
|||
|
pictureBoxObject.Location = new Point(35, 84);
|
|||
|
pictureBoxObject.Name = "pictureBoxObject";
|
|||
|
pictureBoxObject.Size = new Size(327, 205);
|
|||
|
pictureBoxObject.TabIndex = 1;
|
|||
|
pictureBoxObject.TabStop = false;
|
|||
|
//
|
|||
|
// buttonCancel
|
|||
|
//
|
|||
|
buttonCancel.Location = new Point(879, 394);
|
|||
|
buttonCancel.Name = "buttonCancel";
|
|||
|
buttonCancel.Size = new Size(94, 29);
|
|||
|
buttonCancel.TabIndex = 6;
|
|||
|
buttonCancel.Text = "Отмена";
|
|||
|
buttonCancel.UseVisualStyleBackColor = true;
|
|||
|
//
|
|||
|
// buttonAdd
|
|||
|
//
|
|||
|
buttonAdd.Location = new Point(722, 392);
|
|||
|
buttonAdd.Name = "buttonAdd";
|
|||
|
buttonAdd.Size = new Size(94, 29);
|
|||
|
buttonAdd.TabIndex = 5;
|
|||
|
buttonAdd.Text = "Добавить";
|
|||
|
buttonAdd.UseVisualStyleBackColor = true;
|
|||
|
buttonAdd.Click += ButtonAdd_Click;
|
|||
|
//
|
|||
|
// FormShipConfig
|
|||
|
//
|
|||
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|||
|
AutoScaleMode = AutoScaleMode.Font;
|
|||
|
ClientSize = new Size(1095, 449);
|
|||
|
Controls.Add(buttonCancel);
|
|||
|
Controls.Add(buttonAdd);
|
|||
|
Controls.Add(groupBoxConfig);
|
|||
|
Controls.Add(panelObject);
|
|||
|
Name = "FormShipConfig";
|
|||
|
Text = "FormShipConfig";
|
|||
|
groupBoxConfig.ResumeLayout(false);
|
|||
|
groupBoxConfig.PerformLayout();
|
|||
|
groupBoxColor.ResumeLayout(false);
|
|||
|
((System.ComponentModel.ISupportInitialize)numericUpDownSpeed).EndInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)numericUpDownWeight).EndInit();
|
|||
|
panelObject.ResumeLayout(false);
|
|||
|
((System.ComponentModel.ISupportInitialize)pictureBoxObject).EndInit();
|
|||
|
ResumeLayout(false);
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
private GroupBox groupBoxConfig;
|
|||
|
private Label labelAdvancedObject;
|
|||
|
private Label labelSimpleObject;
|
|||
|
private GroupBox groupBoxColor;
|
|||
|
private Panel panelBlue;
|
|||
|
private Panel panelBlack;
|
|||
|
private Panel panelPink;
|
|||
|
private Panel panelGray;
|
|||
|
private Panel panelGreen;
|
|||
|
private Panel panelYellow;
|
|||
|
private Panel panelRoyalBlue;
|
|||
|
private Panel panelFirebrick;
|
|||
|
private CheckBox checkBoxCrane;
|
|||
|
private CheckBox checkBoxLoad;
|
|||
|
private NumericUpDown numericUpDownSpeed;
|
|||
|
private NumericUpDown numericUpDownWeight;
|
|||
|
private Label labelWeight;
|
|||
|
private Label labelSpeed;
|
|||
|
private Panel panelObject;
|
|||
|
private Label labelAdditionalColor;
|
|||
|
private Label labelMainColor;
|
|||
|
private PictureBox pictureBoxObject;
|
|||
|
private Button buttonCancel;
|
|||
|
private Button buttonAdd;
|
|||
|
}
|
|||
|
}
|