155 lines
6.3 KiB
C#
155 lines
6.3 KiB
C#
namespace ProjectBattleship
|
||
{
|
||
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.Dock = DockStyle.Fill;
|
||
pictureBoxBattleship.Location = new Point(0, 0);
|
||
pictureBoxBattleship.Margin = new Padding(2);
|
||
pictureBoxBattleship.Name = "pictureBoxBattleship";
|
||
pictureBoxBattleship.Size = new Size(876, 436);
|
||
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(739, 389);
|
||
buttonLeft.Margin = new Padding(2);
|
||
buttonLeft.Name = "buttonLeft";
|
||
buttonLeft.Size = new Size(35, 35);
|
||
buttonLeft.TabIndex = 2;
|
||
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(780, 389);
|
||
buttonDown.Margin = new Padding(2);
|
||
buttonDown.Name = "buttonDown";
|
||
buttonDown.Size = new Size(35, 35);
|
||
buttonDown.TabIndex = 3;
|
||
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(821, 389);
|
||
buttonRight.Margin = new Padding(2);
|
||
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(780, 348);
|
||
buttonUp.Margin = new Padding(2);
|
||
buttonUp.Name = "buttonUp";
|
||
buttonUp.Size = new Size(35, 35);
|
||
buttonUp.TabIndex = 5;
|
||
buttonUp.UseVisualStyleBackColor = true;
|
||
buttonUp.Click += ButtonMove_Click;
|
||
//
|
||
// comboBoxStrategy
|
||
//
|
||
comboBoxStrategy.DropDownStyle = ComboBoxStyle.DropDownList;
|
||
comboBoxStrategy.FormattingEnabled = true;
|
||
comboBoxStrategy.Items.AddRange(new object[] { "К центру ", "К краю" });
|
||
comboBoxStrategy.Location = new Point(652, 12);
|
||
comboBoxStrategy.Name = "comboBoxStrategy";
|
||
comboBoxStrategy.Size = new Size(212, 38);
|
||
comboBoxStrategy.TabIndex = 6;
|
||
//
|
||
// button1
|
||
//
|
||
buttonStrategyStep.Location = new Point(752, 72);
|
||
buttonStrategyStep.Name = "button1";
|
||
buttonStrategyStep.Size = new Size(104, 43);
|
||
buttonStrategyStep.TabIndex = 7;
|
||
buttonStrategyStep.Text = "шаг";
|
||
buttonStrategyStep.TextAlign = ContentAlignment.TopCenter;
|
||
buttonStrategyStep.UseVisualStyleBackColor = true;
|
||
buttonStrategyStep.Click += ButtonStrategyStep_Click;
|
||
//
|
||
// FormBattleship
|
||
//
|
||
AutoScaleDimensions = new SizeF(12F, 30F);
|
||
AutoScaleMode = AutoScaleMode.Font;
|
||
ClientSize = new Size(876, 436);
|
||
Controls.Add(buttonStrategyStep);
|
||
Controls.Add(comboBoxStrategy);
|
||
Controls.Add(buttonUp);
|
||
Controls.Add(buttonRight);
|
||
Controls.Add(buttonDown);
|
||
Controls.Add(buttonLeft);
|
||
Controls.Add(pictureBoxBattleship);
|
||
Margin = new Padding(2);
|
||
Name = "FormBattleship";
|
||
StartPosition = FormStartPosition.CenterScreen;
|
||
Text = "Линкор";
|
||
TopMost = true;
|
||
((System.ComponentModel.ISupportInitialize)pictureBoxBattleship).EndInit();
|
||
ResumeLayout(false);
|
||
}
|
||
|
||
#endregion
|
||
|
||
private PictureBox pictureBoxBattleship;
|
||
private Button buttonLeft;
|
||
private Button buttonDown;
|
||
private Button buttonRight;
|
||
private Button buttonUp;
|
||
private ComboBox comboBoxStrategy;
|
||
private Button buttonStrategyStep;
|
||
}
|
||
} |