This commit is contained in:
Владислав Захаров 2022-09-19 10:18:10 +04:00
parent 2b46ad4f03
commit 471ece01d3

View File

@ -46,9 +46,8 @@
// //
this.pictureBoxTraktor.Dock = System.Windows.Forms.DockStyle.Fill; this.pictureBoxTraktor.Dock = System.Windows.Forms.DockStyle.Fill;
this.pictureBoxTraktor.Location = new System.Drawing.Point(0, 0); this.pictureBoxTraktor.Location = new System.Drawing.Point(0, 0);
this.pictureBoxTraktor.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.pictureBoxTraktor.Name = "pictureBoxTraktor"; this.pictureBoxTraktor.Name = "pictureBoxTraktor";
this.pictureBoxTraktor.Size = new System.Drawing.Size(700, 338); this.pictureBoxTraktor.Size = new System.Drawing.Size(800, 425);
this.pictureBoxTraktor.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize; this.pictureBoxTraktor.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
this.pictureBoxTraktor.TabIndex = 0; this.pictureBoxTraktor.TabIndex = 0;
this.pictureBoxTraktor.TabStop = false; this.pictureBoxTraktor.TabStop = false;
@ -61,37 +60,35 @@
this.toolStripStatusLabelSpeed, this.toolStripStatusLabelSpeed,
this.toolStripStatusLabelWeight, this.toolStripStatusLabelWeight,
this.toolStripStatusLabelBodyColor}); this.toolStripStatusLabelBodyColor});
this.statusStrip.Location = new System.Drawing.Point(0, 316); this.statusStrip.Location = new System.Drawing.Point(0, 425);
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(800, 26);
this.statusStrip.Size = new System.Drawing.Size(700, 22);
this.statusStrip.TabIndex = 1; this.statusStrip.TabIndex = 1;
// //
// 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 = "Вес: ";
// //
// toolStripStatusLabelBodyColor // toolStripStatusLabelBodyColor
// //
this.toolStripStatusLabelBodyColor.Name = "toolStripStatusLabelBodyColor"; this.toolStripStatusLabelBodyColor.Name = "toolStripStatusLabelBodyColor";
this.toolStripStatusLabelBodyColor.Size = new System.Drawing.Size(75, 17); this.toolStripStatusLabelBodyColor.Size = new System.Drawing.Size(95, 20);
this.toolStripStatusLabelBodyColor.Text = "Цвет кузова:"; this.toolStripStatusLabelBodyColor.Text = "Цвет кузова:";
// //
// buttonCreate // buttonCreate
// //
this.buttonCreate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.buttonCreate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.buttonCreate.Location = new System.Drawing.Point(25, 272); this.buttonCreate.Location = new System.Drawing.Point(29, 363);
this.buttonCreate.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.buttonCreate.Name = "buttonCreate"; this.buttonCreate.Name = "buttonCreate";
this.buttonCreate.Size = new System.Drawing.Size(82, 22); this.buttonCreate.Size = new System.Drawing.Size(94, 29);
this.buttonCreate.TabIndex = 2; this.buttonCreate.TabIndex = 2;
this.buttonCreate.Text = "Создать"; this.buttonCreate.Text = "Создать";
this.buttonCreate.UseVisualStyleBackColor = true; this.buttonCreate.UseVisualStyleBackColor = true;
@ -102,10 +99,9 @@
this.buttonLEFT.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.buttonLEFT.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.buttonLEFT.BackgroundImage = global::Traktor.Properties.Resources.arrowLeft; this.buttonLEFT.BackgroundImage = global::Traktor.Properties.Resources.arrowLeft;
this.buttonLEFT.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.buttonLEFT.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.buttonLEFT.Location = new System.Drawing.Point(589, 271); this.buttonLEFT.Location = new System.Drawing.Point(673, 361);
this.buttonLEFT.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.buttonLEFT.Name = "buttonLEFT"; this.buttonLEFT.Name = "buttonLEFT";
this.buttonLEFT.Size = new System.Drawing.Size(26, 22); this.buttonLEFT.Size = new System.Drawing.Size(30, 29);
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);
@ -115,10 +111,9 @@
this.buttonRIGHT.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.buttonRIGHT.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.buttonRIGHT.BackgroundImage = global::Traktor.Properties.Resources.arrowRight; this.buttonRIGHT.BackgroundImage = global::Traktor.Properties.Resources.arrowRight;
this.buttonRIGHT.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.buttonRIGHT.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.buttonRIGHT.Location = new System.Drawing.Point(652, 271); this.buttonRIGHT.Location = new System.Drawing.Point(745, 361);
this.buttonRIGHT.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.buttonRIGHT.Name = "buttonRIGHT"; this.buttonRIGHT.Name = "buttonRIGHT";
this.buttonRIGHT.Size = new System.Drawing.Size(26, 22); this.buttonRIGHT.Size = new System.Drawing.Size(30, 29);
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);
@ -128,10 +123,9 @@
this.buttonDOWN.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.buttonDOWN.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.buttonDOWN.BackgroundImage = global::Traktor.Properties.Resources.arrowDown; this.buttonDOWN.BackgroundImage = global::Traktor.Properties.Resources.arrowDown;
this.buttonDOWN.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.buttonDOWN.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.buttonDOWN.Location = new System.Drawing.Point(620, 284); this.buttonDOWN.Location = new System.Drawing.Point(709, 379);
this.buttonDOWN.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.buttonDOWN.Name = "buttonDOWN"; this.buttonDOWN.Name = "buttonDOWN";
this.buttonDOWN.Size = new System.Drawing.Size(26, 22); this.buttonDOWN.Size = new System.Drawing.Size(30, 29);
this.buttonDOWN.TabIndex = 5; this.buttonDOWN.TabIndex = 5;
this.buttonDOWN.UseVisualStyleBackColor = true; this.buttonDOWN.UseVisualStyleBackColor = true;
this.buttonDOWN.Click += new System.EventHandler(this.ButtonMove_Click); this.buttonDOWN.Click += new System.EventHandler(this.ButtonMove_Click);
@ -141,27 +135,25 @@
this.buttonUP.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.buttonUP.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.buttonUP.BackgroundImage = global::Traktor.Properties.Resources.arrowUp; this.buttonUP.BackgroundImage = global::Traktor.Properties.Resources.arrowUp;
this.buttonUP.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.buttonUP.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.buttonUP.Location = new System.Drawing.Point(620, 257); this.buttonUP.Location = new System.Drawing.Point(709, 343);
this.buttonUP.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.buttonUP.Name = "buttonUP"; this.buttonUP.Name = "buttonUP";
this.buttonUP.Size = new System.Drawing.Size(26, 22); this.buttonUP.Size = new System.Drawing.Size(30, 29);
this.buttonUP.TabIndex = 6; this.buttonUP.TabIndex = 6;
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);
// //
// DrawField // DrawField
// //
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(700, 338); this.ClientSize = new System.Drawing.Size(800, 451);
this.Controls.Add(this.statusStrip);
this.Controls.Add(this.buttonUP); this.Controls.Add(this.buttonUP);
this.Controls.Add(this.buttonDOWN); this.Controls.Add(this.buttonDOWN);
this.Controls.Add(this.buttonRIGHT); this.Controls.Add(this.buttonRIGHT);
this.Controls.Add(this.buttonLEFT); this.Controls.Add(this.buttonLEFT);
this.Controls.Add(this.buttonCreate); this.Controls.Add(this.buttonCreate);
this.Controls.Add(this.pictureBoxTraktor); this.Controls.Add(this.pictureBoxTraktor);
this.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.Controls.Add(this.statusStrip);
this.Name = "DrawField"; this.Name = "DrawField";
this.Text = "Трактор"; this.Text = "Трактор";
this.Click += new System.EventHandler(this.ButtonMove_Click); this.Click += new System.EventHandler(this.ButtonMove_Click);