191 lines
10 KiB
C#
191 lines
10 KiB
C#
namespace Battleship
|
||
{
|
||
partial class FormBattleship
|
||
{
|
||
/// <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()
|
||
{
|
||
this.pictureBoxBattleship = new System.Windows.Forms.PictureBox();
|
||
this.buttonCreate = new System.Windows.Forms.Button();
|
||
this.buttonUp = new System.Windows.Forms.Button();
|
||
this.buttonLeft = new System.Windows.Forms.Button();
|
||
this.buttonDown = new System.Windows.Forms.Button();
|
||
this.buttonRight = new System.Windows.Forms.Button();
|
||
this.buttonCreateAdd = new System.Windows.Forms.Button();
|
||
this.buttonStep = new System.Windows.Forms.Button();
|
||
this.comboBoxStrategy = new System.Windows.Forms.ComboBox();
|
||
this.buttonSelectShip = new System.Windows.Forms.Button();
|
||
((System.ComponentModel.ISupportInitialize)(this.pictureBoxBattleship)).BeginInit();
|
||
this.SuspendLayout();
|
||
//
|
||
// pictureBoxBattleship
|
||
//
|
||
this.pictureBoxBattleship.Dock = System.Windows.Forms.DockStyle.Fill;
|
||
this.pictureBoxBattleship.Location = new System.Drawing.Point(0, 0);
|
||
this.pictureBoxBattleship.Name = "pictureBoxBattleship";
|
||
this.pictureBoxBattleship.Size = new System.Drawing.Size(800, 450);
|
||
this.pictureBoxBattleship.TabIndex = 5;
|
||
this.pictureBoxBattleship.TabStop = false;
|
||
//
|
||
// buttonCreate
|
||
//
|
||
this.buttonCreate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||
this.buttonCreate.Location = new System.Drawing.Point(12, 415);
|
||
this.buttonCreate.Name = "buttonCreate";
|
||
this.buttonCreate.Size = new System.Drawing.Size(114, 23);
|
||
this.buttonCreate.TabIndex = 6;
|
||
this.buttonCreate.Text = "Создать корабль";
|
||
this.buttonCreate.UseVisualStyleBackColor = true;
|
||
this.buttonCreate.Click += new System.EventHandler(this.buttonCreate_Click);
|
||
//
|
||
// buttonUp
|
||
//
|
||
this.buttonUp.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||
this.buttonUp.BackgroundImage = global::Battleship.Properties.Resources.upper_arrow;
|
||
this.buttonUp.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
|
||
this.buttonUp.Location = new System.Drawing.Point(722, 379);
|
||
this.buttonUp.Name = "buttonUp";
|
||
this.buttonUp.Size = new System.Drawing.Size(30, 30);
|
||
this.buttonUp.TabIndex = 7;
|
||
this.buttonUp.UseVisualStyleBackColor = true;
|
||
this.buttonUp.Click += new System.EventHandler(this.buttonMove_Click);
|
||
//
|
||
// buttonLeft
|
||
//
|
||
this.buttonLeft.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||
this.buttonLeft.BackgroundImage = global::Battleship.Properties.Resources.left_arrow;
|
||
this.buttonLeft.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
|
||
this.buttonLeft.Location = new System.Drawing.Point(686, 415);
|
||
this.buttonLeft.Name = "buttonLeft";
|
||
this.buttonLeft.Size = new System.Drawing.Size(30, 30);
|
||
this.buttonLeft.TabIndex = 8;
|
||
this.buttonLeft.UseVisualStyleBackColor = true;
|
||
this.buttonLeft.Click += new System.EventHandler(this.buttonMove_Click);
|
||
//
|
||
// buttonDown
|
||
//
|
||
this.buttonDown.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||
this.buttonDown.BackgroundImage = global::Battleship.Properties.Resources.down_arrow;
|
||
this.buttonDown.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
|
||
this.buttonDown.Location = new System.Drawing.Point(722, 415);
|
||
this.buttonDown.Name = "buttonDown";
|
||
this.buttonDown.Size = new System.Drawing.Size(30, 30);
|
||
this.buttonDown.TabIndex = 9;
|
||
this.buttonDown.UseVisualStyleBackColor = true;
|
||
this.buttonDown.Click += new System.EventHandler(this.buttonMove_Click);
|
||
//
|
||
// buttonRight
|
||
//
|
||
this.buttonRight.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||
this.buttonRight.BackgroundImage = global::Battleship.Properties.Resources.right_arrow;
|
||
this.buttonRight.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
|
||
this.buttonRight.Location = new System.Drawing.Point(758, 415);
|
||
this.buttonRight.Name = "buttonRight";
|
||
this.buttonRight.Size = new System.Drawing.Size(30, 30);
|
||
this.buttonRight.TabIndex = 10;
|
||
this.buttonRight.UseVisualStyleBackColor = true;
|
||
this.buttonRight.Click += new System.EventHandler(this.buttonMove_Click);
|
||
//
|
||
// buttonCreateAdd
|
||
//
|
||
this.buttonCreateAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||
this.buttonCreateAdd.Location = new System.Drawing.Point(132, 415);
|
||
this.buttonCreateAdd.Name = "buttonCreateAdd";
|
||
this.buttonCreateAdd.Size = new System.Drawing.Size(159, 23);
|
||
this.buttonCreateAdd.TabIndex = 11;
|
||
this.buttonCreateAdd.Text = "Создать военный корабль";
|
||
this.buttonCreateAdd.UseVisualStyleBackColor = true;
|
||
this.buttonCreateAdd.Click += new System.EventHandler(this.buttonCreateAdd_Click);
|
||
//
|
||
// buttonStep
|
||
//
|
||
this.buttonStep.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||
this.buttonStep.Location = new System.Drawing.Point(713, 48);
|
||
this.buttonStep.Name = "buttonStep";
|
||
this.buttonStep.Size = new System.Drawing.Size(75, 23);
|
||
this.buttonStep.TabIndex = 12;
|
||
this.buttonStep.Text = "Шаг";
|
||
this.buttonStep.UseVisualStyleBackColor = true;
|
||
this.buttonStep.Click += new System.EventHandler(this.buttonStep_Click);
|
||
//
|
||
// comboBoxStrategy
|
||
//
|
||
this.comboBoxStrategy.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||
this.comboBoxStrategy.FormattingEnabled = true;
|
||
this.comboBoxStrategy.Items.AddRange(new object[] {
|
||
"В центр",
|
||
"К границе"});
|
||
this.comboBoxStrategy.Location = new System.Drawing.Point(667, 12);
|
||
this.comboBoxStrategy.Name = "comboBoxStrategy";
|
||
this.comboBoxStrategy.Size = new System.Drawing.Size(121, 23);
|
||
this.comboBoxStrategy.TabIndex = 13;
|
||
//
|
||
// buttonSelectShip
|
||
//
|
||
this.buttonSelectShip.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||
this.buttonSelectShip.Location = new System.Drawing.Point(297, 415);
|
||
this.buttonSelectShip.Name = "buttonSelectShip";
|
||
this.buttonSelectShip.Size = new System.Drawing.Size(118, 23);
|
||
this.buttonSelectShip.TabIndex = 14;
|
||
this.buttonSelectShip.Text = "Выбрать корабль";
|
||
this.buttonSelectShip.UseVisualStyleBackColor = true;
|
||
this.buttonSelectShip.Click += new System.EventHandler(this.buttonSelectShip_Click);
|
||
//
|
||
// FormBattleship
|
||
//
|
||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||
this.ClientSize = new System.Drawing.Size(800, 450);
|
||
this.Controls.Add(this.buttonSelectShip);
|
||
this.Controls.Add(this.comboBoxStrategy);
|
||
this.Controls.Add(this.buttonStep);
|
||
this.Controls.Add(this.buttonCreateAdd);
|
||
this.Controls.Add(this.buttonRight);
|
||
this.Controls.Add(this.buttonDown);
|
||
this.Controls.Add(this.buttonLeft);
|
||
this.Controls.Add(this.buttonUp);
|
||
this.Controls.Add(this.buttonCreate);
|
||
this.Controls.Add(this.pictureBoxBattleship);
|
||
this.Name = "FormBattleship";
|
||
this.Text = "Form1";
|
||
((System.ComponentModel.ISupportInitialize)(this.pictureBoxBattleship)).EndInit();
|
||
this.ResumeLayout(false);
|
||
|
||
}
|
||
|
||
#endregion
|
||
private PictureBox pictureBoxBattleship;
|
||
private Button buttonCreate;
|
||
private Button buttonUp;
|
||
private Button buttonLeft;
|
||
private Button buttonDown;
|
||
private Button buttonRight;
|
||
private Button buttonCreateAdd;
|
||
private Button buttonStep;
|
||
private ComboBox comboBoxStrategy;
|
||
private Button buttonSelectShip;
|
||
}
|
||
} |