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)));
     }
 }
 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)));
     }
 }
 public MessageBoxResult ShowMessage(string messageBoxText)
 {
     if (IsFullscreen)
     {
         return(Invoke(() => PlayniteMessageBoxFullscreen.Show(messageBoxText)));
     }
     else
     {
         return(Invoke(() => PlayniteMessageBox.Show(messageBoxText)));
     }
 }
 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));
     }
 }
 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)));
     }
 }