예제 #1
0
 //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();
 }
예제 #2
0
 private void BtnOrder_Click(object sender, EventArgs e)
 {
     DgvAllOrders.Rows.Clear();
     FillAllOrders();
     GrpSearch.Hide();
     GrbReportRange.Show();
     BtnNewOrder.Hide();
     BtnReturn.Hide();
     PnlPaymentInfo.Hide();
 }
예제 #3
0
 // 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();
 }
예제 #4
0
 private void BtnCancelReturn_Click(object sender, EventArgs e)
 {
     _selectedOrder = null;
     PnlPaymentInfo.Hide();
 }