356 lines
14 KiB
C#
356 lines
14 KiB
C#
|
namespace Catamaran
|
|||
|
{
|
|||
|
partial class FormCatamaranConfig
|
|||
|
{
|
|||
|
|
|||
|
private System.ComponentModel.IContainer components = null;
|
|||
|
|
|||
|
protected override void Dispose(bool disposing)
|
|||
|
{
|
|||
|
if (disposing && (components != null))
|
|||
|
{
|
|||
|
components.Dispose();
|
|||
|
}
|
|||
|
base.Dispose(disposing);
|
|||
|
}
|
|||
|
|
|||
|
#region Windows Form Designer generated code
|
|||
|
|
|||
|
private void InitializeComponent()
|
|||
|
{
|
|||
|
groupBoxParam=new GroupBox();
|
|||
|
ColorBox=new GroupBox();
|
|||
|
panelOrange=new Panel();
|
|||
|
panelBlue=new Panel();
|
|||
|
panelGray=new Panel();
|
|||
|
panelWhite=new Panel();
|
|||
|
panelPurple=new Panel();
|
|||
|
panelGreen=new Panel();
|
|||
|
panelBlack=new Panel();
|
|||
|
panelRed=new Panel();
|
|||
|
labelHardObject=new Label();
|
|||
|
labelSimpleObject=new Label();
|
|||
|
checkBoSail=new CheckBox();
|
|||
|
checkBoxMotor=new CheckBox();
|
|||
|
checkBoxBodyKit=new CheckBox();
|
|||
|
numericUpDownWeight=new NumericUpDown();
|
|||
|
numericUpDownSpeed=new NumericUpDown();
|
|||
|
LabelWeight=new Label();
|
|||
|
LabelSpeed=new Label();
|
|||
|
PanelObject=new Panel();
|
|||
|
labelAdditionalColor=new Label();
|
|||
|
labelColourMain=new Label();
|
|||
|
pictureBoxObject=new PictureBox();
|
|||
|
buttonAddObject=new Button();
|
|||
|
buttonRepeal=new Button();
|
|||
|
groupBoxParam.SuspendLayout();
|
|||
|
ColorBox.SuspendLayout();
|
|||
|
((System.ComponentModel.ISupportInitialize)numericUpDownWeight).BeginInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)numericUpDownSpeed).BeginInit();
|
|||
|
PanelObject.SuspendLayout();
|
|||
|
((System.ComponentModel.ISupportInitialize)pictureBoxObject).BeginInit();
|
|||
|
SuspendLayout();
|
|||
|
//
|
|||
|
// groupBoxParam
|
|||
|
//
|
|||
|
groupBoxParam.Controls.Add(ColorBox);
|
|||
|
groupBoxParam.Controls.Add(labelHardObject);
|
|||
|
groupBoxParam.Controls.Add(labelSimpleObject);
|
|||
|
groupBoxParam.Controls.Add(checkBoSail);
|
|||
|
groupBoxParam.Controls.Add(checkBoxMotor);
|
|||
|
groupBoxParam.Controls.Add(checkBoxBodyKit);
|
|||
|
groupBoxParam.Controls.Add(numericUpDownWeight);
|
|||
|
groupBoxParam.Controls.Add(numericUpDownSpeed);
|
|||
|
groupBoxParam.Controls.Add(LabelWeight);
|
|||
|
groupBoxParam.Controls.Add(LabelSpeed);
|
|||
|
groupBoxParam.Location=new Point(12, 12);
|
|||
|
groupBoxParam.Name="groupBoxParam";
|
|||
|
groupBoxParam.Size=new Size(781, 384);
|
|||
|
groupBoxParam.TabIndex=0;
|
|||
|
groupBoxParam.TabStop=false;
|
|||
|
groupBoxParam.Text="Параметры";
|
|||
|
//
|
|||
|
// ColorBox
|
|||
|
//
|
|||
|
ColorBox.Controls.Add(panelOrange);
|
|||
|
ColorBox.Controls.Add(panelBlue);
|
|||
|
ColorBox.Controls.Add(panelGray);
|
|||
|
ColorBox.Controls.Add(panelWhite);
|
|||
|
ColorBox.Controls.Add(panelPurple);
|
|||
|
ColorBox.Controls.Add(panelGreen);
|
|||
|
ColorBox.Controls.Add(panelBlack);
|
|||
|
ColorBox.Controls.Add(panelRed);
|
|||
|
ColorBox.Location=new Point(302, 30);
|
|||
|
ColorBox.Name="ColorBox";
|
|||
|
ColorBox.Size=new Size(415, 252);
|
|||
|
ColorBox.TabIndex=10;
|
|||
|
ColorBox.TabStop=false;
|
|||
|
ColorBox.Text="Цвета";
|
|||
|
//
|
|||
|
// panelOrange
|
|||
|
//
|
|||
|
panelOrange.BackColor=Color.Orange;
|
|||
|
panelOrange.Location=new Point(319, 143);
|
|||
|
panelOrange.Name="panelOrange";
|
|||
|
panelOrange.Size=new Size(60, 60);
|
|||
|
panelOrange.TabIndex=2;
|
|||
|
//
|
|||
|
// panelBlue
|
|||
|
//
|
|||
|
panelBlue.BackColor=Color.Blue;
|
|||
|
panelBlue.Location=new Point(217, 143);
|
|||
|
panelBlue.Name="panelBlue";
|
|||
|
panelBlue.Size=new Size(60, 60);
|
|||
|
panelBlue.TabIndex=2;
|
|||
|
//
|
|||
|
// panelGray
|
|||
|
//
|
|||
|
panelGray.BackColor=Color.Gray;
|
|||
|
panelGray.Location=new Point(113, 143);
|
|||
|
panelGray.Name="panelGray";
|
|||
|
panelGray.Size=new Size(60, 60);
|
|||
|
panelGray.TabIndex=2;
|
|||
|
//
|
|||
|
// panelWhite
|
|||
|
//
|
|||
|
panelWhite.BackColor=Color.White;
|
|||
|
panelWhite.Location=new Point(16, 143);
|
|||
|
panelWhite.Name="panelWhite";
|
|||
|
panelWhite.Size=new Size(60, 60);
|
|||
|
panelWhite.TabIndex=2;
|
|||
|
//
|
|||
|
// panelPurple
|
|||
|
//
|
|||
|
panelPurple.BackColor=Color.Purple;
|
|||
|
panelPurple.Location=new Point(319, 49);
|
|||
|
panelPurple.Name="panelPurple";
|
|||
|
panelPurple.Size=new Size(60, 60);
|
|||
|
panelPurple.TabIndex=1;
|
|||
|
//
|
|||
|
// panelGreen
|
|||
|
//
|
|||
|
panelGreen.BackColor=Color.FromArgb(0, 192, 0);
|
|||
|
panelGreen.Location=new Point(217, 49);
|
|||
|
panelGreen.Name="panelGreen";
|
|||
|
panelGreen.Size=new Size(60, 60);
|
|||
|
panelGreen.TabIndex=1;
|
|||
|
//
|
|||
|
// panelBlack
|
|||
|
//
|
|||
|
panelBlack.BackColor=Color.Black;
|
|||
|
panelBlack.Location=new Point(113, 49);
|
|||
|
panelBlack.Name="panelBlack";
|
|||
|
panelBlack.Size=new Size(60, 60);
|
|||
|
panelBlack.TabIndex=1;
|
|||
|
//
|
|||
|
// panelRed
|
|||
|
//
|
|||
|
panelRed.BackColor=Color.Red;
|
|||
|
panelRed.Location=new Point(16, 49);
|
|||
|
panelRed.Name="panelRed";
|
|||
|
panelRed.Size=new Size(60, 60);
|
|||
|
panelRed.TabIndex=0;
|
|||
|
//
|
|||
|
// labelHardObject
|
|||
|
//
|
|||
|
labelHardObject.AllowDrop=true;
|
|||
|
labelHardObject.BackColor=SystemColors.Control;
|
|||
|
labelHardObject.BorderStyle=BorderStyle.FixedSingle;
|
|||
|
labelHardObject.Location=new Point(567, 293);
|
|||
|
labelHardObject.Name="labelHardObject";
|
|||
|
labelHardObject.Size=new Size(150, 50);
|
|||
|
labelHardObject.TabIndex=9;
|
|||
|
labelHardObject.Text="Продвинутый";
|
|||
|
labelHardObject.TextAlign=ContentAlignment.MiddleCenter;
|
|||
|
//
|
|||
|
// labelSimpleObject
|
|||
|
//
|
|||
|
labelSimpleObject.AllowDrop=true;
|
|||
|
labelSimpleObject.BackColor=SystemColors.Control;
|
|||
|
labelSimpleObject.BorderStyle=BorderStyle.FixedSingle;
|
|||
|
labelSimpleObject.Location=new Point(302, 293);
|
|||
|
labelSimpleObject.Name="labelSimpleObject";
|
|||
|
labelSimpleObject.Size=new Size(150, 50);
|
|||
|
labelSimpleObject.TabIndex=8;
|
|||
|
labelSimpleObject.Text="Простой";
|
|||
|
labelSimpleObject.TextAlign=ContentAlignment.MiddleCenter;
|
|||
|
labelSimpleObject.MouseDown+=LabelObject_MouseDown;
|
|||
|
//
|
|||
|
// checkBoSail
|
|||
|
//
|
|||
|
checkBoSail.AutoSize=true;
|
|||
|
checkBoSail.Location=new Point(22, 253);
|
|||
|
checkBoSail.Name="checkBoSail";
|
|||
|
checkBoSail.Size=new Size(241, 29);
|
|||
|
checkBoSail.TabIndex=6;
|
|||
|
checkBoSail.Text="Признак наличия паруса";
|
|||
|
checkBoSail.UseVisualStyleBackColor=true;
|
|||
|
//
|
|||
|
// checkBoxMotor
|
|||
|
//
|
|||
|
checkBoxMotor.AutoSize=true;
|
|||
|
checkBoxMotor.Location=new Point(22, 204);
|
|||
|
checkBoxMotor.Name="checkBoxMotor";
|
|||
|
checkBoxMotor.Size=new Size(247, 29);
|
|||
|
checkBoxMotor.TabIndex=5;
|
|||
|
checkBoxMotor.Text="Признак наличия мотора";
|
|||
|
checkBoxMotor.UseVisualStyleBackColor=true;
|
|||
|
//
|
|||
|
// checkBoxBodyKit
|
|||
|
//
|
|||
|
checkBoxBodyKit.AutoSize=true;
|
|||
|
checkBoxBodyKit.Location=new Point(22, 158);
|
|||
|
checkBoxBodyKit.Name="checkBoxBodyKit";
|
|||
|
checkBoxBodyKit.Size=new Size(274, 29);
|
|||
|
checkBoxBodyKit.TabIndex=4;
|
|||
|
checkBoxBodyKit.Text="Признак наличия поплавков";
|
|||
|
checkBoxBodyKit.UseVisualStyleBackColor=true;
|
|||
|
//
|
|||
|
// numericUpDownWeight
|
|||
|
//
|
|||
|
numericUpDownWeight.Location=new Point(117, 93);
|
|||
|
numericUpDownWeight.Name="numericUpDownWeight";
|
|||
|
numericUpDownWeight.Size=new Size(87, 31);
|
|||
|
numericUpDownWeight.TabIndex=3;
|
|||
|
//
|
|||
|
// numericUpDownSpeed
|
|||
|
//
|
|||
|
numericUpDownSpeed.Location=new Point(117, 50);
|
|||
|
numericUpDownSpeed.Name="numericUpDownSpeed";
|
|||
|
numericUpDownSpeed.Size=new Size(87, 31);
|
|||
|
numericUpDownSpeed.TabIndex=2;
|
|||
|
//
|
|||
|
// LabelWeight
|
|||
|
//
|
|||
|
LabelWeight.AutoSize=true;
|
|||
|
LabelWeight.Location=new Point(22, 95);
|
|||
|
LabelWeight.Name="LabelWeight";
|
|||
|
LabelWeight.Size=new Size(39, 25);
|
|||
|
LabelWeight.TabIndex=1;
|
|||
|
LabelWeight.Text="Вес";
|
|||
|
//
|
|||
|
// LabelSpeed
|
|||
|
//
|
|||
|
LabelSpeed.AutoSize=true;
|
|||
|
LabelSpeed.Location=new Point(22, 50);
|
|||
|
LabelSpeed.Name="LabelSpeed";
|
|||
|
LabelSpeed.Size=new Size(89, 25);
|
|||
|
LabelSpeed.TabIndex=0;
|
|||
|
LabelSpeed.Text="Скорость";
|
|||
|
//
|
|||
|
// PanelObject
|
|||
|
//
|
|||
|
PanelObject.AllowDrop=true;
|
|||
|
PanelObject.Controls.Add(labelAdditionalColor);
|
|||
|
PanelObject.Controls.Add(labelColourMain);
|
|||
|
PanelObject.Controls.Add(pictureBoxObject);
|
|||
|
PanelObject.Location=new Point(799, 12);
|
|||
|
PanelObject.Name="PanelObject";
|
|||
|
PanelObject.Size=new Size(471, 310);
|
|||
|
PanelObject.TabIndex=1;
|
|||
|
PanelObject.DragDrop+=PanelObject_DragDrop;
|
|||
|
PanelObject.DragEnter+=PanelObject_DragEnter;
|
|||
|
//
|
|||
|
// labelAdditionalColor
|
|||
|
//
|
|||
|
labelAdditionalColor.AllowDrop=true;
|
|||
|
labelAdditionalColor.BorderStyle=BorderStyle.FixedSingle;
|
|||
|
labelAdditionalColor.Location=new Point(257, 18);
|
|||
|
labelAdditionalColor.Name="labelAdditionalColor";
|
|||
|
labelAdditionalColor.Size=new Size(200, 50);
|
|||
|
labelAdditionalColor.TabIndex=2;
|
|||
|
labelAdditionalColor.Text="Дополнительный цвет";
|
|||
|
labelAdditionalColor.TextAlign=ContentAlignment.MiddleCenter;
|
|||
|
labelAdditionalColor.DragDrop+=ColorLabel_DragDrop;
|
|||
|
labelAdditionalColor.DragEnter+=ColorLabel_DragEnter;
|
|||
|
//
|
|||
|
// labelColourMain
|
|||
|
//
|
|||
|
labelColourMain.AllowDrop=true;
|
|||
|
labelColourMain.BorderStyle=BorderStyle.FixedSingle;
|
|||
|
labelColourMain.Location=new Point(15, 18);
|
|||
|
labelColourMain.Name="labelColourMain";
|
|||
|
labelColourMain.Size=new Size(200, 50);
|
|||
|
labelColourMain.TabIndex=1;
|
|||
|
labelColourMain.Text="Основной цвет";
|
|||
|
labelColourMain.TextAlign=ContentAlignment.MiddleCenter;
|
|||
|
labelColourMain.DragDrop+=ColorLabel_DragDrop;
|
|||
|
labelColourMain.DragEnter+=ColorLabel_DragEnter;
|
|||
|
//
|
|||
|
// pictureBoxObject
|
|||
|
//
|
|||
|
pictureBoxObject.Location=new Point(15, 79);
|
|||
|
pictureBoxObject.Name="pictureBoxObject";
|
|||
|
pictureBoxObject.Size=new Size(442, 212);
|
|||
|
pictureBoxObject.TabIndex=0;
|
|||
|
pictureBoxObject.TabStop=false;
|
|||
|
//
|
|||
|
// buttonAddObject
|
|||
|
//
|
|||
|
buttonAddObject.Location=new Point(814, 346);
|
|||
|
buttonAddObject.Name="buttonAddObject";
|
|||
|
buttonAddObject.Size=new Size(182, 50);
|
|||
|
buttonAddObject.TabIndex=2;
|
|||
|
buttonAddObject.Text="Добавить";
|
|||
|
buttonAddObject.UseVisualStyleBackColor=true;
|
|||
|
buttonAddObject.Click+=ButtonOk_Click;
|
|||
|
//
|
|||
|
// buttonRepeal
|
|||
|
//
|
|||
|
buttonRepeal.Location=new Point(1074, 346);
|
|||
|
buttonRepeal.Name="buttonRepeal";
|
|||
|
buttonRepeal.Size=new Size(182, 50);
|
|||
|
buttonRepeal.TabIndex=3;
|
|||
|
buttonRepeal.Text="Отмена";
|
|||
|
buttonRepeal.UseVisualStyleBackColor=true;
|
|||
|
//
|
|||
|
// FormCatamaranConfig
|
|||
|
//
|
|||
|
AutoScaleDimensions=new SizeF(10F, 25F);
|
|||
|
AutoScaleMode=AutoScaleMode.Font;
|
|||
|
ClientSize=new Size(1281, 420);
|
|||
|
Controls.Add(buttonRepeal);
|
|||
|
Controls.Add(buttonAddObject);
|
|||
|
Controls.Add(PanelObject);
|
|||
|
Controls.Add(groupBoxParam);
|
|||
|
Name="FormCatamaranConfig";
|
|||
|
Text="FormCatamaranConfig";
|
|||
|
groupBoxParam.ResumeLayout(false);
|
|||
|
groupBoxParam.PerformLayout();
|
|||
|
ColorBox.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 groupBoxParam;
|
|||
|
private Label LabelSpeed;
|
|||
|
private Label LabelWeight;
|
|||
|
private CheckBox checkBoSail;
|
|||
|
private CheckBox checkBoxMotor;
|
|||
|
private CheckBox checkBoxBodyKit;
|
|||
|
private NumericUpDown numericUpDownWeight;
|
|||
|
private NumericUpDown numericUpDownSpeed;
|
|||
|
private Label labelHardObject;
|
|||
|
private Label labelSimpleObject;
|
|||
|
private Panel PanelObject;
|
|||
|
private Label labelColourMain;
|
|||
|
private PictureBox pictureBoxObject;
|
|||
|
private Label labelAdditionalColor;
|
|||
|
private Button buttonAddObject;
|
|||
|
private Button buttonRepeal;
|
|||
|
private GroupBox ColorBox;
|
|||
|
private Panel panelOrange;
|
|||
|
private Panel panelBlue;
|
|||
|
private Panel panelGray;
|
|||
|
private Panel panelWhite;
|
|||
|
private Panel panelPurple;
|
|||
|
private Panel panelGreen;
|
|||
|
private Panel panelBlack;
|
|||
|
private Panel panelRed;
|
|||
|
}
|
|||
|
}
|