доделал =)
This commit is contained in:
parent
2507c11893
commit
ae5cb00b15
@ -116,7 +116,7 @@ public partial class FormShipCollection : Form
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageBox.Show("Не удалось удалить объект");
|
||||
_logger.LogInformation("Ошибка: {Message}", ex.Message);
|
||||
_logger.LogError("Ошибка: {Message}", ex.Message);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user