135 lines
5.3 KiB
C#
135 lines
5.3 KiB
C#
namespace Lab1
|
|
{
|
|
partial class Form1
|
|
{
|
|
/// <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()
|
|
{
|
|
pictureBoxSportCar = new PictureBox();
|
|
buttonCreateSportCar = new Button();
|
|
buttonLeft = new Button();
|
|
buttonUp = new Button();
|
|
buttonDown = new Button();
|
|
buttonRight = new Button();
|
|
((System.ComponentModel.ISupportInitialize)pictureBoxSportCar).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// pictureBoxSportCar
|
|
//
|
|
pictureBoxSportCar.Dock = DockStyle.Fill;
|
|
pictureBoxSportCar.Location = new Point(0, 0);
|
|
pictureBoxSportCar.Name = "pictureBoxSportCar";
|
|
pictureBoxSportCar.Size = Config.screenSize;
|
|
pictureBoxSportCar.TabIndex = 0;
|
|
pictureBoxSportCar.TabStop = false;
|
|
//
|
|
// buttonCreateSportCar
|
|
//
|
|
buttonCreateSportCar.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
|
|
buttonCreateSportCar.Location = new Point(12, 562);
|
|
buttonCreateSportCar.Name = "buttonCreateSportCar";
|
|
buttonCreateSportCar.Size = new Size(75, 23);
|
|
buttonCreateSportCar.TabIndex = 1;
|
|
buttonCreateSportCar.Text = "Создать";
|
|
buttonCreateSportCar.UseVisualStyleBackColor = true;
|
|
buttonCreateSportCar.Click += ButtonCreateElectroTrans_Click;
|
|
//
|
|
// buttonLeft
|
|
//
|
|
buttonLeft.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
buttonLeft.BackgroundImage = Properties.Resources.arrowLeft;
|
|
buttonLeft.BackgroundImageLayout = ImageLayout.Stretch;
|
|
buttonLeft.Location = new Point(787, 550);
|
|
buttonLeft.Name = "buttonLeft";
|
|
buttonLeft.Size = new Size(35, 35);
|
|
buttonLeft.TabIndex = 2;
|
|
buttonLeft.UseVisualStyleBackColor = true;
|
|
buttonLeft.Click += ButtonMove_Click;
|
|
//
|
|
// buttonUp
|
|
//
|
|
buttonUp.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
buttonUp.BackgroundImage = Properties.Resources.arrowUp;
|
|
buttonUp.BackgroundImageLayout = ImageLayout.Stretch;
|
|
buttonUp.Location = new Point(828, 509);
|
|
buttonUp.Name = "buttonUp";
|
|
buttonUp.Size = new Size(35, 35);
|
|
buttonUp.TabIndex = 3;
|
|
buttonUp.UseVisualStyleBackColor = true;
|
|
buttonUp.Click += ButtonMove_Click;
|
|
//
|
|
// buttonDown
|
|
//
|
|
buttonDown.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
buttonDown.BackgroundImage = Properties.Resources.arrowDown;
|
|
buttonDown.BackgroundImageLayout = ImageLayout.Stretch;
|
|
buttonDown.Location = new Point(828, 550);
|
|
buttonDown.Name = "buttonDown";
|
|
buttonDown.Size = new Size(35, 35);
|
|
buttonDown.TabIndex = 4;
|
|
buttonDown.UseVisualStyleBackColor = true;
|
|
buttonDown.Click += ButtonMove_Click;
|
|
//
|
|
// buttonRight
|
|
//
|
|
buttonRight.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
buttonRight.BackgroundImage = Properties.Resources.arrowRight;
|
|
buttonRight.BackgroundImageLayout = ImageLayout.Stretch;
|
|
buttonRight.Location = new Point(869, 550);
|
|
buttonRight.Name = "buttonRight";
|
|
buttonRight.Size = new Size(35, 35);
|
|
buttonRight.TabIndex = 5;
|
|
buttonRight.UseVisualStyleBackColor = true;
|
|
buttonRight.Click += ButtonMove_Click;
|
|
//
|
|
// FormElectroTrans
|
|
//
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = Config.screenSize;
|
|
Controls.Add(buttonRight);
|
|
Controls.Add(buttonDown);
|
|
Controls.Add(buttonUp);
|
|
Controls.Add(buttonLeft);
|
|
Controls.Add(buttonCreateSportCar);
|
|
Controls.Add(pictureBoxSportCar);
|
|
Name = "FormElectroTrans";
|
|
Text = "Элетропоезд";
|
|
((System.ComponentModel.ISupportInitialize)pictureBoxSportCar).EndInit();
|
|
ResumeLayout(false);
|
|
}
|
|
|
|
#endregion
|
|
|
|
private PictureBox pictureBoxSportCar;
|
|
private Button buttonCreateSportCar;
|
|
private Button buttonLeft;
|
|
private Button buttonUp;
|
|
private Button buttonDown;
|
|
private Button buttonRight;
|
|
}
|
|
}
|