Коммит четвертый. 71%

This commit is contained in:
Hells Hound 2022-09-11 10:32:07 +04:00
parent 5db329405b
commit 714420d726
3 changed files with 4 additions and 4 deletions

View File

@ -34,11 +34,11 @@ namespace AircraftCarrier
/// <summary> /// <summary>
/// Ширина отрисовки военного корабля /// Ширина отрисовки военного корабля
/// </summary> /// </summary>
private readonly int _warshipWidth = 80; private readonly int _warshipWidth = 94;
/// <summary> /// <summary>
/// Высота отрисовки военного корабля /// Высота отрисовки военного корабля
/// </summary> /// </summary>
private readonly int _warshipHeight = 50; private readonly int _warshipHeight = 40;
/// <summary> /// <summary>
/// Инициализация свойств /// Инициализация свойств
/// </summary> /// </summary>

View File

@ -89,7 +89,7 @@
this.buttonCreate.TabIndex = 2; this.buttonCreate.TabIndex = 2;
this.buttonCreate.Text = "Create"; this.buttonCreate.Text = "Create";
this.buttonCreate.UseVisualStyleBackColor = true; this.buttonCreate.UseVisualStyleBackColor = true;
this.buttonCreate.Click += new System.EventHandler(this.buttonCreate_Click); this.buttonCreate.Click += new System.EventHandler(this.ButtonCreate_Click);
// //
// buttonDown // buttonDown
// //

View File

@ -22,7 +22,7 @@ namespace AircraftCarrier
/// </summary> /// </summary>
/// <param name="sender"></param> /// <param name="sender"></param>
/// <param name="e"></param> /// <param name="e"></param>
private void buttonCreate_Click(object sender, EventArgs e) private void ButtonCreate_Click(object sender, EventArgs e)
{ {
Random rnd = new(); Random rnd = new();
_warship = new DrawingWarship(); _warship = new DrawingWarship();