доделал =)

This commit is contained in:
Олег Кудринский 2024-05-26 19:43:48 +04:00
parent 2f8f9b8d1c
commit 9fa05c3e0a
2 changed files with 2 additions and 2 deletions

View File

@ -116,7 +116,7 @@ public partial class FormShipCollection : Form
catch (Exception ex)
{
MessageBox.Show("Не удалось удалить объект");
_logger.LogInformation("Ошибка: {Message}", ex.Message);
_logger.LogError("Ошибка: {Message}", ex.Message);
}
}

View File

@ -64,7 +64,7 @@ public partial class FormShipConfig : Form
Bitmap bmp = new(pictureBoxObject.Width, pictureBoxObject.Height);
Graphics gr = Graphics.FromImage(bmp);
_ship?.SetPictureSize(pictureBoxObject.Width, pictureBoxObject.Height);
_ship?.SetPosition(110, 75);
_ship?.SetPosition(40, 25);
_ship?.DrawTransport(gr);
pictureBoxObject.Image = bmp;
}