public static CustomMessageBoxResult ShowDialog(Form owner, string caption, string message) { VersionPickDialog messageBox = new VersionPickDialog(); var helper = new WindowInteropHelper(messageBox); helper.Owner = owner.Handle; return messageBox.ShowDialogInternal(caption, message); }
public static CustomMessageBoxResult ShowDialog(Form owner, string caption, string message) { VersionPickDialog messageBox = new VersionPickDialog(); var helper = new WindowInteropHelper(messageBox); helper.Owner = owner.Handle; return(messageBox.ShowDialogInternal(caption, message)); }
public static int AskForGameVersion(Form owner, string title = "Game Version", string message = "Choose which Mass Effect game to work with:") { return((int)VersionPickDialog.ShowDialog(owner, title, message)); }