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(); }
/// <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(); }
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(); }