beta build

This commit is contained in:
DeerElk 2024-03-27 13:19:46 +04:00
parent 08194a1632
commit 48512d74b6

View File

@ -28,7 +28,8 @@ namespace ConfectioneryView
{
dataGridView.DataSource = list;
dataGridView.Columns["PastryId"].Visible = false;
dataGridView.Columns["PastryName"].AutoSizeMode = DataGridViewAutoSizeColumnMode.None;
dataGridView.Columns["PastryName"].AutoSizeMode =
DataGridViewAutoSizeColumnMode.None;
}
_logger.LogInformation("Загрузка заказов");
}
@ -49,7 +50,8 @@ namespace ConfectioneryView
form.ShowDialog();
}
}
private void PastriesToolStripMenuItem_Click(object sender, EventArgs e)
private void PastriesToolStripMenuItem_Click(object sender,
EventArgs e)
{
var service = Program.ServiceProvider?.GetService(
typeof(FormPastries));
@ -155,7 +157,8 @@ namespace ConfectioneryView
{
LoadData();
}
private OrderBindingModel CreateBindingModel(int id, bool isDone = false)
private OrderBindingModel CreateBindingModel(int id,
bool isDone = false)
{
return new OrderBindingModel
{