PIbd-23. Elatomtsev L.K. Lab work 01 #2
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user
Не требуется каждый раз передавать все данные заказа