190 lines
6.8 KiB
C#
190 lines
6.8 KiB
C#
namespace view
|
|
{
|
|
partial class MapChooser
|
|
{
|
|
/// <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()
|
|
{
|
|
lstLevels = new ListBox();
|
|
groupBox1 = new GroupBox();
|
|
txtObstacleCount = new TextBox();
|
|
label4 = new Label();
|
|
txtEggRounds = new TextBox();
|
|
label3 = new Label();
|
|
txtSnakeLength = new TextBox();
|
|
label2 = new Label();
|
|
txtSize = new TextBox();
|
|
label1 = new Label();
|
|
button1 = new Button();
|
|
groupBox1.SuspendLayout();
|
|
SuspendLayout();
|
|
//
|
|
// lstLevels
|
|
//
|
|
lstLevels.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|
lstLevels.FormattingEnabled = true;
|
|
lstLevels.Location = new Point(12, 12);
|
|
lstLevels.Name = "lstLevels";
|
|
lstLevels.Size = new Size(270, 384);
|
|
lstLevels.TabIndex = 0;
|
|
lstLevels.SelectedIndexChanged += listBox1_SelectedIndexChanged;
|
|
lstLevels.KeyUp += lstLevels_KeyUp;
|
|
//
|
|
// groupBox1
|
|
//
|
|
groupBox1.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|
groupBox1.Controls.Add(txtObstacleCount);
|
|
groupBox1.Controls.Add(label4);
|
|
groupBox1.Controls.Add(txtEggRounds);
|
|
groupBox1.Controls.Add(label3);
|
|
groupBox1.Controls.Add(txtSnakeLength);
|
|
groupBox1.Controls.Add(label2);
|
|
groupBox1.Controls.Add(txtSize);
|
|
groupBox1.Controls.Add(label1);
|
|
groupBox1.Location = new Point(288, 12);
|
|
groupBox1.Name = "groupBox1";
|
|
groupBox1.Size = new Size(309, 163);
|
|
groupBox1.TabIndex = 1;
|
|
groupBox1.TabStop = false;
|
|
groupBox1.Text = "Map details";
|
|
//
|
|
// txtObstacleCount
|
|
//
|
|
txtObstacleCount.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
|
txtObstacleCount.Location = new Point(133, 119);
|
|
txtObstacleCount.Name = "txtObstacleCount";
|
|
txtObstacleCount.ReadOnly = true;
|
|
txtObstacleCount.Size = new Size(170, 27);
|
|
txtObstacleCount.TabIndex = 7;
|
|
txtObstacleCount.TabStop = false;
|
|
//
|
|
// label4
|
|
//
|
|
label4.AutoSize = true;
|
|
label4.Location = new Point(6, 122);
|
|
label4.Name = "label4";
|
|
label4.Size = new Size(111, 20);
|
|
label4.TabIndex = 6;
|
|
label4.Text = "Obstacle count:";
|
|
//
|
|
// txtEggRounds
|
|
//
|
|
txtEggRounds.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
|
txtEggRounds.Location = new Point(133, 85);
|
|
txtEggRounds.Name = "txtEggRounds";
|
|
txtEggRounds.ReadOnly = true;
|
|
txtEggRounds.Size = new Size(170, 27);
|
|
txtEggRounds.TabIndex = 5;
|
|
txtEggRounds.TabStop = false;
|
|
//
|
|
// label3
|
|
//
|
|
label3.AutoSize = true;
|
|
label3.Location = new Point(6, 88);
|
|
label3.Name = "label3";
|
|
label3.Size = new Size(121, 20);
|
|
label3.TabIndex = 4;
|
|
label3.Text = "New egg rounds:";
|
|
//
|
|
// txtSnakeLength
|
|
//
|
|
txtSnakeLength.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
|
txtSnakeLength.Location = new Point(139, 52);
|
|
txtSnakeLength.Name = "txtSnakeLength";
|
|
txtSnakeLength.ReadOnly = true;
|
|
txtSnakeLength.Size = new Size(164, 27);
|
|
txtSnakeLength.TabIndex = 3;
|
|
txtSnakeLength.TabStop = false;
|
|
//
|
|
// label2
|
|
//
|
|
label2.AutoSize = true;
|
|
label2.Location = new Point(6, 55);
|
|
label2.Name = "label2";
|
|
label2.Size = new Size(130, 20);
|
|
label2.TabIndex = 2;
|
|
label2.Text = "Snake start length:";
|
|
//
|
|
// txtSize
|
|
//
|
|
txtSize.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
|
txtSize.Location = new Point(62, 20);
|
|
txtSize.Name = "txtSize";
|
|
txtSize.ReadOnly = true;
|
|
txtSize.Size = new Size(241, 27);
|
|
txtSize.TabIndex = 1;
|
|
txtSize.TabStop = false;
|
|
//
|
|
// label1
|
|
//
|
|
label1.AutoSize = true;
|
|
label1.Location = new Point(6, 23);
|
|
label1.Name = "label1";
|
|
label1.Size = new Size(39, 20);
|
|
label1.TabIndex = 0;
|
|
label1.Text = "Size:";
|
|
//
|
|
// button1
|
|
//
|
|
button1.Anchor = AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|
button1.Location = new Point(294, 345);
|
|
button1.Name = "button1";
|
|
button1.Size = new Size(303, 51);
|
|
button1.TabIndex = 2;
|
|
button1.Text = "Select";
|
|
button1.UseVisualStyleBackColor = true;
|
|
button1.Click += button1_Click;
|
|
//
|
|
// MapChooser
|
|
//
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(609, 404);
|
|
Controls.Add(button1);
|
|
Controls.Add(groupBox1);
|
|
Controls.Add(lstLevels);
|
|
Name = "MapChooser";
|
|
Text = "MapChooser";
|
|
groupBox1.ResumeLayout(false);
|
|
groupBox1.PerformLayout();
|
|
ResumeLayout(false);
|
|
}
|
|
|
|
#endregion
|
|
|
|
private ListBox lstLevels;
|
|
private GroupBox groupBox1;
|
|
private TextBox txtSize;
|
|
private Label label1;
|
|
private TextBox txtSnakeLength;
|
|
private Label label2;
|
|
private TextBox txtEggRounds;
|
|
private Label label3;
|
|
private TextBox txtObstacleCount;
|
|
private Label label4;
|
|
private Button button1;
|
|
}
|
|
} |