Example #1
0
 protected void CheckEnable()
 {
     if (!Web.CheckFile(RemoteUrl + "/enable.txt"))
     {
         MessageDialog messageDialog = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, "This launcher is disabled by the web administrator or you have disconnected from the Internet.")
         {
             Title = "Disabled"
         };
         messageDialog.Run();
         Sortie();
     }
 }