public static int MakeListChoiceDialog(string displayText, List <string> choices, Window owner) { WindowChooseActionDialog newWin = new WindowChooseActionDialog(displayText, choices); newWin.Owner = owner; newWin.ShowDialog(); return(newWin.ResultIndex); }
public static int MakeListChoiceDialog(string displayText, List<string> choices, Window owner) { WindowChooseActionDialog newWin = new WindowChooseActionDialog(displayText, choices); newWin.Owner = owner; newWin.ShowDialog(); return newWin.ResultIndex; }