public MessageBoxResult ShowCheckedMessageBox(string message, string caption, string checkedMessage, ref bool? isChecked, MessageBoxButton button, MessageBoxImage image) { var parentWindow = ParentWindow; var localIsChecked = isChecked; var result = dispatcher.Invoke(() => Windows.CheckedMessageBox.Show(parentWindow, message, caption, button, image, checkedMessage, ref localIsChecked)); isChecked = localIsChecked; return result; }
public MessageBoxResult ShowMessageBox(string message, string caption, MessageBoxButton button, MessageBoxImage image) { var parentWindow = ParentWindow; return dispatcher.Invoke(() => { if (parentWindow != null) return (MessageBoxResult)MessageBox.Show(parentWindow, message, caption, (System.Windows.MessageBoxButton)button, (System.Windows.MessageBoxImage)image); return (MessageBoxResult)MessageBox.Show(message, caption, (System.Windows.MessageBoxButton)button, (System.Windows.MessageBoxImage)image); }); }
public MessageBoxResult ShowMessageBox(string message, string caption, IEnumerable <DialogButtonInfo> buttons, MessageBoxImage image) { var parentWindow = ParentWindow; return(dispatcher.Invoke(() => Windows.MessageBox.Show(parentWindow, message, caption, buttons, image))); }
public MessageBoxResult ShowMessageBox(string message, string caption, MessageBoxButton button, MessageBoxImage image) { var parentWindow = ParentWindow; return(dispatcher.Invoke(() => Windows.MessageBox.Show(parentWindow, message, caption, button, image))); }
public MessageBoxResult ShowMessageBox(string message, string caption, MessageBoxButton button, MessageBoxImage image) { return((MessageBoxResult)MessageBox.Show(message, caption, (System.Windows.MessageBoxButton)button, (System.Windows.MessageBoxImage)image)); }
public MessageBoxResult ShowCheckedMessageBox(string message, string caption, ref bool? isChecked, MessageBoxButton button, MessageBoxImage image) { return ShowCheckedMessageBox(message, caption, Strings.DontAskMeAgain, ref isChecked, button, image); }
public MessageBoxResult ShowMessageBox(string message, string caption, IEnumerable<DialogButtonInfo> buttons, MessageBoxImage image) { var parentWindow = ParentWindow; return dispatcher.Invoke(() => Windows.MessageBox.Show(parentWindow, message, caption, buttons, image)); }
public Task<MessageBoxResult> MessageBox(string message, MessageBoxButton buttons = MessageBoxButton.OK, MessageBoxImage image = MessageBoxImage.None, WindowOwner owner = WindowOwner.LastModal) { return DialogHelper.MessageBox(Dispatcher, message, ApplicationName, buttons, image, owner); }
public CheckedMessageBoxResult BlockingCheckedMessageBox(string message, bool?isChecked, string checkboxMessage, MessageBoxButton button = MessageBoxButton.OK, MessageBoxImage image = MessageBoxImage.None, WindowOwner owner = WindowOwner.LastModal) { return(DialogHelper.BlockingCheckedMessageBox(Dispatcher, message, ApplicationName, isChecked, checkboxMessage, button, image, owner)); }
public Task <MessageBoxResult> MessageBox(string message, MessageBoxButton buttons = MessageBoxButton.OK, MessageBoxImage image = MessageBoxImage.None, WindowOwner owner = WindowOwner.LastModal) { return(DialogHelper.MessageBox(Dispatcher, message, ApplicationName, buttons, image, owner)); }
public MessageBoxResult BlockingMessageBox(string message, IEnumerable <DialogButtonInfo> buttons, MessageBoxImage image = MessageBoxImage.None, WindowOwner owner = WindowOwner.LastModal) { return(DialogHelper.BlockingMessageBox(Dispatcher, message, ApplicationName, buttons, image, owner)); }
public MessageBoxResult ShowMessageBox(string message, string caption, MessageBoxButton button, MessageBoxImage image) { return (MessageBoxResult)MessageBox.Show(message, caption, (System.Windows.MessageBoxButton)button, (System.Windows.MessageBoxImage)image); }
public CheckedMessageBoxResult BlockingCheckedMessageBox(string message, bool? isChecked, string checkboxMessage, MessageBoxButton button = MessageBoxButton.OK, MessageBoxImage image = MessageBoxImage.None, WindowOwner owner = WindowOwner.LastModal) { return DialogHelper.BlockingCheckedMessageBox(Dispatcher, message, ApplicationName, isChecked, checkboxMessage, button, image, owner); }
public MessageBoxResult BlockingMessageBox(string message, IEnumerable<DialogButtonInfo> buttons, MessageBoxImage image = MessageBoxImage.None, WindowOwner owner = WindowOwner.LastModal) { return DialogHelper.BlockingMessageBox(Dispatcher, message, ApplicationName, buttons, image, owner); }
public MessageBoxResult ShowCheckedMessageBox(string message, string caption, ref bool?isChecked, MessageBoxButton button, MessageBoxImage image) { return(ShowCheckedMessageBox(message, caption, Strings.DontAskMeAgain, ref isChecked, button, image)); }
public MessageBoxResult ShowMessageBox(string message, string caption, MessageBoxButton button, MessageBoxImage image) { var parentWindow = ParentWindow; return dispatcher.Invoke(() => Windows.MessageBox.Show(parentWindow, message, caption, button, image)); }
public MessageBoxResult ShowCheckedMessageBox(string message, string caption, string checkedMessage, ref bool?isChecked, MessageBoxButton button, MessageBoxImage image) { var parentWindow = ParentWindow; var localIsChecked = isChecked; var result = dispatcher.Invoke(() => Windows.CheckedMessageBox.Show(parentWindow, message, caption, button, image, checkedMessage, ref localIsChecked)); isChecked = localIsChecked; return(result); }
public MessageBoxResult ShowMessageBox(string message, string caption, MessageBoxButton button, MessageBoxImage image) { var parentWindow = ParentWindow; return(dispatcher.Invoke(() => { if (parentWindow != null) { return (MessageBoxResult)MessageBox.Show(parentWindow, message, caption, (System.Windows.MessageBoxButton)button, (System.Windows.MessageBoxImage)image); } return (MessageBoxResult)MessageBox.Show(message, caption, (System.Windows.MessageBoxButton)button, (System.Windows.MessageBoxImage)image); })); }