From 835c2ed576cacb002cfeef964570c479c5987cc1 Mon Sep 17 00:00:00 2001 From: Nikita Potapov <47923521+nikita-potapov@users.noreply.github.com> Date: Sun, 16 Oct 2022 14:42:20 +0400 Subject: [PATCH] =?UTF-8?q?=D0=A3=D0=B1=D1=80=D0=B0=D0=BD=20GroupBox=20?= =?UTF-8?q?=D1=81=20=D0=BA=D0=BD=D0=BE=D0=BF=D0=BE=D0=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FormBoat.Designer.cs | 71 ++++++++++++++++++++------------------------ 1 file changed, 33 insertions(+), 38 deletions(-) diff --git a/FormBoat.Designer.cs b/FormBoat.Designer.cs index 174d2e0..28041b2 100644 --- a/FormBoat.Designer.cs +++ b/FormBoat.Designer.cs @@ -34,23 +34,21 @@ namespace PIbd_21_Potapov_N.S._Catamaran_Base this.toolStripStatusLabelSpeed = new System.Windows.Forms.ToolStripStatusLabel(); this.toolStripStatusLabelWeight = 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.ButtonDown = new System.Windows.Forms.Button(); this.ButtonLeft = new System.Windows.Forms.Button(); this.ButtonRight = new System.Windows.Forms.Button(); this.pictureBoxBoat = new System.Windows.Forms.PictureBox(); this.statusStrip.SuspendLayout(); - this.groupBox.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBoxBoat)).BeginInit(); this.SuspendLayout(); // // ButtonCreate // - this.ButtonCreate.Location = new System.Drawing.Point(10, 277); - this.ButtonCreate.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.ButtonCreate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.ButtonCreate.Location = new System.Drawing.Point(11, 369); 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.Text = "Создать"; this.ButtonCreate.Click += new System.EventHandler(this.ButtonCreate_Click); @@ -62,62 +60,52 @@ namespace PIbd_21_Potapov_N.S._Catamaran_Base this.toolStripStatusLabelSpeed, this.toolStripStatusLabelWeight, 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.Padding = new System.Windows.Forms.Padding(1, 0, 12, 0); - this.statusStrip.Size = new System.Drawing.Size(940, 22); + this.statusStrip.Size = new System.Drawing.Size(1074, 26); this.statusStrip.TabIndex = 8; this.statusStrip.Text = "statusStrip"; // // 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 = "Скорость: "; // // 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 = "Вес: "; // // 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 = "Цвет: "; // - // 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 // + 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.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.Size = new System.Drawing.Size(35, 30); + this.ButtonUp.Size = new System.Drawing.Size(40, 40); this.ButtonUp.TabIndex = 1; this.ButtonUp.UseVisualStyleBackColor = true; this.ButtonUp.Click += new System.EventHandler(this.ButtonMove_Click); // // 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.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.Size = new System.Drawing.Size(35, 30); + this.ButtonDown.Size = new System.Drawing.Size(40, 40); this.ButtonDown.TabIndex = 2; this.ButtonDown.Text = " "; this.ButtonDown.UseVisualStyleBackColor = true; @@ -125,22 +113,26 @@ namespace PIbd_21_Potapov_N.S._Catamaran_Base // // 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.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.Size = new System.Drawing.Size(35, 30); + this.ButtonLeft.Size = new System.Drawing.Size(40, 40); this.ButtonLeft.TabIndex = 3; this.ButtonLeft.UseVisualStyleBackColor = true; this.ButtonLeft.Click += new System.EventHandler(this.ButtonMove_Click); // // 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.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.Size = new System.Drawing.Size(35, 30); + this.ButtonRight.Size = new System.Drawing.Size(40, 40); this.ButtonRight.TabIndex = 4; this.ButtonRight.UseVisualStyleBackColor = true; 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.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.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.TabIndex = 0; this.pictureBoxBoat.TabStop = false; @@ -158,18 +151,21 @@ namespace PIbd_21_Potapov_N.S._Catamaran_Base // // 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.ClientSize = new System.Drawing.Size(940, 331); - this.Controls.Add(this.groupBox); + this.ClientSize = new System.Drawing.Size(1074, 441); + 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.statusStrip); this.Controls.Add(this.pictureBoxBoat); + this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.Name = "FormBoat"; this.Text = "Лодка"; this.statusStrip.ResumeLayout(false); this.statusStrip.PerformLayout(); - this.groupBox.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.pictureBoxBoat)).EndInit(); this.ResumeLayout(false); 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 ButtonCreate; private System.Windows.Forms.StatusStrip statusStrip; - private System.Windows.Forms.GroupBox groupBox; private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabelSpeed; private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabelWeight; private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabelColor;