Beispiel #1
0
 /// <summary>
 /// Shows an infobox
 /// </summary>
 /// <param name="title">Infobox title</param>
 /// <param name="message">Infobox message</param>
 public static void Show(string title, string message, Action callback = null)
 {
     title   = Localization.Parse(title);
     message = Localization.Parse(message);
     Desktop.InvokeOnWorkerThread(() =>
     {
         _infobox.Open(title, message, callback);
     });
 }
Beispiel #2
0
 /// <summary>
 /// Shows an infobox
 /// </summary>
 /// <param name="title">Infobox title</param>
 /// <param name="message">Infobox message</param>
 public static void Show(string title, string message)
 {
     _infobox.Open(title, message);
 }