176 lines
7.1 KiB
C#
176 lines
7.1 KiB
C#
namespace Liner
|
|
{
|
|
partial class MainScreen : Form
|
|
{
|
|
/// <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()
|
|
{
|
|
pictureBoxLiner = new PictureBox();
|
|
buttonCreateLiner = new Button();
|
|
buttonUp = new Button();
|
|
buttonDown = new Button();
|
|
buttonLeft = new Button();
|
|
buttonRight = new Button();
|
|
buttonCreateBigLiner = new Button();
|
|
comboBoxStrategy = new ComboBox();
|
|
buttonStep = new Button();
|
|
((System.ComponentModel.ISupportInitialize)pictureBoxLiner).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// pictureBoxLiner
|
|
//
|
|
pictureBoxLiner.Dock = DockStyle.Fill;
|
|
pictureBoxLiner.Location = new Point(0, 0);
|
|
pictureBoxLiner.Name = "pictureBoxLiner";
|
|
pictureBoxLiner.Size = new Size(984, 661);
|
|
pictureBoxLiner.SizeMode = PictureBoxSizeMode.AutoSize;
|
|
pictureBoxLiner.TabIndex = 0;
|
|
pictureBoxLiner.TabStop = false;
|
|
//
|
|
// buttonCreateLiner
|
|
//
|
|
buttonCreateLiner.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
|
|
buttonCreateLiner.Location = new Point(34, 584);
|
|
buttonCreateLiner.Name = "buttonCreateLiner";
|
|
buttonCreateLiner.Size = new Size(87, 43);
|
|
buttonCreateLiner.TabIndex = 1;
|
|
buttonCreateLiner.Text = "Create Liner";
|
|
buttonCreateLiner.UseVisualStyleBackColor = true;
|
|
buttonCreateLiner.Click += buttonCreateLiner_Click;
|
|
//
|
|
// buttonUp
|
|
//
|
|
buttonUp.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
buttonUp.BackgroundImage = Properties.Resources.arrowUp;
|
|
buttonUp.BackgroundImageLayout = ImageLayout.Zoom;
|
|
buttonUp.Location = new Point(865, 561);
|
|
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 = Properties.Resources.arrowDown;
|
|
buttonDown.BackgroundImageLayout = ImageLayout.Zoom;
|
|
buttonDown.Location = new Point(865, 597);
|
|
buttonDown.Name = "buttonDown";
|
|
buttonDown.Size = new Size(30, 30);
|
|
buttonDown.TabIndex = 3;
|
|
buttonDown.UseVisualStyleBackColor = true;
|
|
buttonDown.Click += buttonMove_Click;
|
|
//
|
|
// buttonLeft
|
|
//
|
|
buttonLeft.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
buttonLeft.BackgroundImage = Properties.Resources.arrowLeft;
|
|
buttonLeft.BackgroundImageLayout = ImageLayout.Zoom;
|
|
buttonLeft.Location = new Point(829, 597);
|
|
buttonLeft.Name = "buttonLeft";
|
|
buttonLeft.Size = new Size(30, 30);
|
|
buttonLeft.TabIndex = 4;
|
|
buttonLeft.UseVisualStyleBackColor = true;
|
|
buttonLeft.Click += buttonMove_Click;
|
|
//
|
|
// buttonRight
|
|
//
|
|
buttonRight.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
buttonRight.BackgroundImage = Properties.Resources.arrowRight;
|
|
buttonRight.BackgroundImageLayout = ImageLayout.Zoom;
|
|
buttonRight.Location = new Point(901, 597);
|
|
buttonRight.Name = "buttonRight";
|
|
buttonRight.Size = new Size(30, 30);
|
|
buttonRight.TabIndex = 5;
|
|
buttonRight.UseVisualStyleBackColor = true;
|
|
buttonRight.Click += buttonMove_Click;
|
|
//
|
|
// buttonCreateBigLiner
|
|
//
|
|
buttonCreateBigLiner.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
|
|
buttonCreateBigLiner.Location = new Point(127, 584);
|
|
buttonCreateBigLiner.Name = "buttonCreateBigLiner";
|
|
buttonCreateBigLiner.Size = new Size(87, 43);
|
|
buttonCreateBigLiner.TabIndex = 6;
|
|
buttonCreateBigLiner.Text = "Create BIG Liner";
|
|
buttonCreateBigLiner.UseVisualStyleBackColor = true;
|
|
buttonCreateBigLiner.Click += buttonCreateBigLiner_Click;
|
|
//
|
|
// comboBoxStrategy
|
|
//
|
|
comboBoxStrategy.DropDownStyle = ComboBoxStyle.DropDownList;
|
|
comboBoxStrategy.FormattingEnabled = true;
|
|
comboBoxStrategy.Items.AddRange(new object[] { "MoveToCenter", "MoveToBorder" });
|
|
comboBoxStrategy.Location = new Point(829, 12);
|
|
comboBoxStrategy.Name = "comboBoxStrategy";
|
|
comboBoxStrategy.Size = new Size(121, 23);
|
|
comboBoxStrategy.TabIndex = 7;
|
|
//
|
|
// buttonStep
|
|
//
|
|
buttonStep.Location = new Point(856, 41);
|
|
buttonStep.Name = "buttonStep";
|
|
buttonStep.Size = new Size(75, 23);
|
|
buttonStep.TabIndex = 8;
|
|
buttonStep.Text = "Step";
|
|
buttonStep.UseVisualStyleBackColor = true;
|
|
buttonStep.Click += buttonStep_Click;
|
|
//
|
|
// MainScreen
|
|
//
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(984, 661);
|
|
Controls.Add(buttonStep);
|
|
Controls.Add(comboBoxStrategy);
|
|
Controls.Add(buttonCreateBigLiner);
|
|
Controls.Add(buttonRight);
|
|
Controls.Add(buttonLeft);
|
|
Controls.Add(buttonDown);
|
|
Controls.Add(buttonUp);
|
|
Controls.Add(buttonCreateLiner);
|
|
Controls.Add(pictureBoxLiner);
|
|
Name = "MainScreen";
|
|
Text = "Liner";
|
|
((System.ComponentModel.ISupportInitialize)pictureBoxLiner).EndInit();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private PictureBox pictureBoxLiner;
|
|
private Button buttonCreateLiner;
|
|
private Button buttonUp;
|
|
private Button buttonDown;
|
|
private Button buttonLeft;
|
|
private Button buttonRight;
|
|
private Button buttonCreateBigLiner;
|
|
private ComboBox comboBoxStrategy;
|
|
private Button buttonStep;
|
|
}
|
|
} |