private void TimeCheckingC(TextBox openTime, TextBox closeTime)
 {
     if (SettingsValidation.ValidHours(openTime.Text, closeTime.Text))
     {
         statusGood();
     }
     else if (!errorPresent)
     {
         WPFMessageBox.Show("Invalid Input. Closing time must be a valid time greater than opening time");
         statusBad(closeTime, openTime);
     }
 }
 private void txt_RegularAge_LostFocus(object sender, RoutedEventArgs e)
 {
     if (SettingsValidation.ValidAge(txt_InfantAge.Text, txt_RegularAge.Text))
     {
         statusGood();
     }
     else if (!errorPresent)
     {
         WPFMessageBox.Show("Invalid Input. Regular Age must be a positive number greater than Infant Age");
         statusBad(txt_RegularAge, txt_InfantAge);
     }
 }
 private void txt_MaxMonthlyFee_LostFocus(object sender, RoutedEventArgs e)
 {
     if (SettingsValidation.PositiveInteger(txt_MaxMonthlyFee.Text))
     {
         statusGood();
     }
     else if (!errorPresent)
     {
         WPFMessageBox.Show("Invalid Input. Maximum Monthly Fee must be a positive number");
         statusBad(txt_MaxMonthlyFee);
     }
 }
 private void txt_ExpirationDays_LostFocus(object sender, RoutedEventArgs e)
 {
     if (SettingsValidation.PositiveInteger(txt_ExpirationDays.Text))
     {
         statusGood();
     }
     else if (!errorPresent)
     {
         WPFMessageBox.Show("Invalid Input. Days to hold expired records must be a positive number");
         statusBad(txt_ExpirationDays);
     }
 }
        ////////////////////
        //LostFocus Events//
        ////////////////////

        private void txt_BillingDate_LostFocus(object sender, RoutedEventArgs e)
        {
            if (SettingsValidation.ValidBillingDate(txt_BillingDate.Text))
            {
                statusGood();
            }
            else if (!errorPresent)
            {
                WPFMessageBox.Show("Invalid Input. Billing Date must be a number from 2 to 27");
                statusBad(txt_BillingDate);
            }
        }