crazy merging :|

This commit is contained in:
Yuee Shiness 2023-06-04 00:17:24 +04:00
parent 567c9fd1c8
commit 3481133a7e

View File

@ -108,7 +108,7 @@ namespace SewingDresses
try try
{ {
var operationResult = _orderLogic.TakeOrderInWork(new OrderBindingModel var operationResult = _orderLogic.TakeOrderInWork(new OrderBindingModel
{ {
ID = id, ID = id,
DressID = Convert.ToInt32(dataGridView.SelectedRows[0].Cells["DressID"].Value), DressID = Convert.ToInt32(dataGridView.SelectedRows[0].Cells["DressID"].Value),
Status = Enum.Parse<OrderStatus>(dataGridView.SelectedRows[0].Cells["Status"].Value.ToString()), Status = Enum.Parse<OrderStatus>(dataGridView.SelectedRows[0].Cells["Status"].Value.ToString()),
@ -198,11 +198,16 @@ namespace SewingDresses
MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK,
MessageBoxIcon.Error); MessageBoxIcon.Error);
} }
private void ButtonRef_Click(object sender, EventArgs e)
{
LoadData();
}
} }
}
private void ButtonRef_Click(object sender, EventArgs e)
{
LoadData();
}
}
} }