2024-02-05 18:12:44 +03:00
|
|
|
|
namespace WarmlyLocomotive
|
|
|
|
|
{
|
2024-02-09 00:09:15 +03:00
|
|
|
|
partial class FormWarmlyLocomotive
|
2024-02-05 18:12:44 +03:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2024-02-08 22:10:57 +03:00
|
|
|
|
/// Required designer variable.
|
2024-02-05 18:12:44 +03:00
|
|
|
|
/// </summary>
|
|
|
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2024-02-08 22:10:57 +03:00
|
|
|
|
/// Clean up any resources being used.
|
2024-02-05 18:12:44 +03:00
|
|
|
|
/// </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>
|
2024-02-08 22:10:57 +03:00
|
|
|
|
/// Required method for Designer support - do not modify
|
|
|
|
|
/// the contents of this method with the code editor.
|
2024-02-05 18:12:44 +03:00
|
|
|
|
/// </summary>
|
|
|
|
|
private void InitializeComponent()
|
|
|
|
|
{
|
2024-02-17 14:03:31 +03:00
|
|
|
|
pictureBoxWarmlyLocomotive = new PictureBox();
|
2024-02-09 00:09:15 +03:00
|
|
|
|
createButton = new Button();
|
|
|
|
|
buttonUp = new Button();
|
|
|
|
|
buttonDown = new Button();
|
|
|
|
|
buttonLeft = new Button();
|
|
|
|
|
buttonRight = new Button();
|
2024-02-17 14:03:31 +03:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)pictureBoxWarmlyLocomotive).BeginInit();
|
2024-02-08 22:10:57 +03:00
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
2024-02-17 14:03:31 +03:00
|
|
|
|
// pictureBoxWarmlyLocomotive
|
2024-02-09 00:09:15 +03:00
|
|
|
|
//
|
2024-02-17 14:03:31 +03:00
|
|
|
|
pictureBoxWarmlyLocomotive.Dock = DockStyle.Fill;
|
|
|
|
|
pictureBoxWarmlyLocomotive.Location = new Point(0, 0);
|
|
|
|
|
pictureBoxWarmlyLocomotive.Name = "pictureBoxWarmlyLocomotive";
|
|
|
|
|
pictureBoxWarmlyLocomotive.Size = new Size(884, 461);
|
|
|
|
|
pictureBoxWarmlyLocomotive.SizeMode = PictureBoxSizeMode.AutoSize;
|
|
|
|
|
pictureBoxWarmlyLocomotive.TabIndex = 0;
|
|
|
|
|
pictureBoxWarmlyLocomotive.TabStop = false;
|
2024-02-09 00:09:15 +03:00
|
|
|
|
//
|
|
|
|
|
// createButton
|
|
|
|
|
//
|
|
|
|
|
createButton.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
|
|
|
|
|
createButton.Location = new Point(12, 426);
|
|
|
|
|
createButton.Name = "createButton";
|
|
|
|
|
createButton.Size = new Size(75, 23);
|
|
|
|
|
createButton.TabIndex = 1;
|
|
|
|
|
createButton.Text = "Создать";
|
|
|
|
|
createButton.UseVisualStyleBackColor = true;
|
2024-02-17 14:03:31 +03:00
|
|
|
|
createButton.Click += createButton_Click;
|
2024-02-09 00:09:15 +03:00
|
|
|
|
//
|
|
|
|
|
// buttonUp
|
|
|
|
|
//
|
|
|
|
|
buttonUp.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
|
|
|
buttonUp.BackgroundImage = Properties.Resources.UpArrow;
|
|
|
|
|
buttonUp.BackgroundImageLayout = ImageLayout.Zoom;
|
|
|
|
|
buttonUp.Location = new Point(794, 366);
|
|
|
|
|
buttonUp.Name = "buttonUp";
|
|
|
|
|
buttonUp.Size = new Size(35, 35);
|
|
|
|
|
buttonUp.TabIndex = 2;
|
|
|
|
|
buttonUp.UseVisualStyleBackColor = true;
|
2024-02-17 14:03:31 +03:00
|
|
|
|
buttonUp.Click += moveButton_Click;
|
2024-02-09 00:09:15 +03:00
|
|
|
|
//
|
|
|
|
|
// buttonDown
|
|
|
|
|
//
|
|
|
|
|
buttonDown.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
|
|
|
buttonDown.BackgroundImage = Properties.Resources.DownArrow;
|
|
|
|
|
buttonDown.BackgroundImageLayout = ImageLayout.Zoom;
|
|
|
|
|
buttonDown.Location = new Point(794, 407);
|
|
|
|
|
buttonDown.Name = "buttonDown";
|
|
|
|
|
buttonDown.Size = new Size(35, 35);
|
|
|
|
|
buttonDown.TabIndex = 3;
|
|
|
|
|
buttonDown.UseVisualStyleBackColor = true;
|
2024-02-17 14:03:31 +03:00
|
|
|
|
buttonDown.Click += moveButton_Click;
|
2024-02-09 00:09:15 +03:00
|
|
|
|
//
|
|
|
|
|
// buttonLeft
|
|
|
|
|
//
|
|
|
|
|
buttonLeft.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
|
|
|
buttonLeft.AutoEllipsis = true;
|
|
|
|
|
buttonLeft.BackgroundImage = Properties.Resources.LeftArrow;
|
|
|
|
|
buttonLeft.BackgroundImageLayout = ImageLayout.Zoom;
|
|
|
|
|
buttonLeft.Location = new Point(753, 407);
|
|
|
|
|
buttonLeft.Name = "buttonLeft";
|
|
|
|
|
buttonLeft.Size = new Size(35, 35);
|
|
|
|
|
buttonLeft.TabIndex = 4;
|
|
|
|
|
buttonLeft.UseVisualStyleBackColor = true;
|
2024-02-17 14:03:31 +03:00
|
|
|
|
buttonLeft.Click += moveButton_Click;
|
2024-02-09 00:09:15 +03:00
|
|
|
|
//
|
|
|
|
|
// buttonRight
|
|
|
|
|
//
|
|
|
|
|
buttonRight.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
|
|
|
buttonRight.BackgroundImage = Properties.Resources.RightArrow;
|
|
|
|
|
buttonRight.BackgroundImageLayout = ImageLayout.Stretch;
|
|
|
|
|
buttonRight.Location = new Point(837, 407);
|
|
|
|
|
buttonRight.Name = "buttonRight";
|
|
|
|
|
buttonRight.Size = new Size(35, 35);
|
|
|
|
|
buttonRight.TabIndex = 5;
|
|
|
|
|
buttonRight.UseVisualStyleBackColor = true;
|
2024-02-17 14:03:31 +03:00
|
|
|
|
buttonRight.Click += moveButton_Click;
|
2024-02-09 00:09:15 +03:00
|
|
|
|
//
|
|
|
|
|
// FormWarmlyLocomotive
|
2024-02-08 22:10:57 +03:00
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
2024-02-09 00:09:15 +03:00
|
|
|
|
ClientSize = new Size(884, 461);
|
|
|
|
|
Controls.Add(buttonRight);
|
|
|
|
|
Controls.Add(buttonLeft);
|
|
|
|
|
Controls.Add(buttonDown);
|
|
|
|
|
Controls.Add(buttonUp);
|
|
|
|
|
Controls.Add(createButton);
|
2024-02-17 14:03:31 +03:00
|
|
|
|
Controls.Add(pictureBoxWarmlyLocomotive);
|
2024-02-09 00:09:15 +03:00
|
|
|
|
Name = "FormWarmlyLocomotive";
|
|
|
|
|
StartPosition = FormStartPosition.CenterScreen;
|
|
|
|
|
Text = "Тепловоз";
|
2024-02-17 14:03:31 +03:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)pictureBoxWarmlyLocomotive).EndInit();
|
2024-02-08 22:10:57 +03:00
|
|
|
|
ResumeLayout(false);
|
2024-02-09 00:09:15 +03:00
|
|
|
|
PerformLayout();
|
2024-02-05 18:12:44 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
2024-02-09 00:09:15 +03:00
|
|
|
|
|
2024-02-17 14:03:31 +03:00
|
|
|
|
private PictureBox pictureBoxWarmlyLocomotive;
|
2024-02-09 00:09:15 +03:00
|
|
|
|
private Button createButton;
|
|
|
|
|
private Button buttonUp;
|
|
|
|
|
private Button buttonDown;
|
|
|
|
|
private Button buttonLeft;
|
|
|
|
|
private Button buttonRight;
|
2024-02-05 18:12:44 +03:00
|
|
|
|
}
|
|
|
|
|
}
|