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