diff --git a/Airbus/Airbus/FormPlaneConfig.Designer.cs b/Airbus/Airbus/FormPlaneConfig.Designer.cs index 354244b..1d81cc3 100644 --- a/Airbus/Airbus/FormPlaneConfig.Designer.cs +++ b/Airbus/Airbus/FormPlaneConfig.Designer.cs @@ -73,9 +73,11 @@ this.groupBoxConfig.Controls.Add(this.labelWeight); this.groupBoxConfig.Controls.Add(this.numericUpDownSpeed); this.groupBoxConfig.Controls.Add(this.labelSpeed); - this.groupBoxConfig.Location = new System.Drawing.Point(12, 12); + this.groupBoxConfig.Location = new System.Drawing.Point(14, 16); + this.groupBoxConfig.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.groupBoxConfig.Name = "groupBoxConfig"; - this.groupBoxConfig.Size = new System.Drawing.Size(498, 175); + this.groupBoxConfig.Padding = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.groupBoxConfig.Size = new System.Drawing.Size(569, 233); this.groupBoxConfig.TabIndex = 0; this.groupBoxConfig.TabStop = false; this.groupBoxConfig.Text = "Параметры"; @@ -83,9 +85,9 @@ // labelModifiedObject // this.labelModifiedObject.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.labelModifiedObject.Location = new System.Drawing.Point(396, 130); + this.labelModifiedObject.Location = new System.Drawing.Point(453, 173); this.labelModifiedObject.Name = "labelModifiedObject"; - this.labelModifiedObject.Size = new System.Drawing.Size(96, 35); + this.labelModifiedObject.Size = new System.Drawing.Size(109, 46); this.labelModifiedObject.TabIndex = 7; this.labelModifiedObject.Text = "Продвинутый"; this.labelModifiedObject.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -94,9 +96,9 @@ // labelSimpleObject // this.labelSimpleObject.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.labelSimpleObject.Location = new System.Drawing.Point(298, 130); + this.labelSimpleObject.Location = new System.Drawing.Point(341, 173); this.labelSimpleObject.Name = "labelSimpleObject"; - this.labelSimpleObject.Size = new System.Drawing.Size(92, 35); + this.labelSimpleObject.Size = new System.Drawing.Size(105, 46); this.labelSimpleObject.TabIndex = 1; this.labelSimpleObject.Text = "Простой"; this.labelSimpleObject.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -112,9 +114,11 @@ this.groupBoxColor.Controls.Add(this.panelYellow); this.groupBoxColor.Controls.Add(this.panelGreen); this.groupBoxColor.Controls.Add(this.panelRed); - this.groupBoxColor.Location = new System.Drawing.Point(298, 15); + this.groupBoxColor.Location = new System.Drawing.Point(341, 20); + this.groupBoxColor.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.groupBoxColor.Name = "groupBoxColor"; - this.groupBoxColor.Size = new System.Drawing.Size(194, 112); + this.groupBoxColor.Padding = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.groupBoxColor.Size = new System.Drawing.Size(222, 149); this.groupBoxColor.TabIndex = 1; this.groupBoxColor.TabStop = false; this.groupBoxColor.Text = "Цвета"; @@ -122,81 +126,90 @@ // panelBlack // this.panelBlack.BackColor = System.Drawing.Color.Black; - this.panelBlack.Location = new System.Drawing.Point(144, 68); + this.panelBlack.Location = new System.Drawing.Point(165, 91); + this.panelBlack.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.panelBlack.Name = "panelBlack"; - this.panelBlack.Size = new System.Drawing.Size(40, 40); + this.panelBlack.Size = new System.Drawing.Size(46, 53); this.panelBlack.TabIndex = 1; this.panelBlack.MouseDown += new System.Windows.Forms.MouseEventHandler(this.PanelColor_MouseDown); // // panelPink // this.panelPink.BackColor = System.Drawing.Color.Fuchsia; - this.panelPink.Location = new System.Drawing.Point(98, 68); + this.panelPink.Location = new System.Drawing.Point(112, 91); + this.panelPink.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.panelPink.Name = "panelPink"; - this.panelPink.Size = new System.Drawing.Size(40, 40); + this.panelPink.Size = new System.Drawing.Size(46, 53); this.panelPink.TabIndex = 1; this.panelPink.MouseDown += new System.Windows.Forms.MouseEventHandler(this.PanelColor_MouseDown); // // panelGol // this.panelGol.BackColor = System.Drawing.Color.Cyan; - this.panelGol.Location = new System.Drawing.Point(52, 68); + this.panelGol.Location = new System.Drawing.Point(59, 91); + this.panelGol.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.panelGol.Name = "panelGol"; - this.panelGol.Size = new System.Drawing.Size(40, 40); + this.panelGol.Size = new System.Drawing.Size(46, 53); this.panelGol.TabIndex = 1; this.panelGol.MouseDown += new System.Windows.Forms.MouseEventHandler(this.PanelColor_MouseDown); // // panelBlue // this.panelBlue.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192))))); - this.panelBlue.Location = new System.Drawing.Point(6, 68); + this.panelBlue.Location = new System.Drawing.Point(7, 91); + this.panelBlue.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.panelBlue.Name = "panelBlue"; - this.panelBlue.Size = new System.Drawing.Size(40, 40); + this.panelBlue.Size = new System.Drawing.Size(46, 53); this.panelBlue.TabIndex = 2; this.panelBlue.MouseDown += new System.Windows.Forms.MouseEventHandler(this.PanelColor_MouseDown); // // panelOrange // this.panelOrange.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0))))); - this.panelOrange.Location = new System.Drawing.Point(144, 22); + this.panelOrange.Location = new System.Drawing.Point(165, 29); + this.panelOrange.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.panelOrange.Name = "panelOrange"; - this.panelOrange.Size = new System.Drawing.Size(40, 40); + this.panelOrange.Size = new System.Drawing.Size(46, 53); this.panelOrange.TabIndex = 1; this.panelOrange.MouseDown += new System.Windows.Forms.MouseEventHandler(this.PanelColor_MouseDown); // // panelYellow // this.panelYellow.BackColor = System.Drawing.Color.Yellow; - this.panelYellow.Location = new System.Drawing.Point(98, 22); + this.panelYellow.Location = new System.Drawing.Point(112, 29); + this.panelYellow.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.panelYellow.Name = "panelYellow"; - this.panelYellow.Size = new System.Drawing.Size(40, 40); + this.panelYellow.Size = new System.Drawing.Size(46, 53); this.panelYellow.TabIndex = 1; this.panelYellow.MouseDown += new System.Windows.Forms.MouseEventHandler(this.PanelColor_MouseDown); // // panelGreen // this.panelGreen.BackColor = System.Drawing.Color.Lime; - this.panelGreen.Location = new System.Drawing.Point(52, 22); + this.panelGreen.Location = new System.Drawing.Point(59, 29); + this.panelGreen.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.panelGreen.Name = "panelGreen"; - this.panelGreen.Size = new System.Drawing.Size(40, 40); + this.panelGreen.Size = new System.Drawing.Size(46, 53); this.panelGreen.TabIndex = 1; this.panelGreen.MouseDown += new System.Windows.Forms.MouseEventHandler(this.PanelColor_MouseDown); // // panelRed // this.panelRed.BackColor = System.Drawing.Color.Red; - this.panelRed.Location = new System.Drawing.Point(6, 22); + this.panelRed.Location = new System.Drawing.Point(7, 29); + this.panelRed.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.panelRed.Name = "panelRed"; - this.panelRed.Size = new System.Drawing.Size(40, 40); + this.panelRed.Size = new System.Drawing.Size(46, 53); this.panelRed.TabIndex = 0; this.panelRed.MouseDown += new System.Windows.Forms.MouseEventHandler(this.PanelColor_MouseDown); // // checkBoxSportLine // this.checkBoxSportLine.AutoSize = true; - this.checkBoxSportLine.Location = new System.Drawing.Point(17, 146); + this.checkBoxSportLine.Location = new System.Drawing.Point(19, 195); + this.checkBoxSportLine.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.checkBoxSportLine.Name = "checkBoxSportLine"; - this.checkBoxSportLine.Size = new System.Drawing.Size(254, 19); + this.checkBoxSportLine.Size = new System.Drawing.Size(320, 24); this.checkBoxSportLine.TabIndex = 6; this.checkBoxSportLine.Text = "Признак наличия отсека для пассажиров"; this.checkBoxSportLine.UseVisualStyleBackColor = true; @@ -204,9 +217,10 @@ // checkBoxWing // this.checkBoxWing.AutoSize = true; - this.checkBoxWing.Location = new System.Drawing.Point(17, 121); + this.checkBoxWing.Location = new System.Drawing.Point(19, 161); + this.checkBoxWing.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.checkBoxWing.Name = "checkBoxWing"; - this.checkBoxWing.Size = new System.Drawing.Size(186, 19); + this.checkBoxWing.Size = new System.Drawing.Size(233, 24); this.checkBoxWing.TabIndex = 5; this.checkBoxWing.Text = "Признак наличия антикрыла"; this.checkBoxWing.UseVisualStyleBackColor = true; @@ -214,50 +228,54 @@ // checkBoxBodyKit // this.checkBoxBodyKit.AutoSize = true; - this.checkBoxBodyKit.Location = new System.Drawing.Point(17, 96); + this.checkBoxBodyKit.Location = new System.Drawing.Point(19, 128); + this.checkBoxBodyKit.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.checkBoxBodyKit.Name = "checkBoxBodyKit"; - this.checkBoxBodyKit.Size = new System.Drawing.Size(210, 19); + this.checkBoxBodyKit.Size = new System.Drawing.Size(265, 24); this.checkBoxBodyKit.TabIndex = 4; this.checkBoxBodyKit.Text = "Признак наличия доп.двигателей"; this.checkBoxBodyKit.UseVisualStyleBackColor = true; // // numericUpDownWeight // - this.numericUpDownWeight.Location = new System.Drawing.Point(82, 67); + this.numericUpDownWeight.Location = new System.Drawing.Point(94, 89); + this.numericUpDownWeight.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.numericUpDownWeight.Name = "numericUpDownWeight"; - this.numericUpDownWeight.Size = new System.Drawing.Size(97, 23); + this.numericUpDownWeight.Size = new System.Drawing.Size(111, 27); this.numericUpDownWeight.TabIndex = 3; // // labelWeight // this.labelWeight.AutoSize = true; - this.labelWeight.Location = new System.Drawing.Point(17, 69); + this.labelWeight.Location = new System.Drawing.Point(19, 92); this.labelWeight.Name = "labelWeight"; - this.labelWeight.Size = new System.Drawing.Size(29, 15); + this.labelWeight.Size = new System.Drawing.Size(36, 20); this.labelWeight.TabIndex = 2; this.labelWeight.Text = "Вес:"; // // numericUpDownSpeed // - this.numericUpDownSpeed.Location = new System.Drawing.Point(82, 28); + this.numericUpDownSpeed.Location = new System.Drawing.Point(94, 37); + this.numericUpDownSpeed.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.numericUpDownSpeed.Name = "numericUpDownSpeed"; - this.numericUpDownSpeed.Size = new System.Drawing.Size(97, 23); + this.numericUpDownSpeed.Size = new System.Drawing.Size(111, 27); this.numericUpDownSpeed.TabIndex = 1; // // labelSpeed // this.labelSpeed.AutoSize = true; - this.labelSpeed.Location = new System.Drawing.Point(17, 30); + this.labelSpeed.Location = new System.Drawing.Point(19, 40); this.labelSpeed.Name = "labelSpeed"; - this.labelSpeed.Size = new System.Drawing.Size(62, 15); + this.labelSpeed.Size = new System.Drawing.Size(76, 20); this.labelSpeed.TabIndex = 0; this.labelSpeed.Text = "Скорость:"; // // pictureBoxObject // - this.pictureBoxObject.Location = new System.Drawing.Point(16, 52); + this.pictureBoxObject.Location = new System.Drawing.Point(18, 69); + this.pictureBoxObject.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.pictureBoxObject.Name = "pictureBoxObject"; - this.pictureBoxObject.Size = new System.Drawing.Size(219, 88); + this.pictureBoxObject.Size = new System.Drawing.Size(250, 117); this.pictureBoxObject.TabIndex = 0; this.pictureBoxObject.TabStop = false; // @@ -267,9 +285,10 @@ this.panelObject.Controls.Add(this.labelBaseColor); this.panelObject.Controls.Add(this.labelDopColor); this.panelObject.Controls.Add(this.pictureBoxObject); - this.panelObject.Location = new System.Drawing.Point(522, 12); + this.panelObject.Location = new System.Drawing.Point(597, 16); + this.panelObject.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.panelObject.Name = "panelObject"; - this.panelObject.Size = new System.Drawing.Size(251, 150); + this.panelObject.Size = new System.Drawing.Size(287, 200); this.panelObject.TabIndex = 1; this.panelObject.DragDrop += new System.Windows.Forms.DragEventHandler(this.PanelObject_DragDrop); this.panelObject.DragEnter += new System.Windows.Forms.DragEventHandler(this.PanelObject_DragEnter); @@ -278,9 +297,9 @@ // this.labelBaseColor.AllowDrop = true; this.labelBaseColor.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.labelBaseColor.Location = new System.Drawing.Point(16, 10); + this.labelBaseColor.Location = new System.Drawing.Point(18, 13); this.labelBaseColor.Name = "labelBaseColor"; - this.labelBaseColor.Size = new System.Drawing.Size(96, 35); + this.labelBaseColor.Size = new System.Drawing.Size(109, 46); this.labelBaseColor.TabIndex = 9; this.labelBaseColor.Text = "Цвет"; this.labelBaseColor.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -291,9 +310,9 @@ // this.labelDopColor.AllowDrop = true; this.labelDopColor.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.labelDopColor.Location = new System.Drawing.Point(139, 10); + this.labelDopColor.Location = new System.Drawing.Point(159, 13); this.labelDopColor.Name = "labelDopColor"; - this.labelDopColor.Size = new System.Drawing.Size(96, 35); + this.labelDopColor.Size = new System.Drawing.Size(109, 46); this.labelDopColor.TabIndex = 8; this.labelDopColor.Text = "Доп. цвет"; this.labelDopColor.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -302,9 +321,10 @@ // // buttonOk // - this.buttonOk.Location = new System.Drawing.Point(522, 168); + this.buttonOk.Location = new System.Drawing.Point(597, 224); + this.buttonOk.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.buttonOk.Name = "buttonOk"; - this.buttonOk.Size = new System.Drawing.Size(100, 23); + this.buttonOk.Size = new System.Drawing.Size(114, 31); this.buttonOk.TabIndex = 2; this.buttonOk.Text = "Добавить"; this.buttonOk.UseVisualStyleBackColor = true; @@ -312,22 +332,24 @@ // // buttonCancel // - this.buttonCancel.Location = new System.Drawing.Point(677, 168); + this.buttonCancel.Location = new System.Drawing.Point(774, 224); + this.buttonCancel.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.buttonCancel.Name = "buttonCancel"; - this.buttonCancel.Size = new System.Drawing.Size(96, 23); + this.buttonCancel.Size = new System.Drawing.Size(110, 31); this.buttonCancel.TabIndex = 3; this.buttonCancel.Text = "Отмена"; this.buttonCancel.UseVisualStyleBackColor = true; // // FormPlaneConfig // - this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); + this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 20F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(785, 193); + this.ClientSize = new System.Drawing.Size(897, 257); this.Controls.Add(this.buttonCancel); this.Controls.Add(this.buttonOk); this.Controls.Add(this.panelObject); this.Controls.Add(this.groupBoxConfig); + this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.Name = "FormPlaneConfig"; this.Text = "Создание объекта"; this.groupBoxConfig.ResumeLayout(false);