public static void ShowOnScreenKeyboard(IMeedioSystem MeedioSystem, IMeedioMessage Message, string Title, string PreText, bool Log, StreamWriter swWriteLog)
 {
     try
     {
         Message = MeedioSystem.NewMessage("osk.show");
         Message["text"] = PreText;
         Message["required"] = true;
         Message["title"] = Title;
         Message.Send();
     }
     catch (Exception e)
     {
         ToolBox.MeedioUtils.LogEntry(Log, swWriteLog, "[MeedioUtils] - Error launching on screen keyboard." + e);
     }
     return;
 }
 public static void ShowDialogBox(IMeedioSystem MeedioSystem, IMeedioMessage Message, string caption, string description, string dialogtype, string yescaption, string nocaption, bool Log, StreamWriter swWriteLog)
 {
     try
     {
         Message = MeedioSystem.NewMessage("dialogbox.show");
         Message["caption"] = caption;
         Message["description"] = description;
         //Message["height"] = "500";
         //Message["width"] = "500";
         //Message["align"] = "center";
         Message["dialog-type"] = dialogtype; // "yes/no" or "okcancel" or "information" or blank for OK button only
         if (dialogtype == "yes/no" && yescaption != "" && nocaption != "")
         {
             Message["yes-caption"] = yescaption;
             Message["no-caption"] = nocaption;
         }
         Message.Send();
         ToolBox.MeedioUtils.LogEntry(Log, swWriteLog, "[MeedioUtils] - Launching dialog box");
     }
     catch (Exception e)
     {
         ToolBox.MeedioUtils.LogEntry(Log, swWriteLog, "[MeedioUtils] - Error launching dialog box." + e);
     }
     return;
 }