Beispiel #1
0
 private void BtnNewReservation_Click(object sender, EventArgs e)
 {
     ValidationMethods.Enable_DisableTextBoxes(new List <TextBox>()
     {
         txtPatientID, txtPatientName, txtPatientPhone
     }, true);
     ValidationMethods.ClearTextBoxes(new List <TextBox>()
     {
         txtPatientID, txtPatientName, txtPatientPhone
     });
     cmbxVisitType.SelectedIndex = 0;
     ValidationMethods.ClearCheckedListBoxSelection(clbAdditionalServices);
     ValidationMethods.ClearTextBoxesNumbers(new List <TextBox>()
     {
         txtDiscount, txtPayed, txtRemaining
     });
     VisitsLogic.CalculateTotalRequired(cmbxVisitType, txtTotal, clbAdditionalServices);
 }