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