Ejemplo n.º 1
0
 public MessageBoxResult ShowMessage(string messageBoxText, string caption, MessageBoxButton button, MessageBoxImage icon, MessageBoxResult defaultResult, MessageBoxOptions options)
 {
     if (IsFullscreen)
     {
         return(Invoke(() => PlayniteMessageBoxFullscreen.Show(messageBoxText, caption, button, icon, defaultResult, options)));
     }
     else
     {
         return(Invoke(() => PlayniteMessageBox.Show(messageBoxText, caption, button, icon, defaultResult, options)));
     }
 }
Ejemplo n.º 2
0
 public StringSelectionDialogResult SelectString(string messageBoxText, string caption, string defaultInput)
 {
     if (IsFullscreen)
     {
         return(Invoke(() => PlayniteMessageBoxFullscreen.SelectString(PlayniteWindows.CurrentWindow, messageBoxText, caption, defaultInput)));
     }
     else
     {
         return(Invoke(() => PlayniteMessageBox.SelectString(PlayniteWindows.CurrentWindow, messageBoxText, caption, defaultInput)));
     }
 }
Ejemplo n.º 3
0
 public MessageBoxResult ShowMessage(string messageBoxText)
 {
     if (IsFullscreen)
     {
         return(Invoke(() => PlayniteMessageBoxFullscreen.Show(messageBoxText)));
     }
     else
     {
         return(Invoke(() => PlayniteMessageBox.Show(messageBoxText)));
     }
 }
Ejemplo n.º 4
0
 public void ShowSelectableString(string messageBoxText, string caption, string inputText)
 {
     if (IsFullscreen)
     {
         Invoke(() => PlayniteMessageBoxFullscreen.ShowSelectableString(PlayniteWindows.CurrentWindow, messageBoxText, caption, inputText));
     }
     else
     {
         Invoke(() => PlayniteMessageBox.ShowSelectableString(PlayniteWindows.CurrentWindow, messageBoxText, caption, inputText));
     }
 }
Ejemplo n.º 5
0
 public MessageBoxResult ShowMessage(string messageBoxText, string caption, MessageBoxButton button)
 {
     if (IsFullscreen)
     {
         return(Invoke(() => PlayniteMessageBoxFullscreen.Show(messageBoxText, caption, button)));
     }
     else
     {
         return(Invoke(() => PlayniteMessageBox.Show(messageBoxText, caption, button)));
     }
 }