155 lines
6.3 KiB
C#
Raw Normal View History

2024-02-22 00:11:07 +03:00
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();
2024-03-07 11:12:06 +03:00
comboBoxStrategy = new ComboBox();
2024-04-18 07:18:47 +04:00
buttonStrategyStep = new Button();
2024-02-22 00:11:07 +03:00
((System.ComponentModel.ISupportInitialize)pictureBoxBattleship).BeginInit();
SuspendLayout();
//
// pictureBoxBattleship
//
pictureBoxBattleship.Dock = DockStyle.Fill;
pictureBoxBattleship.Location = new Point(0, 0);
2024-03-07 11:12:06 +03:00
pictureBoxBattleship.Margin = new Padding(2);
2024-02-22 00:11:07 +03:00
pictureBoxBattleship.Name = "pictureBoxBattleship";
2024-03-07 11:12:06 +03:00
pictureBoxBattleship.Size = new Size(876, 436);
2024-02-22 00:11:07 +03:00
pictureBoxBattleship.TabIndex = 0;
pictureBoxBattleship.TabStop = false;
//
// buttonLeft
//
buttonLeft.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
buttonLeft.BackgroundImage = Properties.Resources.arrowLeft;
buttonLeft.BackgroundImageLayout = ImageLayout.Stretch;
2024-03-07 11:12:06 +03:00
buttonLeft.Location = new Point(739, 389);
buttonLeft.Margin = new Padding(2);
2024-02-22 00:11:07 +03:00
buttonLeft.Name = "buttonLeft";
2024-03-07 11:12:06 +03:00
buttonLeft.Size = new Size(35, 35);
2024-02-22 00:11:07 +03:00
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;
2024-03-07 11:12:06 +03:00
buttonDown.Location = new Point(780, 389);
buttonDown.Margin = new Padding(2);
2024-02-22 00:11:07 +03:00
buttonDown.Name = "buttonDown";
2024-03-07 11:12:06 +03:00
buttonDown.Size = new Size(35, 35);
2024-02-22 00:11:07 +03:00
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;
2024-03-07 11:12:06 +03:00
buttonRight.Location = new Point(821, 389);
buttonRight.Margin = new Padding(2);
2024-02-22 00:11:07 +03:00
buttonRight.Name = "buttonRight";
2024-03-07 11:12:06 +03:00
buttonRight.Size = new Size(35, 35);
2024-02-22 00:11:07 +03:00
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;
2024-03-07 11:12:06 +03:00
buttonUp.Location = new Point(780, 348);
buttonUp.Margin = new Padding(2);
2024-02-22 00:11:07 +03:00
buttonUp.Name = "buttonUp";
2024-03-07 11:12:06 +03:00
buttonUp.Size = new Size(35, 35);
2024-02-22 00:11:07 +03:00
buttonUp.TabIndex = 5;
buttonUp.UseVisualStyleBackColor = true;
buttonUp.Click += ButtonMove_Click;
//
2024-03-07 11:12:06 +03:00
// comboBoxStrategy
//
2024-03-21 01:52:26 +03:00
comboBoxStrategy.DropDownStyle = ComboBoxStyle.DropDownList;
2024-03-07 11:12:06 +03:00
comboBoxStrategy.FormattingEnabled = true;
2024-03-21 01:52:26 +03:00
comboBoxStrategy.Items.AddRange(new object[] { "К центру ", "К краю" });
2024-03-07 11:12:06 +03:00
comboBoxStrategy.Location = new Point(652, 12);
comboBoxStrategy.Name = "comboBoxStrategy";
comboBoxStrategy.Size = new Size(212, 38);
comboBoxStrategy.TabIndex = 6;
//
// button1
//
2024-04-18 07:18:47 +04:00
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;
2024-03-07 11:12:06 +03:00
//
2024-02-22 00:11:07 +03:00
// FormBattleship
//
2024-03-07 11:12:06 +03:00
AutoScaleDimensions = new SizeF(12F, 30F);
2024-02-22 00:11:07 +03:00
AutoScaleMode = AutoScaleMode.Font;
2024-03-07 11:12:06 +03:00
ClientSize = new Size(876, 436);
2024-04-18 07:18:47 +04:00
Controls.Add(buttonStrategyStep);
2024-03-07 11:12:06 +03:00
Controls.Add(comboBoxStrategy);
2024-02-22 00:11:07 +03:00
Controls.Add(buttonUp);
Controls.Add(buttonRight);
Controls.Add(buttonDown);
Controls.Add(buttonLeft);
Controls.Add(pictureBoxBattleship);
2024-03-07 11:12:06 +03:00
Margin = new Padding(2);
2024-02-22 00:11:07 +03:00
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;
2024-03-07 11:12:06 +03:00
private ComboBox comboBoxStrategy;
2024-04-18 07:18:47 +04:00
private Button buttonStrategyStep;
2024-02-22 00:11:07 +03:00
}
}