197 lines
9.0 KiB
C#
197 lines
9.0 KiB
C#
using System;
|
|
|
|
namespace ElectricLocomotive
|
|
{
|
|
partial class ElectricLocomotive
|
|
{
|
|
/// <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()
|
|
{
|
|
pictureBoxElectricLocomotive = new PictureBox();
|
|
buttonCreateElectricLocomotive = new Button();
|
|
buttonLeft = new Button();
|
|
buttonUp = new Button();
|
|
buttonRight = new Button();
|
|
buttonDown = new Button();
|
|
comboBoxStrategy = new ComboBox();
|
|
buttonCreateLocomotive = new Button();
|
|
buttonStep = new Button();
|
|
((System.ComponentModel.ISupportInitialize)pictureBoxElectricLocomotive).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// pictureBoxElectricLocomotive
|
|
//
|
|
pictureBoxElectricLocomotive.Cursor = Cursors.No;
|
|
pictureBoxElectricLocomotive.Dock = DockStyle.Fill;
|
|
pictureBoxElectricLocomotive.Enabled = false;
|
|
pictureBoxElectricLocomotive.Location = new Point(0, 0);
|
|
pictureBoxElectricLocomotive.Name = "pictureBoxElectricLocomotive";
|
|
pictureBoxElectricLocomotive.Size = new Size(847, 441);
|
|
pictureBoxElectricLocomotive.SizeMode = PictureBoxSizeMode.AutoSize;
|
|
pictureBoxElectricLocomotive.TabIndex = 0;
|
|
pictureBoxElectricLocomotive.TabStop = false;
|
|
pictureBoxElectricLocomotive.Click += buttonMove_Click;
|
|
//
|
|
// buttonCreateElectricLocomotive
|
|
//
|
|
buttonCreateElectricLocomotive.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
|
|
buttonCreateElectricLocomotive.Font = new Font("Calibri", 9.75F, FontStyle.Regular, GraphicsUnit.Point);
|
|
buttonCreateElectricLocomotive.Location = new Point(11, 365);
|
|
buttonCreateElectricLocomotive.Margin = new Padding(2);
|
|
buttonCreateElectricLocomotive.Name = "buttonCreateElectricLocomotive";
|
|
buttonCreateElectricLocomotive.Size = new Size(134, 64);
|
|
buttonCreateElectricLocomotive.TabIndex = 1;
|
|
buttonCreateElectricLocomotive.Text = "Создать электролокомотив";
|
|
buttonCreateElectricLocomotive.UseVisualStyleBackColor = true;
|
|
buttonCreateElectricLocomotive.Click += buttonCreateElectricLocomotive_Click;
|
|
//
|
|
// buttonLeft
|
|
//
|
|
buttonLeft.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
buttonLeft.BackgroundImage = ProjectElectricLocomotive.Properties.Resources.free_icon_left_arrow_line_symbol_54321;
|
|
buttonLeft.BackgroundImageLayout = ImageLayout.Zoom;
|
|
buttonLeft.Location = new Point(733, 399);
|
|
buttonLeft.Margin = new Padding(2);
|
|
buttonLeft.Name = "buttonLeft";
|
|
buttonLeft.Size = new Size(30, 30);
|
|
buttonLeft.TabIndex = 2;
|
|
buttonLeft.UseVisualStyleBackColor = true;
|
|
buttonLeft.Click += buttonMove_Click;
|
|
//
|
|
// buttonUp
|
|
//
|
|
buttonUp.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
buttonUp.BackgroundImage = ProjectElectricLocomotive.Properties.Resources.free_icon_up_arrow_angle_54817;
|
|
buttonUp.BackgroundImageLayout = ImageLayout.Zoom;
|
|
buttonUp.Location = new Point(767, 365);
|
|
buttonUp.Margin = new Padding(2);
|
|
buttonUp.Name = "buttonUp";
|
|
buttonUp.Size = new Size(30, 30);
|
|
buttonUp.TabIndex = 3;
|
|
buttonUp.UseVisualStyleBackColor = true;
|
|
buttonUp.Click += buttonMove_Click;
|
|
//
|
|
// buttonRight
|
|
//
|
|
buttonRight.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
buttonRight.BackgroundImage = ProjectElectricLocomotive.Properties.Resources.free_icon_right_arrow_angle_54833;
|
|
buttonRight.BackgroundImageLayout = ImageLayout.Zoom;
|
|
buttonRight.Location = new Point(802, 399);
|
|
buttonRight.Margin = new Padding(2);
|
|
buttonRight.Name = "buttonRight";
|
|
buttonRight.Size = new Size(30, 30);
|
|
buttonRight.TabIndex = 4;
|
|
buttonRight.UseVisualStyleBackColor = true;
|
|
buttonRight.Click += buttonMove_Click;
|
|
//
|
|
// buttonDown
|
|
//
|
|
buttonDown.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
buttonDown.BackgroundImage = ProjectElectricLocomotive.Properties.Resources.free_icon_down_arrow_54785;
|
|
buttonDown.BackgroundImageLayout = ImageLayout.Zoom;
|
|
buttonDown.Location = new Point(767, 399);
|
|
buttonDown.Margin = new Padding(2);
|
|
buttonDown.Name = "buttonDown";
|
|
buttonDown.Size = new Size(30, 30);
|
|
buttonDown.TabIndex = 5;
|
|
buttonDown.UseVisualStyleBackColor = true;
|
|
buttonDown.Click += buttonMove_Click;
|
|
//
|
|
// comboBoxStrategy
|
|
//
|
|
comboBoxStrategy.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
|
comboBoxStrategy.DropDownStyle = ComboBoxStyle.DropDownList;
|
|
comboBoxStrategy.FormattingEnabled = true;
|
|
comboBoxStrategy.Items.AddRange(new object[] { "MoveToCenter", "MoveToRightEdge" });
|
|
comboBoxStrategy.Location = new Point(681, 7);
|
|
comboBoxStrategy.Margin = new Padding(2);
|
|
comboBoxStrategy.Name = "comboBoxStrategy";
|
|
comboBoxStrategy.Size = new Size(151, 23);
|
|
comboBoxStrategy.TabIndex = 6;
|
|
comboBoxStrategy.SelectedIndexChanged += comboBoxStrategy_SelectedIndexChanged;
|
|
//
|
|
// buttonCreateLocomotive
|
|
//
|
|
buttonCreateLocomotive.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
|
|
buttonCreateLocomotive.Font = new Font("Calibri", 9.75F, FontStyle.Regular, GraphicsUnit.Point);
|
|
buttonCreateLocomotive.Location = new Point(149, 365);
|
|
buttonCreateLocomotive.Margin = new Padding(2);
|
|
buttonCreateLocomotive.Name = "buttonCreateLocomotive";
|
|
buttonCreateLocomotive.Size = new Size(102, 65);
|
|
buttonCreateLocomotive.TabIndex = 7;
|
|
buttonCreateLocomotive.Text = "Создать локомотив";
|
|
buttonCreateLocomotive.UseVisualStyleBackColor = true;
|
|
buttonCreateLocomotive.Click += buttonCreateLocomotive_Click;
|
|
//
|
|
// buttonStep
|
|
//
|
|
buttonStep.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
|
buttonStep.Font = new Font("Calibri", 9.75F, FontStyle.Regular, GraphicsUnit.Point);
|
|
buttonStep.Location = new Point(744, 34);
|
|
buttonStep.Margin = new Padding(2);
|
|
buttonStep.Name = "buttonStep";
|
|
buttonStep.Size = new Size(88, 34);
|
|
buttonStep.TabIndex = 8;
|
|
buttonStep.Text = "Шаг";
|
|
buttonStep.UseVisualStyleBackColor = true;
|
|
buttonStep.Click += buttonStep_Click;
|
|
//
|
|
// ElectricLocomotive
|
|
//
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(847, 441);
|
|
Controls.Add(buttonStep);
|
|
Controls.Add(buttonCreateLocomotive);
|
|
Controls.Add(comboBoxStrategy);
|
|
Controls.Add(buttonDown);
|
|
Controls.Add(buttonRight);
|
|
Controls.Add(buttonUp);
|
|
Controls.Add(buttonLeft);
|
|
Controls.Add(buttonCreateElectricLocomotive);
|
|
Controls.Add(pictureBoxElectricLocomotive);
|
|
Margin = new Padding(2);
|
|
Name = "ElectricLocomotive";
|
|
StartPosition = FormStartPosition.CenterScreen;
|
|
Text = "ElectricLocomotive";
|
|
((System.ComponentModel.ISupportInitialize)pictureBoxElectricLocomotive).EndInit();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private PictureBox pictureBoxElectricLocomotive;
|
|
private Button buttonCreateElectricLocomotive;
|
|
private Button buttonLeft;
|
|
private Button buttonUp;
|
|
private Button buttonRight;
|
|
private Button buttonDown;
|
|
private ComboBox comboBoxStrategy;
|
|
private Button buttonCreateLocomotive;
|
|
private Button buttonStep;
|
|
}
|
|
} |