138 lines
5.4 KiB
C#
138 lines
5.4 KiB
C#
|
namespace ProjectCruiser
|
|||
|
{
|
|||
|
partial class FormCruiser
|
|||
|
{
|
|||
|
/// <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()
|
|||
|
{
|
|||
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormCruiser));
|
|||
|
pictureBox1 = new PictureBox();
|
|||
|
button1 = new Button();
|
|||
|
buttonUp = new Button();
|
|||
|
buttonDown = new Button();
|
|||
|
buttonRight = new Button();
|
|||
|
buttonLeft = new Button();
|
|||
|
((System.ComponentModel.ISupportInitialize)pictureBox1).BeginInit();
|
|||
|
SuspendLayout();
|
|||
|
//
|
|||
|
// pictureBox1
|
|||
|
//
|
|||
|
pictureBox1.Dock = DockStyle.Fill;
|
|||
|
pictureBox1.Location = new Point(0, 0);
|
|||
|
pictureBox1.Name = "pictureBox1";
|
|||
|
pictureBox1.Size = new Size(800, 450);
|
|||
|
pictureBox1.SizeMode = PictureBoxSizeMode.AutoSize;
|
|||
|
pictureBox1.TabIndex = 0;
|
|||
|
pictureBox1.TabStop = false;
|
|||
|
//
|
|||
|
// button1
|
|||
|
//
|
|||
|
button1.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
|
|||
|
button1.Location = new Point(12, 409);
|
|||
|
button1.Name = "button1";
|
|||
|
button1.Size = new Size(94, 29);
|
|||
|
button1.TabIndex = 1;
|
|||
|
button1.Text = "создать";
|
|||
|
button1.UseVisualStyleBackColor = true;
|
|||
|
button1.Click += ButtonCreateCruiser_Click;
|
|||
|
//
|
|||
|
// buttonUp
|
|||
|
//
|
|||
|
buttonUp.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|||
|
buttonUp.BackgroundImage = (Image)resources.GetObject("buttonUp.BackgroundImage");
|
|||
|
buttonUp.BackgroundImageLayout = ImageLayout.Zoom;
|
|||
|
buttonUp.Location = new Point(722, 373);
|
|||
|
buttonUp.Name = "buttonUp";
|
|||
|
buttonUp.Size = new Size(30, 30);
|
|||
|
buttonUp.TabIndex = 2;
|
|||
|
buttonUp.UseVisualStyleBackColor = true;
|
|||
|
buttonUp.Click += ButtonMove_Click;
|
|||
|
//
|
|||
|
// buttonDown
|
|||
|
//
|
|||
|
buttonDown.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|||
|
buttonDown.BackgroundImage = (Image)resources.GetObject("buttonDown.BackgroundImage");
|
|||
|
buttonDown.BackgroundImageLayout = ImageLayout.Zoom;
|
|||
|
buttonDown.Location = new Point(722, 409);
|
|||
|
buttonDown.Name = "buttonDown";
|
|||
|
buttonDown.Size = new Size(30, 30);
|
|||
|
buttonDown.TabIndex = 3;
|
|||
|
buttonDown.UseVisualStyleBackColor = true;
|
|||
|
buttonDown.Click += ButtonMove_Click;
|
|||
|
//
|
|||
|
// buttonRight
|
|||
|
//
|
|||
|
buttonRight.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|||
|
buttonRight.BackgroundImage = (Image)resources.GetObject("buttonRight.BackgroundImage");
|
|||
|
buttonRight.BackgroundImageLayout = ImageLayout.Zoom;
|
|||
|
buttonRight.Location = new Point(758, 409);
|
|||
|
buttonRight.Name = "buttonRight";
|
|||
|
buttonRight.Size = new Size(30, 30);
|
|||
|
buttonRight.TabIndex = 4;
|
|||
|
buttonRight.UseVisualStyleBackColor = true;
|
|||
|
buttonRight.Click += ButtonMove_Click;
|
|||
|
//
|
|||
|
// buttonLeft
|
|||
|
//
|
|||
|
buttonLeft.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|||
|
buttonLeft.BackgroundImage = (Image)resources.GetObject("buttonLeft.BackgroundImage");
|
|||
|
buttonLeft.BackgroundImageLayout = ImageLayout.Zoom;
|
|||
|
buttonLeft.Location = new Point(686, 409);
|
|||
|
buttonLeft.Name = "buttonLeft";
|
|||
|
buttonLeft.Size = new Size(30, 30);
|
|||
|
buttonLeft.TabIndex = 5;
|
|||
|
buttonLeft.UseVisualStyleBackColor = true;
|
|||
|
buttonLeft.Click += ButtonMove_Click;
|
|||
|
//
|
|||
|
// Form1
|
|||
|
//
|
|||
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|||
|
AutoScaleMode = AutoScaleMode.Font;
|
|||
|
ClientSize = new Size(800, 450);
|
|||
|
Controls.Add(buttonLeft);
|
|||
|
Controls.Add(buttonRight);
|
|||
|
Controls.Add(buttonDown);
|
|||
|
Controls.Add(buttonUp);
|
|||
|
Controls.Add(button1);
|
|||
|
Controls.Add(pictureBox1);
|
|||
|
Name = "Form1";
|
|||
|
Text = "FormCruiser";
|
|||
|
Click += ButtonMove_Click;
|
|||
|
((System.ComponentModel.ISupportInitialize)pictureBox1).EndInit();
|
|||
|
ResumeLayout(false);
|
|||
|
PerformLayout();
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
private PictureBox pictureBox1;
|
|||
|
private Button button1;
|
|||
|
private Button buttonUp;
|
|||
|
private Button buttonDown;
|
|||
|
private Button buttonRight;
|
|||
|
private Button buttonLeft;
|
|||
|
}
|
|||
|
}
|