Beispiel #1
0
        public static List <ObjectPicker.RowInfo> Show(List <ObjectPicker.RowInfo> sims, List <ObjectPicker.RowInfo> alreadySelectedSim, string preLocalizedSelectedCaption, string preLocalizedunselectedCaption)
        {
            List <ObjectPicker.RowInfo> result;

            using (DualPanelMinorPets dualPaneSimPicker = new DualPanelMinorPets(sims, alreadySelectedSim, preLocalizedSelectedCaption, preLocalizedunselectedCaption))
            {
                dualPaneSimPicker.StartModal();
                result = dualPaneSimPicker.Result;
            }
            return(result);
        }
Beispiel #2
0
 public static List<ObjectPicker.RowInfo> Show(List<ObjectPicker.RowInfo> sims, List<ObjectPicker.RowInfo> alreadySelectedSim, string preLocalizedSelectedCaption, string preLocalizedunselectedCaption)
 {
     List<ObjectPicker.RowInfo> result;
     using (DualPanelMinorPets dualPaneSimPicker = new DualPanelMinorPets(sims, alreadySelectedSim, preLocalizedSelectedCaption, preLocalizedunselectedCaption))
     {
         dualPaneSimPicker.StartModal();
         result = dualPaneSimPicker.Result;
     }
     return result;
 }