138 lines
5.3 KiB
C#
138 lines
5.3 KiB
C#
namespace CruiserMech
|
|
{
|
|
partial class DrawingCanvas
|
|
{
|
|
/// <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()
|
|
{
|
|
pictureBox1 = new PictureBox();
|
|
CreateButton = new Button();
|
|
buttonUp = new Button();
|
|
buttonLeft = new Button();
|
|
buttonDown = new Button();
|
|
buttonRight = 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(548, 283);
|
|
pictureBox1.TabIndex = 0;
|
|
pictureBox1.TabStop = false;
|
|
//
|
|
// CreateButton
|
|
//
|
|
CreateButton.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
|
|
CreateButton.Location = new Point(12, 218);
|
|
CreateButton.Name = "CreateButton";
|
|
CreateButton.Size = new Size(75, 53);
|
|
CreateButton.TabIndex = 1;
|
|
CreateButton.Text = "Create object";
|
|
CreateButton.UseVisualStyleBackColor = true;
|
|
CreateButton.Click += buttonCr_Click;
|
|
//
|
|
// buttonUp
|
|
//
|
|
buttonUp.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
buttonUp.BackgroundImage = Properties.Resources.up_arrow_res;
|
|
buttonUp.BackgroundImageLayout = ImageLayout.Stretch;
|
|
buttonUp.Location = new Point(440, 174);
|
|
buttonUp.Name = "buttonUp";
|
|
buttonUp.Size = new Size(45, 45);
|
|
buttonUp.TabIndex = 2;
|
|
buttonUp.UseVisualStyleBackColor = true;
|
|
buttonUp.Click += ButtonMove_Click;
|
|
//
|
|
// buttonLeft
|
|
//
|
|
buttonLeft.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
buttonLeft.BackgroundImage = Properties.Resources.left_arrow_res;
|
|
buttonLeft.BackgroundImageLayout = ImageLayout.Stretch;
|
|
buttonLeft.Location = new Point(389, 225);
|
|
buttonLeft.Name = "buttonLeft";
|
|
buttonLeft.Size = new Size(45, 45);
|
|
buttonLeft.TabIndex = 3;
|
|
buttonLeft.UseVisualStyleBackColor = true;
|
|
buttonLeft.Click += ButtonMove_Click;
|
|
//
|
|
// buttonDown
|
|
//
|
|
buttonDown.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
buttonDown.BackgroundImage = Properties.Resources.down_arrow_res;
|
|
buttonDown.BackgroundImageLayout = ImageLayout.Stretch;
|
|
buttonDown.Location = new Point(440, 225);
|
|
buttonDown.Name = "buttonDown";
|
|
buttonDown.Size = new Size(45, 45);
|
|
buttonDown.TabIndex = 4;
|
|
buttonDown.UseVisualStyleBackColor = true;
|
|
buttonDown.Click += ButtonMove_Click;
|
|
//
|
|
// buttonRight
|
|
//
|
|
buttonRight.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
buttonRight.BackgroundImage = Properties.Resources.right_arrow_res;
|
|
buttonRight.BackgroundImageLayout = ImageLayout.Stretch;
|
|
buttonRight.Location = new Point(491, 225);
|
|
buttonRight.Name = "buttonRight";
|
|
buttonRight.Size = new Size(45, 45);
|
|
buttonRight.TabIndex = 5;
|
|
buttonRight.UseVisualStyleBackColor = true;
|
|
buttonRight.Click += ButtonMove_Click;
|
|
//
|
|
// DrawingCanvas
|
|
//
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
AutoValidate = AutoValidate.EnableAllowFocusChange;
|
|
BackColor = Color.CornflowerBlue;
|
|
ClientSize = new Size(548, 283);
|
|
Controls.Add(buttonRight);
|
|
Controls.Add(buttonDown);
|
|
Controls.Add(buttonLeft);
|
|
Controls.Add(buttonUp);
|
|
Controls.Add(CreateButton);
|
|
Controls.Add(pictureBox1);
|
|
Margin = new Padding(2, 1, 2, 1);
|
|
Name = "DrawingCanvas";
|
|
StartPosition = FormStartPosition.Manual;
|
|
Text = "DrawingCanvas";
|
|
((System.ComponentModel.ISupportInitialize)pictureBox1).EndInit();
|
|
ResumeLayout(false);
|
|
}
|
|
|
|
#endregion
|
|
|
|
private PictureBox pictureBox1;
|
|
private Button CreateButton;
|
|
private Button buttonUp;
|
|
private Button buttonLeft;
|
|
private Button buttonDown;
|
|
private Button buttonRight;
|
|
}
|
|
} |