355 lines
15 KiB
C#
355 lines
15 KiB
C#
|
namespace WarmlyShip
|
|||
|
{
|
|||
|
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()
|
|||
|
{
|
|||
|
groupBoxParameters = new GroupBox();
|
|||
|
labelModifiedObject = new Label();
|
|||
|
labelSimpleObject = new Label();
|
|||
|
groupBoxColor = 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();
|
|||
|
checkBoxFuelCompartment = new CheckBox();
|
|||
|
checkBoxPipe = new CheckBox();
|
|||
|
numericUpDownWeight = new NumericUpDown();
|
|||
|
numericUpDownSpeed = new NumericUpDown();
|
|||
|
labelWeight = new Label();
|
|||
|
labelSpeed = new Label();
|
|||
|
panelObject = new Panel();
|
|||
|
pictureBoxObject = new PictureBox();
|
|||
|
labelExtraColor = new Label();
|
|||
|
labelColor = new Label();
|
|||
|
buttonAdd = new Button();
|
|||
|
buttonCancel = new Button();
|
|||
|
groupBoxParameters.SuspendLayout();
|
|||
|
groupBoxColor.SuspendLayout();
|
|||
|
((System.ComponentModel.ISupportInitialize)numericUpDownWeight).BeginInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)numericUpDownSpeed).BeginInit();
|
|||
|
panelObject.SuspendLayout();
|
|||
|
((System.ComponentModel.ISupportInitialize)pictureBoxObject).BeginInit();
|
|||
|
SuspendLayout();
|
|||
|
//
|
|||
|
// groupBoxParameters
|
|||
|
//
|
|||
|
groupBoxParameters.Controls.Add(labelModifiedObject);
|
|||
|
groupBoxParameters.Controls.Add(labelSimpleObject);
|
|||
|
groupBoxParameters.Controls.Add(groupBoxColor);
|
|||
|
groupBoxParameters.Controls.Add(checkBoxFuelCompartment);
|
|||
|
groupBoxParameters.Controls.Add(checkBoxPipe);
|
|||
|
groupBoxParameters.Controls.Add(numericUpDownWeight);
|
|||
|
groupBoxParameters.Controls.Add(numericUpDownSpeed);
|
|||
|
groupBoxParameters.Controls.Add(labelWeight);
|
|||
|
groupBoxParameters.Controls.Add(labelSpeed);
|
|||
|
groupBoxParameters.Location = new Point(12, 12);
|
|||
|
groupBoxParameters.Name = "groupBoxParameters";
|
|||
|
groupBoxParameters.Size = new Size(407, 207);
|
|||
|
groupBoxParameters.TabIndex = 0;
|
|||
|
groupBoxParameters.TabStop = false;
|
|||
|
groupBoxParameters.Text = "Параметры";
|
|||
|
//
|
|||
|
// labelModifiedObject
|
|||
|
//
|
|||
|
labelModifiedObject.BorderStyle = BorderStyle.FixedSingle;
|
|||
|
labelModifiedObject.Location = new Point(309, 150);
|
|||
|
labelModifiedObject.Name = "labelModifiedObject";
|
|||
|
labelModifiedObject.Size = new Size(88, 30);
|
|||
|
labelModifiedObject.TabIndex = 8;
|
|||
|
labelModifiedObject.Text = "Продвинутый";
|
|||
|
labelModifiedObject.TextAlign = ContentAlignment.MiddleCenter;
|
|||
|
//
|
|||
|
// labelSimpleObject
|
|||
|
//
|
|||
|
labelSimpleObject.BorderStyle = BorderStyle.FixedSingle;
|
|||
|
labelSimpleObject.Location = new Point(215, 150);
|
|||
|
labelSimpleObject.Name = "labelSimpleObject";
|
|||
|
labelSimpleObject.Size = new Size(88, 30);
|
|||
|
labelSimpleObject.TabIndex = 7;
|
|||
|
labelSimpleObject.Text = "Простой";
|
|||
|
labelSimpleObject.TextAlign = ContentAlignment.MiddleCenter;
|
|||
|
//
|
|||
|
// groupBoxColor
|
|||
|
//
|
|||
|
groupBoxColor.Controls.Add(panelPurple);
|
|||
|
groupBoxColor.Controls.Add(panelYellow);
|
|||
|
groupBoxColor.Controls.Add(panelBlack);
|
|||
|
groupBoxColor.Controls.Add(panelBlue);
|
|||
|
groupBoxColor.Controls.Add(panelGray);
|
|||
|
groupBoxColor.Controls.Add(panelGreen);
|
|||
|
groupBoxColor.Controls.Add(panelWhite);
|
|||
|
groupBoxColor.Controls.Add(panelRed);
|
|||
|
groupBoxColor.Location = new Point(215, 22);
|
|||
|
groupBoxColor.Name = "groupBoxColor";
|
|||
|
groupBoxColor.Size = new Size(183, 115);
|
|||
|
groupBoxColor.TabIndex = 6;
|
|||
|
groupBoxColor.TabStop = false;
|
|||
|
groupBoxColor.Text = "Цвета";
|
|||
|
//
|
|||
|
// panelPurple
|
|||
|
//
|
|||
|
panelPurple.BackColor = Color.Purple;
|
|||
|
panelPurple.Location = new Point(138, 66);
|
|||
|
panelPurple.Name = "panelPurple";
|
|||
|
panelPurple.Size = new Size(38, 38);
|
|||
|
panelPurple.TabIndex = 5;
|
|||
|
//
|
|||
|
// panelYellow
|
|||
|
//
|
|||
|
panelYellow.BackColor = Color.Yellow;
|
|||
|
panelYellow.Location = new Point(138, 22);
|
|||
|
panelYellow.Name = "panelYellow";
|
|||
|
panelYellow.Size = new Size(38, 38);
|
|||
|
panelYellow.TabIndex = 4;
|
|||
|
//
|
|||
|
// panelBlack
|
|||
|
//
|
|||
|
panelBlack.BackColor = Color.Black;
|
|||
|
panelBlack.Location = new Point(94, 66);
|
|||
|
panelBlack.Name = "panelBlack";
|
|||
|
panelBlack.Size = new Size(38, 38);
|
|||
|
panelBlack.TabIndex = 3;
|
|||
|
//
|
|||
|
// panelBlue
|
|||
|
//
|
|||
|
panelBlue.BackColor = Color.Blue;
|
|||
|
panelBlue.Location = new Point(94, 22);
|
|||
|
panelBlue.Name = "panelBlue";
|
|||
|
panelBlue.Size = new Size(38, 38);
|
|||
|
panelBlue.TabIndex = 2;
|
|||
|
//
|
|||
|
// panelGray
|
|||
|
//
|
|||
|
panelGray.BackColor = Color.Gray;
|
|||
|
panelGray.Location = new Point(50, 66);
|
|||
|
panelGray.Name = "panelGray";
|
|||
|
panelGray.Size = new Size(38, 38);
|
|||
|
panelGray.TabIndex = 1;
|
|||
|
//
|
|||
|
// panelGreen
|
|||
|
//
|
|||
|
panelGreen.BackColor = Color.Green;
|
|||
|
panelGreen.Location = new Point(50, 22);
|
|||
|
panelGreen.Name = "panelGreen";
|
|||
|
panelGreen.Size = new Size(38, 38);
|
|||
|
panelGreen.TabIndex = 0;
|
|||
|
//
|
|||
|
// panelWhite
|
|||
|
//
|
|||
|
panelWhite.BackColor = Color.White;
|
|||
|
panelWhite.Location = new Point(6, 66);
|
|||
|
panelWhite.Name = "panelWhite";
|
|||
|
panelWhite.Size = new Size(38, 38);
|
|||
|
panelWhite.TabIndex = 0;
|
|||
|
//
|
|||
|
// panelRed
|
|||
|
//
|
|||
|
panelRed.BackColor = Color.Red;
|
|||
|
panelRed.Location = new Point(6, 22);
|
|||
|
panelRed.Name = "panelRed";
|
|||
|
panelRed.Size = new Size(38, 38);
|
|||
|
panelRed.TabIndex = 0;
|
|||
|
//
|
|||
|
// checkBoxFuelCompartment
|
|||
|
//
|
|||
|
checkBoxFuelCompartment.AutoSize = true;
|
|||
|
checkBoxFuelCompartment.Location = new Point(6, 138);
|
|||
|
checkBoxFuelCompartment.Name = "checkBoxFuelCompartment";
|
|||
|
checkBoxFuelCompartment.Size = new Size(186, 19);
|
|||
|
checkBoxFuelCompartment.TabIndex = 5;
|
|||
|
checkBoxFuelCompartment.Text = "Наличие отсека под топливо";
|
|||
|
checkBoxFuelCompartment.UseVisualStyleBackColor = true;
|
|||
|
//
|
|||
|
// checkBoxPipe
|
|||
|
//
|
|||
|
checkBoxPipe.AutoSize = true;
|
|||
|
checkBoxPipe.Location = new Point(6, 102);
|
|||
|
checkBoxPipe.Name = "checkBoxPipe";
|
|||
|
checkBoxPipe.Size = new Size(103, 19);
|
|||
|
checkBoxPipe.TabIndex = 4;
|
|||
|
checkBoxPipe.Text = "Наличие труб";
|
|||
|
checkBoxPipe.UseVisualStyleBackColor = true;
|
|||
|
//
|
|||
|
// numericUpDownWeight
|
|||
|
//
|
|||
|
numericUpDownWeight.Location = new Point(76, 61);
|
|||
|
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(74, 23);
|
|||
|
numericUpDownWeight.TabIndex = 3;
|
|||
|
numericUpDownWeight.Value = new decimal(new int[] { 100, 0, 0, 0 });
|
|||
|
//
|
|||
|
// numericUpDownSpeed
|
|||
|
//
|
|||
|
numericUpDownSpeed.Location = new Point(76, 27);
|
|||
|
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(74, 23);
|
|||
|
numericUpDownSpeed.TabIndex = 2;
|
|||
|
numericUpDownSpeed.Value = new decimal(new int[] { 100, 0, 0, 0 });
|
|||
|
//
|
|||
|
// labelWeight
|
|||
|
//
|
|||
|
labelWeight.AutoSize = true;
|
|||
|
labelWeight.Location = new Point(6, 63);
|
|||
|
labelWeight.Name = "labelWeight";
|
|||
|
labelWeight.Size = new Size(29, 15);
|
|||
|
labelWeight.TabIndex = 1;
|
|||
|
labelWeight.Text = "Вес:";
|
|||
|
//
|
|||
|
// labelSpeed
|
|||
|
//
|
|||
|
labelSpeed.AutoSize = true;
|
|||
|
labelSpeed.Location = new Point(6, 29);
|
|||
|
labelSpeed.Name = "labelSpeed";
|
|||
|
labelSpeed.Size = new Size(62, 15);
|
|||
|
labelSpeed.TabIndex = 0;
|
|||
|
labelSpeed.Text = "Скорость:";
|
|||
|
//
|
|||
|
// panelObject
|
|||
|
//
|
|||
|
panelObject.AllowDrop = true;
|
|||
|
panelObject.Controls.Add(pictureBoxObject);
|
|||
|
panelObject.Controls.Add(labelExtraColor);
|
|||
|
panelObject.Controls.Add(labelColor);
|
|||
|
panelObject.Location = new Point(434, 12);
|
|||
|
panelObject.Name = "panelObject";
|
|||
|
panelObject.Size = new Size(345, 217);
|
|||
|
panelObject.TabIndex = 2;
|
|||
|
panelObject.DragDrop += new System.Windows.Forms.DragEventHandler(this.PanelObject_DragDrop);
|
|||
|
panelObject.DragEnter += new System.Windows.Forms.DragEventHandler(this.PanelObject_DragEnter);
|
|||
|
//
|
|||
|
// pictureBoxObject
|
|||
|
//
|
|||
|
pictureBoxObject.Location = new Point(7, 40);
|
|||
|
pictureBoxObject.Name = "pictureBoxObject";
|
|||
|
pictureBoxObject.Size = new Size(331, 167);
|
|||
|
pictureBoxObject.TabIndex = 0;
|
|||
|
pictureBoxObject.TabStop = false;
|
|||
|
//
|
|||
|
// labelExtraColor
|
|||
|
//
|
|||
|
labelExtraColor.AllowDrop = true;
|
|||
|
labelExtraColor.BorderStyle = BorderStyle.FixedSingle;
|
|||
|
labelExtraColor.Location = new Point(215, 7);
|
|||
|
labelExtraColor.Name = "labelExtraColor";
|
|||
|
labelExtraColor.Size = new Size(89, 30);
|
|||
|
labelExtraColor.TabIndex = 2;
|
|||
|
labelExtraColor.Text = "Доп. цвет";
|
|||
|
labelExtraColor.TextAlign = ContentAlignment.MiddleCenter;
|
|||
|
labelExtraColor.DragDrop += new System.Windows.Forms.DragEventHandler(this.LabelDopColor_DragDrop);
|
|||
|
labelExtraColor.DragEnter += new System.Windows.Forms.DragEventHandler(this.LabelColor_DragEnter);
|
|||
|
//
|
|||
|
// labelColor
|
|||
|
//
|
|||
|
labelColor.AllowDrop = true;
|
|||
|
labelColor.BorderStyle = BorderStyle.FixedSingle;
|
|||
|
labelColor.Location = new Point(44, 7);
|
|||
|
labelColor.Name = "labelColor";
|
|||
|
labelColor.Size = new Size(89, 30);
|
|||
|
labelColor.TabIndex = 1;
|
|||
|
labelColor.Text = "Цвет";
|
|||
|
labelColor.TextAlign = ContentAlignment.MiddleCenter;
|
|||
|
labelColor.DragDrop += new System.Windows.Forms.DragEventHandler(this.LabelColor_DragDrop);
|
|||
|
labelColor.DragEnter += new System.Windows.Forms.DragEventHandler(this.LabelColor_DragEnter);
|
|||
|
//
|
|||
|
// buttonAdd
|
|||
|
//
|
|||
|
buttonAdd.Location = new Point(478, 235);
|
|||
|
buttonAdd.Name = "buttonAdd";
|
|||
|
buttonAdd.Size = new Size(89, 32);
|
|||
|
buttonAdd.TabIndex = 3;
|
|||
|
buttonAdd.Text = "Добавить";
|
|||
|
buttonAdd.UseVisualStyleBackColor = true;
|
|||
|
buttonAdd.UseVisualStyleBackColor = true;
|
|||
|
buttonAdd.Click += new System.EventHandler(this.ButtonAdd_Click);
|
|||
|
//
|
|||
|
// buttonCancel
|
|||
|
//
|
|||
|
buttonCancel.Location = new Point(649, 235);
|
|||
|
buttonCancel.Name = "buttonCancel";
|
|||
|
buttonCancel.Size = new Size(89, 32);
|
|||
|
buttonCancel.TabIndex = 4;
|
|||
|
buttonCancel.Text = "Отмена";
|
|||
|
buttonCancel.UseVisualStyleBackColor = true;
|
|||
|
//
|
|||
|
// FormShipConfig
|
|||
|
//
|
|||
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|||
|
AutoScaleMode = AutoScaleMode.Font;
|
|||
|
ClientSize = new Size(791, 279);
|
|||
|
Controls.Add(buttonCancel);
|
|||
|
Controls.Add(buttonAdd);
|
|||
|
Controls.Add(panelObject);
|
|||
|
Controls.Add(groupBoxParameters);
|
|||
|
Name = "FormShipConfig";
|
|||
|
Text = "Создание объекта";
|
|||
|
groupBoxParameters.ResumeLayout(false);
|
|||
|
groupBoxParameters.PerformLayout();
|
|||
|
groupBoxColor.ResumeLayout(false);
|
|||
|
((System.ComponentModel.ISupportInitialize)numericUpDownWeight).EndInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)numericUpDownSpeed).EndInit();
|
|||
|
panelObject.ResumeLayout(false);
|
|||
|
((System.ComponentModel.ISupportInitialize)pictureBoxObject).EndInit();
|
|||
|
ResumeLayout(false);
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
private GroupBox groupBoxParameters;
|
|||
|
private Label labelWeight;
|
|||
|
private Label labelSpeed;
|
|||
|
private NumericUpDown numericUpDownWeight;
|
|||
|
private NumericUpDown numericUpDownSpeed;
|
|||
|
private CheckBox checkBoxFuelCompartment;
|
|||
|
private CheckBox checkBoxPipe;
|
|||
|
private GroupBox groupBoxColor;
|
|||
|
private Panel panelPurple;
|
|||
|
private Panel panelYellow;
|
|||
|
private Panel panelBlack;
|
|||
|
private Panel panelBlue;
|
|||
|
private Panel panelGray;
|
|||
|
private Panel panelGreen;
|
|||
|
private Panel panelWhite;
|
|||
|
private Panel panelRed;
|
|||
|
private Label labelModifiedObject;
|
|||
|
private Label labelSimpleObject;
|
|||
|
private Panel panelObject;
|
|||
|
private Button buttonAdd;
|
|||
|
private Button buttonCancel;
|
|||
|
private PictureBox pictureBoxObject;
|
|||
|
private Label labelExtraColor;
|
|||
|
private Label labelColor;
|
|||
|
}
|
|||
|
}
|