Inheritance: System.Windows.Window
 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);
 }
Example #2
0
        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));
        }
Example #3
0
 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));
 }