Exemple #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);
 }
Exemple #2
0
 private void ClbAdditionalServices_SelectedIndexChanged(object sender, EventArgs e)
 {
     VisitsLogic.CalculateTotalRequired(cmbxVisitType, txtTotal, clbAdditionalServices);
 }