Убран GroupBox с кнопок

This commit is contained in:
Nikita Potapov 2022-10-16 14:42:20 +04:00
parent 6a05b662aa
commit 835c2ed576

71
FormBoat.Designer.cs generated
View File

@ -34,23 +34,21 @@ namespace PIbd_21_Potapov_N.S._Catamaran_Base
this.toolStripStatusLabelSpeed = new System.Windows.Forms.ToolStripStatusLabel(); this.toolStripStatusLabelSpeed = new System.Windows.Forms.ToolStripStatusLabel();
this.toolStripStatusLabelWeight = new System.Windows.Forms.ToolStripStatusLabel(); this.toolStripStatusLabelWeight = new System.Windows.Forms.ToolStripStatusLabel();
this.toolStripStatusLabelColor = new System.Windows.Forms.ToolStripStatusLabel(); this.toolStripStatusLabelColor = new System.Windows.Forms.ToolStripStatusLabel();
this.groupBox = new System.Windows.Forms.GroupBox();
this.ButtonUp = new System.Windows.Forms.Button(); this.ButtonUp = new System.Windows.Forms.Button();
this.ButtonDown = new System.Windows.Forms.Button(); this.ButtonDown = new System.Windows.Forms.Button();
this.ButtonLeft = new System.Windows.Forms.Button(); this.ButtonLeft = new System.Windows.Forms.Button();
this.ButtonRight = new System.Windows.Forms.Button(); this.ButtonRight = new System.Windows.Forms.Button();
this.pictureBoxBoat = new System.Windows.Forms.PictureBox(); this.pictureBoxBoat = new System.Windows.Forms.PictureBox();
this.statusStrip.SuspendLayout(); this.statusStrip.SuspendLayout();
this.groupBox.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxBoat)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBoxBoat)).BeginInit();
this.SuspendLayout(); this.SuspendLayout();
// //
// ButtonCreate // ButtonCreate
// //
this.ButtonCreate.Location = new System.Drawing.Point(10, 277); this.ButtonCreate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.ButtonCreate.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ButtonCreate.Location = new System.Drawing.Point(11, 369);
this.ButtonCreate.Name = "ButtonCreate"; this.ButtonCreate.Name = "ButtonCreate";
this.ButtonCreate.Size = new System.Drawing.Size(118, 28); this.ButtonCreate.Size = new System.Drawing.Size(135, 37);
this.ButtonCreate.TabIndex = 10; this.ButtonCreate.TabIndex = 10;
this.ButtonCreate.Text = "Создать"; this.ButtonCreate.Text = "Создать";
this.ButtonCreate.Click += new System.EventHandler(this.ButtonCreate_Click); this.ButtonCreate.Click += new System.EventHandler(this.ButtonCreate_Click);
@ -62,62 +60,52 @@ namespace PIbd_21_Potapov_N.S._Catamaran_Base
this.toolStripStatusLabelSpeed, this.toolStripStatusLabelSpeed,
this.toolStripStatusLabelWeight, this.toolStripStatusLabelWeight,
this.toolStripStatusLabelColor}); this.toolStripStatusLabelColor});
this.statusStrip.Location = new System.Drawing.Point(0, 309); this.statusStrip.Location = new System.Drawing.Point(0, 415);
this.statusStrip.Name = "statusStrip"; this.statusStrip.Name = "statusStrip";
this.statusStrip.Padding = new System.Windows.Forms.Padding(1, 0, 12, 0); this.statusStrip.Size = new System.Drawing.Size(1074, 26);
this.statusStrip.Size = new System.Drawing.Size(940, 22);
this.statusStrip.TabIndex = 8; this.statusStrip.TabIndex = 8;
this.statusStrip.Text = "statusStrip"; this.statusStrip.Text = "statusStrip";
// //
// toolStripStatusLabelSpeed // toolStripStatusLabelSpeed
// //
this.toolStripStatusLabelSpeed.Name = "toolStripStatusLabelSpeed"; this.toolStripStatusLabelSpeed.Name = "toolStripStatusLabelSpeed";
this.toolStripStatusLabelSpeed.Size = new System.Drawing.Size(65, 17); this.toolStripStatusLabelSpeed.Size = new System.Drawing.Size(80, 20);
this.toolStripStatusLabelSpeed.Text = "Скорость: "; this.toolStripStatusLabelSpeed.Text = "Скорость: ";
// //
// toolStripStatusLabelWeight // toolStripStatusLabelWeight
// //
this.toolStripStatusLabelWeight.Name = "toolStripStatusLabelWeight"; this.toolStripStatusLabelWeight.Name = "toolStripStatusLabelWeight";
this.toolStripStatusLabelWeight.Size = new System.Drawing.Size(32, 17); this.toolStripStatusLabelWeight.Size = new System.Drawing.Size(40, 20);
this.toolStripStatusLabelWeight.Text = "Вес: "; this.toolStripStatusLabelWeight.Text = "Вес: ";
// //
// toolStripStatusLabelColor // toolStripStatusLabelColor
// //
this.toolStripStatusLabelColor.Name = "toolStripStatusLabelColor"; this.toolStripStatusLabelColor.Name = "toolStripStatusLabelColor";
this.toolStripStatusLabelColor.Size = new System.Drawing.Size(39, 17); this.toolStripStatusLabelColor.Size = new System.Drawing.Size(49, 20);
this.toolStripStatusLabelColor.Text = "Цвет: "; this.toolStripStatusLabelColor.Text = "Цвет: ";
// //
// groupBox
//
this.groupBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.groupBox.Controls.Add(this.ButtonUp);
this.groupBox.Controls.Add(this.ButtonDown);
this.groupBox.Controls.Add(this.ButtonLeft);
this.groupBox.Controls.Add(this.ButtonRight);
this.groupBox.Location = new System.Drawing.Point(808, 244);
this.groupBox.Name = "groupBox";
this.groupBox.Size = new System.Drawing.Size(122, 66);
this.groupBox.TabIndex = 9;
this.groupBox.TabStop = false;
//
// ButtonUp // ButtonUp
// //
this.ButtonUp.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.ButtonUp.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.ButtonUp.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.ButtonUp.Image = global::PIbd_21_Potapov_N.S._Catamaran_Base.Properties.Resources.arrow_up1; this.ButtonUp.Image = global::PIbd_21_Potapov_N.S._Catamaran_Base.Properties.Resources.arrow_up1;
this.ButtonUp.Location = new System.Drawing.Point(45, 0); this.ButtonUp.Location = new System.Drawing.Point(976, 318);
this.ButtonUp.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.ButtonUp.Name = "ButtonUp"; this.ButtonUp.Name = "ButtonUp";
this.ButtonUp.Size = new System.Drawing.Size(35, 30); this.ButtonUp.Size = new System.Drawing.Size(40, 40);
this.ButtonUp.TabIndex = 1; this.ButtonUp.TabIndex = 1;
this.ButtonUp.UseVisualStyleBackColor = true; this.ButtonUp.UseVisualStyleBackColor = true;
this.ButtonUp.Click += new System.EventHandler(this.ButtonMove_Click); this.ButtonUp.Click += new System.EventHandler(this.ButtonMove_Click);
// //
// ButtonDown // ButtonDown
// //
this.ButtonDown.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.ButtonDown.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.ButtonDown.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.ButtonDown.Image = global::PIbd_21_Potapov_N.S._Catamaran_Base.Properties.Resources.arrow_down1; this.ButtonDown.Image = global::PIbd_21_Potapov_N.S._Catamaran_Base.Properties.Resources.arrow_down1;
this.ButtonDown.Location = new System.Drawing.Point(45, 32); this.ButtonDown.Location = new System.Drawing.Point(976, 366);
this.ButtonDown.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.ButtonDown.Name = "ButtonDown"; this.ButtonDown.Name = "ButtonDown";
this.ButtonDown.Size = new System.Drawing.Size(35, 30); this.ButtonDown.Size = new System.Drawing.Size(40, 40);
this.ButtonDown.TabIndex = 2; this.ButtonDown.TabIndex = 2;
this.ButtonDown.Text = " "; this.ButtonDown.Text = " ";
this.ButtonDown.UseVisualStyleBackColor = true; this.ButtonDown.UseVisualStyleBackColor = true;
@ -125,22 +113,26 @@ namespace PIbd_21_Potapov_N.S._Catamaran_Base
// //
// ButtonLeft // ButtonLeft
// //
this.ButtonLeft.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.ButtonLeft.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.ButtonLeft.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.ButtonLeft.Image = global::PIbd_21_Potapov_N.S._Catamaran_Base.Properties.Resources.arrow_left1; this.ButtonLeft.Image = global::PIbd_21_Potapov_N.S._Catamaran_Base.Properties.Resources.arrow_left1;
this.ButtonLeft.Location = new System.Drawing.Point(4, 32); this.ButtonLeft.Location = new System.Drawing.Point(930, 366);
this.ButtonLeft.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.ButtonLeft.Name = "ButtonLeft"; this.ButtonLeft.Name = "ButtonLeft";
this.ButtonLeft.Size = new System.Drawing.Size(35, 30); this.ButtonLeft.Size = new System.Drawing.Size(40, 40);
this.ButtonLeft.TabIndex = 3; this.ButtonLeft.TabIndex = 3;
this.ButtonLeft.UseVisualStyleBackColor = true; this.ButtonLeft.UseVisualStyleBackColor = true;
this.ButtonLeft.Click += new System.EventHandler(this.ButtonMove_Click); this.ButtonLeft.Click += new System.EventHandler(this.ButtonMove_Click);
// //
// ButtonRight // ButtonRight
// //
this.ButtonRight.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.ButtonRight.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.ButtonRight.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.ButtonRight.Image = global::PIbd_21_Potapov_N.S._Catamaran_Base.Properties.Resources.arrow_right1; this.ButtonRight.Image = global::PIbd_21_Potapov_N.S._Catamaran_Base.Properties.Resources.arrow_right1;
this.ButtonRight.Location = new System.Drawing.Point(85, 33); this.ButtonRight.Location = new System.Drawing.Point(1022, 366);
this.ButtonRight.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.ButtonRight.Name = "ButtonRight"; this.ButtonRight.Name = "ButtonRight";
this.ButtonRight.Size = new System.Drawing.Size(35, 30); this.ButtonRight.Size = new System.Drawing.Size(40, 40);
this.ButtonRight.TabIndex = 4; this.ButtonRight.TabIndex = 4;
this.ButtonRight.UseVisualStyleBackColor = true; this.ButtonRight.UseVisualStyleBackColor = true;
this.ButtonRight.Click += new System.EventHandler(this.ButtonMove_Click); this.ButtonRight.Click += new System.EventHandler(this.ButtonMove_Click);
@ -149,8 +141,9 @@ namespace PIbd_21_Potapov_N.S._Catamaran_Base
// //
this.pictureBoxBoat.Dock = System.Windows.Forms.DockStyle.Fill; this.pictureBoxBoat.Dock = System.Windows.Forms.DockStyle.Fill;
this.pictureBoxBoat.Location = new System.Drawing.Point(0, 0); this.pictureBoxBoat.Location = new System.Drawing.Point(0, 0);
this.pictureBoxBoat.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.pictureBoxBoat.Name = "pictureBoxBoat"; this.pictureBoxBoat.Name = "pictureBoxBoat";
this.pictureBoxBoat.Size = new System.Drawing.Size(940, 331); this.pictureBoxBoat.Size = new System.Drawing.Size(1074, 441);
this.pictureBoxBoat.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize; this.pictureBoxBoat.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
this.pictureBoxBoat.TabIndex = 0; this.pictureBoxBoat.TabIndex = 0;
this.pictureBoxBoat.TabStop = false; this.pictureBoxBoat.TabStop = false;
@ -158,18 +151,21 @@ namespace PIbd_21_Potapov_N.S._Catamaran_Base
// //
// FormBoat // FormBoat
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 20F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(940, 331); this.ClientSize = new System.Drawing.Size(1074, 441);
this.Controls.Add(this.groupBox); this.Controls.Add(this.ButtonRight);
this.Controls.Add(this.ButtonDown);
this.Controls.Add(this.ButtonUp);
this.Controls.Add(this.ButtonLeft);
this.Controls.Add(this.ButtonCreate); this.Controls.Add(this.ButtonCreate);
this.Controls.Add(this.statusStrip); this.Controls.Add(this.statusStrip);
this.Controls.Add(this.pictureBoxBoat); this.Controls.Add(this.pictureBoxBoat);
this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.Name = "FormBoat"; this.Name = "FormBoat";
this.Text = "Лодка"; this.Text = "Лодка";
this.statusStrip.ResumeLayout(false); this.statusStrip.ResumeLayout(false);
this.statusStrip.PerformLayout(); this.statusStrip.PerformLayout();
this.groupBox.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.pictureBoxBoat)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBoxBoat)).EndInit();
this.ResumeLayout(false); this.ResumeLayout(false);
this.PerformLayout(); this.PerformLayout();
@ -185,7 +181,6 @@ namespace PIbd_21_Potapov_N.S._Catamaran_Base
private System.Windows.Forms.Button ButtonRight; private System.Windows.Forms.Button ButtonRight;
private System.Windows.Forms.Button ButtonCreate; private System.Windows.Forms.Button ButtonCreate;
private System.Windows.Forms.StatusStrip statusStrip; private System.Windows.Forms.StatusStrip statusStrip;
private System.Windows.Forms.GroupBox groupBox;
private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabelSpeed; private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabelSpeed;
private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabelWeight; private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabelWeight;
private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabelColor; private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabelColor;