Пример #1
0
 public static RadioInfo[] DoRadioSelection()
 {
     SelectRadiosWindow win = new SelectRadiosWindow();
     if (win.ShowDialog() == true)
     {
         return win.SelectedRadios;
     }
     return null;
 }
Пример #2
0
        public static RadioInfo[] DoRadioSelection()
        {
            SelectRadiosWindow win = new SelectRadiosWindow();

            if (win.ShowDialog() == true)
            {
                return(win.SelectedRadios);
            }
            return(null);
        }
Пример #3
0
 private void btnAddToRollCall_Click(object sender, RoutedEventArgs e)
 {
     Common.RadioInfo[] riList = SelectRadiosWindow.DoRadioSelection();
     if (riList != null && riList.Length > 0)
     {
         foreach (Common.RadioInfo ri in riList)
         {
             if (RollCallService.GetItemFromLookupKey(ri.SignalingLookupKey) == null)
             {
                 RollCallService.AddToWaitingList(new ViewModels.RollCallItem(ri, Common.EmergencyState.NonEmergency));
             }
         }
     }
 }