146 lines
5.4 KiB
C#
146 lines
5.4 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()
|
||
{
|
||
pictureBoxBattleship = new PictureBox();
|
||
buttonLeft = new Button();
|
||
buttonDown = new Button();
|
||
buttonRight = new Button();
|
||
buttonUp = new Button();
|
||
comboBoxStrategy = new ComboBox();
|
||
buttonStrategyStep = new Button();
|
||
((System.ComponentModel.ISupportInitialize)pictureBoxBattleship).BeginInit();
|
||
SuspendLayout();
|
||
//
|
||
// pictureBoxBattleship
|
||
//
|
||
pictureBoxBattleship.Location = new Point(0, 0);
|
||
pictureBoxBattleship.Name = "pictureBoxBattleship";
|
||
pictureBoxBattleship.Size = new Size(957, 559);
|
||
pictureBoxBattleship.TabIndex = 0;
|
||
pictureBoxBattleship.TabStop = false;
|
||
//
|
||
// buttonLeft
|
||
//
|
||
buttonLeft.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
||
buttonLeft.BackgroundImage = Properties.Resources.arrowLeft;
|
||
buttonLeft.BackgroundImageLayout = ImageLayout.Stretch;
|
||
buttonLeft.Location = new Point(819, 512);
|
||
buttonLeft.Name = "buttonLeft";
|
||
buttonLeft.Size = new Size(35, 35);
|
||
buttonLeft.TabIndex = 3;
|
||
buttonLeft.UseVisualStyleBackColor = true;
|
||
buttonLeft.Click += buttonMove_Click;
|
||
//
|
||
// buttonDown
|
||
//
|
||
buttonDown.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
||
buttonDown.BackgroundImage = Properties.Resources.arrowDown;
|
||
buttonDown.BackgroundImageLayout = ImageLayout.Stretch;
|
||
buttonDown.Location = new Point(860, 512);
|
||
buttonDown.Name = "buttonDown";
|
||
buttonDown.Size = new Size(35, 35);
|
||
buttonDown.TabIndex = 2;
|
||
buttonDown.UseVisualStyleBackColor = true;
|
||
buttonDown.Click += buttonMove_Click;
|
||
//
|
||
// buttonRight
|
||
//
|
||
buttonRight.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
||
buttonRight.BackgroundImage = Properties.Resources.arrowRight;
|
||
buttonRight.BackgroundImageLayout = ImageLayout.Stretch;
|
||
buttonRight.Location = new Point(901, 512);
|
||
buttonRight.Name = "buttonRight";
|
||
buttonRight.Size = new Size(35, 35);
|
||
buttonRight.TabIndex = 4;
|
||
buttonRight.UseVisualStyleBackColor = true;
|
||
buttonRight.Click += buttonMove_Click;
|
||
//
|
||
// buttonUp
|
||
//
|
||
buttonUp.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
||
buttonUp.BackgroundImage = Properties.Resources.arrowUp;
|
||
buttonUp.BackgroundImageLayout = ImageLayout.Stretch;
|
||
buttonUp.Location = new Point(860, 471);
|
||
buttonUp.Name = "buttonUp";
|
||
buttonUp.Size = new Size(35, 35);
|
||
buttonUp.TabIndex = 1;
|
||
buttonUp.UseVisualStyleBackColor = true;
|
||
buttonUp.Click += buttonMove_Click;
|
||
//
|
||
// comboBoxStrategy
|
||
//
|
||
comboBoxStrategy.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
||
comboBoxStrategy.DropDownStyle = ComboBoxStyle.DropDownList;
|
||
comboBoxStrategy.FormattingEnabled = true;
|
||
comboBoxStrategy.Items.AddRange(new object[] { "К центру", "К краю" });
|
||
comboBoxStrategy.Location = new Point(795, 12);
|
||
comboBoxStrategy.Name = "comboBoxStrategy";
|
||
comboBoxStrategy.Size = new Size(151, 28);
|
||
comboBoxStrategy.TabIndex = 6;
|
||
//
|
||
// buttonStrategyStep
|
||
//
|
||
buttonStrategyStep.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
||
buttonStrategyStep.Location = new Point(851, 56);
|
||
buttonStrategyStep.Name = "buttonStrategyStep";
|
||
buttonStrategyStep.Size = new Size(94, 29);
|
||
buttonStrategyStep.TabIndex = 7;
|
||
buttonStrategyStep.Text = "Шаг";
|
||
buttonStrategyStep.UseVisualStyleBackColor = true;
|
||
buttonStrategyStep.Click += buttonStrategyStep_Click;
|
||
//
|
||
// FormBattleship
|
||
//
|
||
AutoScaleDimensions = new SizeF(8F, 20F);
|
||
AutoScaleMode = AutoScaleMode.Font;
|
||
ClientSize = new Size(957, 559);
|
||
Controls.Add(buttonStrategyStep);
|
||
Controls.Add(comboBoxStrategy);
|
||
Controls.Add(buttonUp);
|
||
Controls.Add(buttonRight);
|
||
Controls.Add(buttonDown);
|
||
Controls.Add(buttonLeft);
|
||
Controls.Add(pictureBoxBattleship);
|
||
Name = "FormBattleship";
|
||
Text = "Линкор";
|
||
((System.ComponentModel.ISupportInitialize)pictureBoxBattleship).EndInit();
|
||
ResumeLayout(false);
|
||
}
|
||
|
||
#endregion
|
||
|
||
private PictureBox pictureBoxBattleship;
|
||
private Button buttonDown;
|
||
private Button buttonRight;
|
||
private Button buttonUp;
|
||
private Button buttonLeft;
|
||
private ComboBox comboBoxStrategy;
|
||
private Button buttonStrategyStep;
|
||
} |