386 lines
14 KiB
C#
386 lines
14 KiB
C#
|
namespace Lab
|
|||
|
{
|
|||
|
partial class FormTankerConfig
|
|||
|
{
|
|||
|
/// <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()
|
|||
|
{
|
|||
|
settingPanel = new Panel();
|
|||
|
UpdateLabel = new Label();
|
|||
|
BaseLabel = new Label();
|
|||
|
label4 = new Label();
|
|||
|
panel1 = new Panel();
|
|||
|
PurplePanel = new Panel();
|
|||
|
BlackPanel = new Panel();
|
|||
|
GrayPanel = new Panel();
|
|||
|
WhitePanel = new Panel();
|
|||
|
YellowPanel = new Panel();
|
|||
|
BluePanel = new Panel();
|
|||
|
GreenPanel = new Panel();
|
|||
|
RedPanel = new Panel();
|
|||
|
SportLineCheck = new CheckBox();
|
|||
|
WingCheck = new CheckBox();
|
|||
|
BodyKitCheck = new CheckBox();
|
|||
|
label3 = new Label();
|
|||
|
WeightNumeric = new NumericUpDown();
|
|||
|
label2 = new Label();
|
|||
|
SpeedNumeric = new NumericUpDown();
|
|||
|
label1 = new Label();
|
|||
|
panel10 = new Panel();
|
|||
|
TankerDraw = new PictureBox();
|
|||
|
AddColorLabel = new Label();
|
|||
|
BaseColorLabel = new Label();
|
|||
|
AddButton = new Button();
|
|||
|
CancelButton = new Button();
|
|||
|
settingPanel.SuspendLayout();
|
|||
|
panel1.SuspendLayout();
|
|||
|
((System.ComponentModel.ISupportInitialize)WeightNumeric).BeginInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)SpeedNumeric).BeginInit();
|
|||
|
panel10.SuspendLayout();
|
|||
|
((System.ComponentModel.ISupportInitialize)TankerDraw).BeginInit();
|
|||
|
SuspendLayout();
|
|||
|
//
|
|||
|
// settingPanel
|
|||
|
//
|
|||
|
settingPanel.Controls.Add(UpdateLabel);
|
|||
|
settingPanel.Controls.Add(BaseLabel);
|
|||
|
settingPanel.Controls.Add(label4);
|
|||
|
settingPanel.Controls.Add(panel1);
|
|||
|
settingPanel.Controls.Add(SportLineCheck);
|
|||
|
settingPanel.Controls.Add(WingCheck);
|
|||
|
settingPanel.Controls.Add(BodyKitCheck);
|
|||
|
settingPanel.Controls.Add(label3);
|
|||
|
settingPanel.Controls.Add(WeightNumeric);
|
|||
|
settingPanel.Controls.Add(label2);
|
|||
|
settingPanel.Controls.Add(SpeedNumeric);
|
|||
|
settingPanel.Controls.Add(label1);
|
|||
|
settingPanel.Location = new Point(10, 11);
|
|||
|
settingPanel.Name = "settingPanel";
|
|||
|
settingPanel.Size = new Size(638, 305);
|
|||
|
settingPanel.TabIndex = 0;
|
|||
|
//
|
|||
|
// UpdateLabel
|
|||
|
//
|
|||
|
UpdateLabel.BorderStyle = BorderStyle.FixedSingle;
|
|||
|
UpdateLabel.Location = new Point(454, 217);
|
|||
|
UpdateLabel.Name = "UpdateLabel";
|
|||
|
UpdateLabel.Size = new Size(110, 50);
|
|||
|
UpdateLabel.TabIndex = 11;
|
|||
|
UpdateLabel.Text = "Продвинутый";
|
|||
|
UpdateLabel.TextAlign = ContentAlignment.MiddleCenter;
|
|||
|
UpdateLabel.MouseDown += LabelObject_MouseDown;
|
|||
|
//
|
|||
|
// BaseLabel
|
|||
|
//
|
|||
|
BaseLabel.BorderStyle = BorderStyle.FixedSingle;
|
|||
|
BaseLabel.Location = new Point(321, 217);
|
|||
|
BaseLabel.Name = "BaseLabel";
|
|||
|
BaseLabel.Size = new Size(110, 50);
|
|||
|
BaseLabel.TabIndex = 10;
|
|||
|
BaseLabel.Text = "Простой";
|
|||
|
BaseLabel.TextAlign = ContentAlignment.MiddleCenter;
|
|||
|
BaseLabel.MouseDown += LabelObject_MouseDown;
|
|||
|
//
|
|||
|
// label4
|
|||
|
//
|
|||
|
label4.AutoSize = true;
|
|||
|
label4.Location = new Point(321, 25);
|
|||
|
label4.Name = "label4";
|
|||
|
label4.Size = new Size(42, 20);
|
|||
|
label4.TabIndex = 9;
|
|||
|
label4.Text = "Цвет";
|
|||
|
//
|
|||
|
// panel1
|
|||
|
//
|
|||
|
panel1.Controls.Add(PurplePanel);
|
|||
|
panel1.Controls.Add(BlackPanel);
|
|||
|
panel1.Controls.Add(GrayPanel);
|
|||
|
panel1.Controls.Add(WhitePanel);
|
|||
|
panel1.Controls.Add(YellowPanel);
|
|||
|
panel1.Controls.Add(BluePanel);
|
|||
|
panel1.Controls.Add(GreenPanel);
|
|||
|
panel1.Controls.Add(RedPanel);
|
|||
|
panel1.Location = new Point(321, 48);
|
|||
|
panel1.Name = "panel1";
|
|||
|
panel1.Size = new Size(243, 125);
|
|||
|
panel1.TabIndex = 8;
|
|||
|
panel1.Tag = "";
|
|||
|
//
|
|||
|
// PurplePanel
|
|||
|
//
|
|||
|
PurplePanel.BackColor = Color.FromArgb(192, 0, 192);
|
|||
|
PurplePanel.Location = new Point(182, 65);
|
|||
|
PurplePanel.Name = "PurplePanel";
|
|||
|
PurplePanel.Size = new Size(50, 50);
|
|||
|
PurplePanel.TabIndex = 1;
|
|||
|
//
|
|||
|
// BlackPanel
|
|||
|
//
|
|||
|
BlackPanel.BackColor = Color.Black;
|
|||
|
BlackPanel.Location = new Point(126, 65);
|
|||
|
BlackPanel.Name = "BlackPanel";
|
|||
|
BlackPanel.Size = new Size(50, 50);
|
|||
|
BlackPanel.TabIndex = 1;
|
|||
|
//
|
|||
|
// GrayPanel
|
|||
|
//
|
|||
|
GrayPanel.BackColor = Color.Gray;
|
|||
|
GrayPanel.Location = new Point(70, 65);
|
|||
|
GrayPanel.Name = "GrayPanel";
|
|||
|
GrayPanel.Size = new Size(50, 50);
|
|||
|
GrayPanel.TabIndex = 1;
|
|||
|
//
|
|||
|
// WhitePanel
|
|||
|
//
|
|||
|
WhitePanel.BackColor = Color.White;
|
|||
|
WhitePanel.Location = new Point(14, 65);
|
|||
|
WhitePanel.Name = "WhitePanel";
|
|||
|
WhitePanel.Size = new Size(50, 50);
|
|||
|
WhitePanel.TabIndex = 1;
|
|||
|
//
|
|||
|
// YellowPanel
|
|||
|
//
|
|||
|
YellowPanel.BackColor = Color.Yellow;
|
|||
|
YellowPanel.Location = new Point(182, 9);
|
|||
|
YellowPanel.Name = "YellowPanel";
|
|||
|
YellowPanel.Size = new Size(50, 50);
|
|||
|
YellowPanel.TabIndex = 1;
|
|||
|
//
|
|||
|
// BluePanel
|
|||
|
//
|
|||
|
BluePanel.BackColor = Color.Blue;
|
|||
|
BluePanel.Location = new Point(126, 9);
|
|||
|
BluePanel.Name = "BluePanel";
|
|||
|
BluePanel.Size = new Size(50, 50);
|
|||
|
BluePanel.TabIndex = 1;
|
|||
|
//
|
|||
|
// GreenPanel
|
|||
|
//
|
|||
|
GreenPanel.BackColor = Color.FromArgb(0, 192, 0);
|
|||
|
GreenPanel.Location = new Point(70, 9);
|
|||
|
GreenPanel.Name = "GreenPanel";
|
|||
|
GreenPanel.Size = new Size(50, 50);
|
|||
|
GreenPanel.TabIndex = 1;
|
|||
|
//
|
|||
|
// RedPanel
|
|||
|
//
|
|||
|
RedPanel.BackColor = Color.Red;
|
|||
|
RedPanel.Location = new Point(14, 9);
|
|||
|
RedPanel.Name = "RedPanel";
|
|||
|
RedPanel.Size = new Size(50, 50);
|
|||
|
RedPanel.TabIndex = 0;
|
|||
|
//
|
|||
|
// SportLineCheck
|
|||
|
//
|
|||
|
SportLineCheck.AutoSize = true;
|
|||
|
SportLineCheck.Location = new Point(43, 243);
|
|||
|
SportLineCheck.Name = "SportLineCheck";
|
|||
|
SportLineCheck.Size = new Size(163, 24);
|
|||
|
SportLineCheck.TabIndex = 7;
|
|||
|
SportLineCheck.Text = "Гоночные полоски";
|
|||
|
SportLineCheck.UseVisualStyleBackColor = true;
|
|||
|
//
|
|||
|
// WingCheck
|
|||
|
//
|
|||
|
WingCheck.AutoSize = true;
|
|||
|
WingCheck.Location = new Point(43, 196);
|
|||
|
WingCheck.Name = "WingCheck";
|
|||
|
WingCheck.Size = new Size(90, 24);
|
|||
|
WingCheck.TabIndex = 6;
|
|||
|
WingCheck.Text = "Мигалка";
|
|||
|
WingCheck.UseVisualStyleBackColor = true;
|
|||
|
//
|
|||
|
// BodyKitCheck
|
|||
|
//
|
|||
|
BodyKitCheck.AutoSize = true;
|
|||
|
BodyKitCheck.Location = new Point(43, 149);
|
|||
|
BodyKitCheck.Name = "BodyKitCheck";
|
|||
|
BodyKitCheck.Size = new Size(74, 24);
|
|||
|
BodyKitCheck.TabIndex = 5;
|
|||
|
BodyKitCheck.Text = "Обвес";
|
|||
|
BodyKitCheck.UseVisualStyleBackColor = true;
|
|||
|
//
|
|||
|
// label3
|
|||
|
//
|
|||
|
label3.AutoSize = true;
|
|||
|
label3.Location = new Point(43, 91);
|
|||
|
label3.Name = "label3";
|
|||
|
label3.Size = new Size(33, 20);
|
|||
|
label3.TabIndex = 4;
|
|||
|
label3.Text = "Вес";
|
|||
|
//
|
|||
|
// WeightNumeric
|
|||
|
//
|
|||
|
WeightNumeric.Location = new Point(122, 89);
|
|||
|
WeightNumeric.Name = "WeightNumeric";
|
|||
|
WeightNumeric.Size = new Size(150, 27);
|
|||
|
WeightNumeric.TabIndex = 3;
|
|||
|
WeightNumeric.Value = new decimal(new int[] { 100, 0, 0, 0 });
|
|||
|
//
|
|||
|
// label2
|
|||
|
//
|
|||
|
label2.AutoSize = true;
|
|||
|
label2.Location = new Point(43, 48);
|
|||
|
label2.Name = "label2";
|
|||
|
label2.Size = new Size(73, 20);
|
|||
|
label2.TabIndex = 2;
|
|||
|
label2.Text = "Скорость";
|
|||
|
//
|
|||
|
// SpeedNumeric
|
|||
|
//
|
|||
|
SpeedNumeric.Location = new Point(122, 46);
|
|||
|
SpeedNumeric.Name = "SpeedNumeric";
|
|||
|
SpeedNumeric.Size = new Size(150, 27);
|
|||
|
SpeedNumeric.TabIndex = 1;
|
|||
|
SpeedNumeric.Value = new decimal(new int[] { 100, 0, 0, 0 });
|
|||
|
//
|
|||
|
// label1
|
|||
|
//
|
|||
|
label1.AutoSize = true;
|
|||
|
label1.Location = new Point(2, 10);
|
|||
|
label1.Name = "label1";
|
|||
|
label1.Size = new Size(90, 20);
|
|||
|
label1.TabIndex = 0;
|
|||
|
label1.Text = "Параметры";
|
|||
|
//
|
|||
|
// panel10
|
|||
|
//
|
|||
|
panel10.AllowDrop = true;
|
|||
|
panel10.Controls.Add(TankerDraw);
|
|||
|
panel10.Location = new Point(654, 86);
|
|||
|
panel10.Name = "panel10";
|
|||
|
panel10.Size = new Size(318, 172);
|
|||
|
panel10.TabIndex = 1;
|
|||
|
panel10.DragDrop += PanelObject_DragDrop;
|
|||
|
panel10.DragEnter += PanelObject_DragEnter;
|
|||
|
//
|
|||
|
// TankerDraw
|
|||
|
//
|
|||
|
TankerDraw.Location = new Point(3, 3);
|
|||
|
TankerDraw.Name = "TankerDraw";
|
|||
|
TankerDraw.Size = new Size(312, 166);
|
|||
|
TankerDraw.TabIndex = 14;
|
|||
|
TankerDraw.TabStop = false;
|
|||
|
//
|
|||
|
// AddColorLabel
|
|||
|
//
|
|||
|
AddColorLabel.AllowDrop = true;
|
|||
|
AddColorLabel.BorderStyle = BorderStyle.FixedSingle;
|
|||
|
AddColorLabel.Location = new Point(849, 16);
|
|||
|
AddColorLabel.Name = "AddColorLabel";
|
|||
|
AddColorLabel.Size = new Size(120, 40);
|
|||
|
AddColorLabel.TabIndex = 13;
|
|||
|
AddColorLabel.Text = "Доп. цвет";
|
|||
|
AddColorLabel.TextAlign = ContentAlignment.MiddleCenter;
|
|||
|
AddColorLabel.DragDrop += LabelColor_DragDrop;
|
|||
|
AddColorLabel.DragEnter += LabelColor_DragEnter;
|
|||
|
//
|
|||
|
// BaseColorLabel
|
|||
|
//
|
|||
|
BaseColorLabel.AllowDrop = true;
|
|||
|
BaseColorLabel.BorderStyle = BorderStyle.FixedSingle;
|
|||
|
BaseColorLabel.Location = new Point(657, 16);
|
|||
|
BaseColorLabel.Name = "BaseColorLabel";
|
|||
|
BaseColorLabel.Size = new Size(120, 40);
|
|||
|
BaseColorLabel.TabIndex = 12;
|
|||
|
BaseColorLabel.Text = "Цвет";
|
|||
|
BaseColorLabel.TextAlign = ContentAlignment.MiddleCenter;
|
|||
|
BaseColorLabel.DragDrop += LabelColor_DragDrop;
|
|||
|
BaseColorLabel.DragEnter += LabelColor_DragEnter;
|
|||
|
//
|
|||
|
// AddButton
|
|||
|
//
|
|||
|
AddButton.Location = new Point(657, 266);
|
|||
|
AddButton.Name = "AddButton";
|
|||
|
AddButton.Size = new Size(127, 42);
|
|||
|
AddButton.TabIndex = 2;
|
|||
|
AddButton.Text = "Добавить";
|
|||
|
AddButton.UseVisualStyleBackColor = true;
|
|||
|
AddButton.Click += ButtonOk_Click;
|
|||
|
//
|
|||
|
// CancelButton
|
|||
|
//
|
|||
|
CancelButton.Location = new Point(842, 266);
|
|||
|
CancelButton.Name = "CancelButton";
|
|||
|
CancelButton.Size = new Size(127, 42);
|
|||
|
CancelButton.TabIndex = 3;
|
|||
|
CancelButton.Text = "Отмена";
|
|||
|
CancelButton.UseVisualStyleBackColor = true;
|
|||
|
//
|
|||
|
// FormTankerConfig
|
|||
|
//
|
|||
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|||
|
AutoScaleMode = AutoScaleMode.Font;
|
|||
|
ClientSize = new Size(987, 320);
|
|||
|
Controls.Add(CancelButton);
|
|||
|
Controls.Add(AddColorLabel);
|
|||
|
Controls.Add(AddButton);
|
|||
|
Controls.Add(BaseColorLabel);
|
|||
|
Controls.Add(panel10);
|
|||
|
Controls.Add(settingPanel);
|
|||
|
Name = "FormTankerConfig";
|
|||
|
Text = "FormTankerConfig";
|
|||
|
settingPanel.ResumeLayout(false);
|
|||
|
settingPanel.PerformLayout();
|
|||
|
panel1.ResumeLayout(false);
|
|||
|
((System.ComponentModel.ISupportInitialize)WeightNumeric).EndInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)SpeedNumeric).EndInit();
|
|||
|
panel10.ResumeLayout(false);
|
|||
|
((System.ComponentModel.ISupportInitialize)TankerDraw).EndInit();
|
|||
|
ResumeLayout(false);
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
private Panel settingPanel;
|
|||
|
private Label label3;
|
|||
|
private NumericUpDown WeightNumeric;
|
|||
|
private Label label2;
|
|||
|
private NumericUpDown SpeedNumeric;
|
|||
|
private Label label1;
|
|||
|
private CheckBox BodyKitCheck;
|
|||
|
private CheckBox SportLineCheck;
|
|||
|
private CheckBox WingCheck;
|
|||
|
private Label label4;
|
|||
|
private Panel panel1;
|
|||
|
private Panel PurplePanel;
|
|||
|
private Panel BlackPanel;
|
|||
|
private Panel GrayPanel;
|
|||
|
private Panel WhitePanel;
|
|||
|
private Panel YellowPanel;
|
|||
|
private Panel BluePanel;
|
|||
|
private Panel GreenPanel;
|
|||
|
private Panel RedPanel;
|
|||
|
private Label UpdateLabel;
|
|||
|
private Label BaseLabel;
|
|||
|
private Panel panel10;
|
|||
|
private PictureBox TankerDraw;
|
|||
|
private Label AddColorLabel;
|
|||
|
private Label BaseColorLabel;
|
|||
|
private Button AddButton;
|
|||
|
private Button CancelButton;
|
|||
|
}
|
|||
|
}
|