178 lines
7.4 KiB
C#
178 lines
7.4 KiB
C#
namespace WarmlyLocomotive
|
||
{
|
||
partial class FormWarmlyLocomotive
|
||
{
|
||
/// <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()
|
||
{
|
||
pictureBoxWarmlyLocomotive = new PictureBox();
|
||
createButton = new Button();
|
||
buttonUp = new Button();
|
||
buttonDown = new Button();
|
||
buttonLeft = new Button();
|
||
buttonRight = new Button();
|
||
createBaseButton = new Button();
|
||
comboBoxStrategy = new ComboBox();
|
||
strategyMoveButton = new Button();
|
||
((System.ComponentModel.ISupportInitialize)pictureBoxWarmlyLocomotive).BeginInit();
|
||
SuspendLayout();
|
||
//
|
||
// pictureBoxWarmlyLocomotive
|
||
//
|
||
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;
|
||
//
|
||
// createButton
|
||
//
|
||
createButton.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
|
||
createButton.Location = new Point(12, 426);
|
||
createButton.Name = "createButton";
|
||
createButton.Size = new Size(153, 23);
|
||
createButton.TabIndex = 1;
|
||
createButton.Text = "Создать тепловоз";
|
||
createButton.UseVisualStyleBackColor = true;
|
||
createButton.Click += createButton_Click;
|
||
//
|
||
// 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;
|
||
buttonUp.Click += moveButton_Click;
|
||
//
|
||
// 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;
|
||
buttonDown.Click += moveButton_Click;
|
||
//
|
||
// 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;
|
||
buttonLeft.Click += moveButton_Click;
|
||
//
|
||
// 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;
|
||
buttonRight.Click += moveButton_Click;
|
||
//
|
||
// createBaseButton
|
||
//
|
||
createBaseButton.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
|
||
createBaseButton.Location = new Point(171, 426);
|
||
createBaseButton.Name = "createBaseButton";
|
||
createBaseButton.Size = new Size(153, 23);
|
||
createBaseButton.TabIndex = 6;
|
||
createBaseButton.Text = "Создать локомотив";
|
||
createBaseButton.UseVisualStyleBackColor = true;
|
||
createBaseButton.Click += createBaseButton_Click;
|
||
//
|
||
// comboBoxStrategy
|
||
//
|
||
comboBoxStrategy.DropDownStyle = ComboBoxStyle.DropDownList;
|
||
comboBoxStrategy.FormattingEnabled = true;
|
||
comboBoxStrategy.Items.AddRange(new object[] { "К центру", "К краю" });
|
||
comboBoxStrategy.Location = new Point(753, 12);
|
||
comboBoxStrategy.Name = "comboBoxStrategy";
|
||
comboBoxStrategy.Size = new Size(121, 23);
|
||
comboBoxStrategy.TabIndex = 7;
|
||
//
|
||
// strategyMoveButton
|
||
//
|
||
strategyMoveButton.Location = new Point(797, 41);
|
||
strategyMoveButton.Name = "strategyMoveButton";
|
||
strategyMoveButton.Size = new Size(75, 23);
|
||
strategyMoveButton.TabIndex = 8;
|
||
strategyMoveButton.Text = "Шаг";
|
||
strategyMoveButton.UseVisualStyleBackColor = true;
|
||
strategyMoveButton.Click += strategyMoveButton_Click;
|
||
//
|
||
// FormWarmlyLocomotive
|
||
//
|
||
AutoScaleDimensions = new SizeF(7F, 15F);
|
||
AutoScaleMode = AutoScaleMode.Font;
|
||
ClientSize = new Size(884, 461);
|
||
Controls.Add(strategyMoveButton);
|
||
Controls.Add(comboBoxStrategy);
|
||
Controls.Add(createBaseButton);
|
||
Controls.Add(buttonRight);
|
||
Controls.Add(buttonLeft);
|
||
Controls.Add(buttonDown);
|
||
Controls.Add(buttonUp);
|
||
Controls.Add(createButton);
|
||
Controls.Add(pictureBoxWarmlyLocomotive);
|
||
Name = "FormWarmlyLocomotive";
|
||
StartPosition = FormStartPosition.CenterScreen;
|
||
Text = "Тепловоз";
|
||
((System.ComponentModel.ISupportInitialize)pictureBoxWarmlyLocomotive).EndInit();
|
||
ResumeLayout(false);
|
||
PerformLayout();
|
||
}
|
||
|
||
#endregion
|
||
|
||
private PictureBox pictureBoxWarmlyLocomotive;
|
||
private Button createButton;
|
||
private Button buttonUp;
|
||
private Button buttonDown;
|
||
private Button buttonLeft;
|
||
private Button buttonRight;
|
||
private Button createBaseButton;
|
||
private ComboBox comboBoxStrategy;
|
||
private Button strategyMoveButton;
|
||
}
|
||
} |