134 lines
6.6 KiB
C#
134 lines
6.6 KiB
C#
namespace Battleship
|
|
{
|
|
partial class Battleship
|
|
{
|
|
/// <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();
|
|
((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(75, 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);
|
|
//
|
|
// Battleship
|
|
//
|
|
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.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 = "Battleship";
|
|
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;
|
|
}
|
|
} |