public void ClearTextBox()
 {
     Amount_txt.Clear();
     ChequeDate_txt.Value = DateTime.Now;
     Cheque_txt.Clear();
     Date_txt.Value  = DateTime.Now;
     Vender_txt.Text = "";
     Method_txt.Text = "";
     Reason_txt.Clear();
 }
Esempio n. 2
0
 /// <summary>
 /// prepare Amount_Panel with required data
 /// change panel to Amount_Panel
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void Add_Btn_Click(object sender, RoutedEventArgs e)
 {
     if (Menu_Id == -1)
     {
         return;
     }
     Pizza_amount_Con_lbl.Content = string.Format("How many of \n{0} \ndo you want?", Menu_Items[Menu_Id].Name);
     Amount_txt.Text = "1";
     Change_Panel("Amount");
     Amount_txt.Focus();
 }
Esempio n. 3
0
 public void ClearTextBox()
 {
     Amount_txt.Clear();
     ChequeDate_txt.Value = DateTime.Now;
     Cheque_txt.Clear();
     Date_txt.Value        = DateTime.Now;
     DepositDate_txt.Value = DateTime.Now;
     DepositPerson_txt.Clear();
     DepositSlip_txt.Clear();
     Invoice_txt.Text = "";
     Method_txt.Text  = "";
     Tax_txt.Clear();
 }