//Inserts LateReturns to Datagridview private void BtnLateReturn_Click(object sender, EventArgs e) { DgvAllOrders.Rows.Clear(); FillLateOrders(); GrbReportRange.Hide(); GrpSearch.Hide(); BtnReturn.Visible = true; PnlPaymentInfo.Hide(); }
private void BtnOrder_Click(object sender, EventArgs e) { DgvAllOrders.Rows.Clear(); FillAllOrders(); GrpSearch.Hide(); GrbReportRange.Show(); BtnNewOrder.Hide(); BtnReturn.Hide(); PnlPaymentInfo.Hide(); }
// Inserts AllReturns to Datagridview private void BtnAllReturns_Click(object sender, EventArgs e) { PnlNewOrder.Visible = false; PnlAllOrders.Visible = true; DgvAllOrders.Rows.Clear(); FillPassiveOrders(); BtnReturn.Visible = false; GrpSearch.Hide(); GrbReportRange.Hide(); PnlPaymentInfo.Hide(); }
private void BtnCancelReturn_Click(object sender, EventArgs e) { _selectedOrder = null; PnlPaymentInfo.Hide(); }