This commit is contained in:
Alenka 2023-12-08 21:38:52 +04:00
parent 310e1ebda4
commit 3278ee4d2b
2 changed files with 26 additions and 26 deletions

View File

@ -32,14 +32,14 @@
this.checkBoxMissileSilos = new System.Windows.Forms.CheckBox();
this.buttonCancel = new System.Windows.Forms.Button();
this.buttonAdd = new System.Windows.Forms.Button();
this.panelOrchid = new System.Windows.Forms.Panel();
this.panelColor = new System.Windows.Forms.Panel();
this.label_addit_color = new System.Windows.Forms.Label();
this.label_color = new System.Windows.Forms.Label();
this.pictureBoxCruiser = new System.Windows.Forms.PictureBox();
this.labelAdvanced = new System.Windows.Forms.Label();
this.labelBasic = new System.Windows.Forms.Label();
this.groupBoxColor = new System.Windows.Forms.GroupBox();
this.panelColor = new System.Windows.Forms.Panel();
this.panelOrchid = new System.Windows.Forms.Panel();
this.panelPink = new System.Windows.Forms.Panel();
this.panelViolet = new System.Windows.Forms.Panel();
this.panelBlue = new System.Windows.Forms.Panel();
@ -53,7 +53,7 @@
this.labelWeight = new System.Windows.Forms.Label();
this.labelSpeed = new System.Windows.Forms.Label();
this.groupBoxCruiser.SuspendLayout();
this.panelOrchid.SuspendLayout();
this.panelColor.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxCruiser)).BeginInit();
this.groupBoxColor.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.numericUpDownWeight)).BeginInit();
@ -65,7 +65,7 @@
this.groupBoxCruiser.Controls.Add(this.checkBoxMissileSilos);
this.groupBoxCruiser.Controls.Add(this.buttonCancel);
this.groupBoxCruiser.Controls.Add(this.buttonAdd);
this.groupBoxCruiser.Controls.Add(this.panelOrchid);
this.groupBoxCruiser.Controls.Add(this.panelColor);
this.groupBoxCruiser.Controls.Add(this.labelAdvanced);
this.groupBoxCruiser.Controls.Add(this.labelBasic);
this.groupBoxCruiser.Controls.Add(this.groupBoxColor);
@ -110,18 +110,18 @@
this.buttonAdd.UseVisualStyleBackColor = true;
this.buttonAdd.Click += new System.EventHandler(this.ButtonAdd_Click);
//
// panelOrchid
// panelColor
//
this.panelOrchid.AllowDrop = true;
this.panelOrchid.Controls.Add(this.label_addit_color);
this.panelOrchid.Controls.Add(this.label_color);
this.panelOrchid.Controls.Add(this.pictureBoxCruiser);
this.panelOrchid.Location = new System.Drawing.Point(822, 45);
this.panelOrchid.Name = "panelOrchid";
this.panelOrchid.Size = new System.Drawing.Size(312, 261);
this.panelOrchid.TabIndex = 9;
this.panelOrchid.DragDrop += new System.Windows.Forms.DragEventHandler(this.PanelObject_DragDrop);
this.panelOrchid.DragEnter += new System.Windows.Forms.DragEventHandler(this.PanelObject_DragEnter);
this.panelColor.AllowDrop = true;
this.panelColor.Controls.Add(this.label_addit_color);
this.panelColor.Controls.Add(this.label_color);
this.panelColor.Controls.Add(this.pictureBoxCruiser);
this.panelColor.Location = new System.Drawing.Point(822, 45);
this.panelColor.Name = "panelColor";
this.panelColor.Size = new System.Drawing.Size(312, 261);
this.panelColor.TabIndex = 9;
this.panelColor.DragDrop += new System.Windows.Forms.DragEventHandler(this.PanelObject_DragDrop);
this.panelColor.DragEnter += new System.Windows.Forms.DragEventHandler(this.PanelObject_DragEnter);
//
// label_addit_color
//
@ -181,7 +181,7 @@
//
// groupBoxColor
//
this.groupBoxColor.Controls.Add(this.panelColor);
this.groupBoxColor.Controls.Add(this.panelOrchid);
this.groupBoxColor.Controls.Add(this.panelPink);
this.groupBoxColor.Controls.Add(this.panelViolet);
this.groupBoxColor.Controls.Add(this.panelBlue);
@ -196,13 +196,13 @@
this.groupBoxColor.TabStop = false;
this.groupBoxColor.Text = "Цвета";
//
// panelColor
// panelOrchid
//
this.panelColor.BackColor = System.Drawing.Color.Fuchsia;
this.panelColor.Location = new System.Drawing.Point(264, 153);
this.panelColor.Name = "panelColor";
this.panelColor.Size = new System.Drawing.Size(53, 49);
this.panelColor.TabIndex = 7;
this.panelOrchid.BackColor = System.Drawing.Color.Fuchsia;
this.panelOrchid.Location = new System.Drawing.Point(264, 153);
this.panelOrchid.Name = "panelOrchid";
this.panelOrchid.Size = new System.Drawing.Size(53, 49);
this.panelOrchid.TabIndex = 7;
//
// panelPink
//
@ -342,7 +342,7 @@
this.Text = "Создание объекта";
this.groupBoxCruiser.ResumeLayout(false);
this.groupBoxCruiser.PerformLayout();
this.panelOrchid.ResumeLayout(false);
this.panelColor.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.pictureBoxCruiser)).EndInit();
this.groupBoxColor.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.numericUpDownWeight)).EndInit();
@ -356,7 +356,7 @@
private GroupBox groupBoxCruiser;
private Button buttonCancel;
private Button buttonAdd;
private Panel panelOrchid;
private Panel panelColor;
private Label label_addit_color;
private Label label_color;
private PictureBox pictureBoxCruiser;
@ -371,7 +371,7 @@
private Label labelWeight;
private Label labelSpeed;
private CheckBox checkBoxMissileSilos;
private Panel panelColor;
private Panel panelOrchid;
private Panel panelPink;
private Panel panelViolet;
private Panel panelBlue;

View File

@ -27,7 +27,7 @@ namespace Cruiser
panelPink.MouseDown += PanelColor_MouseDown;
panelViolet.MouseDown += PanelColor_MouseDown;
panelPurple.MouseDown += PanelColor_MouseDown;
panelOrchid.MouseDown += PanelColor_MouseDown;
panelColor.MouseDown += PanelColor_MouseDown;
buttonCancel.Click += (s, e) => Close();
}