/// <summary> /// Event handler for when the No radio button is clicked. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void NoRadioButton_Click(object sender, RoutedEventArgs e) { if (Cougtech_CustomerLogger.Appointment_Set(false)) { SubmitButton.IsEnabled = true; } else { MessageBox.Show("The ticketing system has not been initialized correctly./nPlease re-enter your student ID", "System Error"); } }
/// <summary> /// Event handler for when a radio button is clicked. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void RadioButton_Click(object sender, RoutedEventArgs e) { //Set problem to text of radio button if (Cougtech_CustomerLogger.Problem_SelectionChanged(((RadioButton)sender).Content.ToString())) { SubmitButton.IsEnabled = true; } else { MessageBox.Show("The ticketing system has not been initialized correctly./nPlease re-enter your student ID", "System Error"); } }