Interaction logic for AddInKindService.xaml
Inheritance: System.Windows.Window
 private void AddInKindService(object sender, RoutedEventArgs e)
 {
     if (Application.Current.Windows.Count <= 2)
     {
         AddInKindService iks = new AddInKindService(true, EventID);
         iks.ShowDialog();
         iks.AMPM_End.SelectedIndex   = 0;
         iks.AMPM_Start.SelectedIndex = 0;
     }
 }
 private void AddInKindService(object sender, RoutedEventArgs e)
 {
     if (Application.Current.Windows.Count <= 2)
     {
         AddInKindService iks = new AddInKindService(true, EventID);
         iks.ShowDialog();
         iks.AMPM_End.SelectedIndex = 0;
         iks.AMPM_Start.SelectedIndex = 0;
     }
 }