Коммит четвертый. 71%
This commit is contained in:
parent
5db329405b
commit
714420d726
@ -34,11 +34,11 @@ namespace AircraftCarrier
|
||||
/// <summary>
|
||||
/// Ширина отрисовки военного корабля
|
||||
/// </summary>
|
||||
private readonly int _warshipWidth = 80;
|
||||
private readonly int _warshipWidth = 94;
|
||||
/// <summary>
|
||||
/// Высота отрисовки военного корабля
|
||||
/// </summary>
|
||||
private readonly int _warshipHeight = 50;
|
||||
private readonly int _warshipHeight = 40;
|
||||
/// <summary>
|
||||
/// Инициализация свойств
|
||||
/// </summary>
|
||||
|
@ -89,7 +89,7 @@
|
||||
this.buttonCreate.TabIndex = 2;
|
||||
this.buttonCreate.Text = "Create";
|
||||
this.buttonCreate.UseVisualStyleBackColor = true;
|
||||
this.buttonCreate.Click += new System.EventHandler(this.buttonCreate_Click);
|
||||
this.buttonCreate.Click += new System.EventHandler(this.ButtonCreate_Click);
|
||||
//
|
||||
// buttonDown
|
||||
//
|
||||
|
@ -22,7 +22,7 @@ namespace AircraftCarrier
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void buttonCreate_Click(object sender, EventArgs e)
|
||||
private void ButtonCreate_Click(object sender, EventArgs e)
|
||||
{
|
||||
Random rnd = new();
|
||||
_warship = new DrawingWarship();
|
||||
|
Loading…
Reference in New Issue
Block a user