доделал =)

This commit is contained in:
Олег Кудринский 2024-05-26 18:18:40 +04:00
parent 2507c11893
commit ae5cb00b15
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;
}