Ejemplo n.º 1
0
        public static List <string> ShowCheckBoxOptionsForm(IList items, Control parentControl)
        {
            CheckedListBoxForm        popup           = new CheckedListBoxForm();
            CheckBoxOptionsController popupController = new CheckBoxOptionsController(popup, items);

            popupController.LoadView();
            DialogResult dialogResult = popup.ShowDialog(parentControl);

            popup.Dispose();
            return(popupController.SelectedItems);
        }