Example #1
0
        public static bool ChooseGenre(out Genre selectedGenre)
        {
            instance = new FormChoose(typeof(Genre));
            var result = instance.ShowDialogUpdated();

            selectedGenre = instance.SelectedGenre;
            return(result);
        }
Example #2
0
        public static bool ChoosePlatform(out Platform selectedPlatform)
        {
            instance = new FormChoose(typeof(Platform));
            var result = instance.ShowDialogUpdated();

            selectedPlatform = instance.SelectedPlatform;
            return(result);
        }
Example #3
0
        public static bool ChooseStatus(string oldStatus, out string selectedStatus)
        {
            instance = new FormChoose(typeof(string));
            instance.comboBox.SelectedItem = oldStatus;
            var result = instance.ShowDialogUpdated();

            selectedStatus = instance.SelectedStatus;
            return(result);
        }