public static bool ChooseGenre(out Genre selectedGenre) { instance = new FormChoose(typeof(Genre)); var result = instance.ShowDialogUpdated(); selectedGenre = instance.SelectedGenre; return(result); }
public static bool ChoosePlatform(out Platform selectedPlatform) { instance = new FormChoose(typeof(Platform)); var result = instance.ShowDialogUpdated(); selectedPlatform = instance.SelectedPlatform; return(result); }
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); }