Ejemplo n.º 1
0
 static void Main(string[] Args)
 {
     try
     {
         NV = GetHtmlCode("https://viruzober.tk/ActiveVersion.txt");
         if (Args[0] == null)
         {
             return;
         }
         if (Args[0] == NV)
         {
             return;
         }
         UpdateForm UF     = new UpdateForm();
         string     Change = GetHtmlCode("https://viruzober.tk/Change.txt");
         UF.TB.Text = Change;
         Application.Run(UF);
     }
     catch (Exception)
     {
         MessageBox.Show("Что-то пошло не так. Проверьте интернет соеденение", "Внимание");
         return;
     }
 }
Ejemplo n.º 2
0
 static void Main(string[] Args)
 {
     if (Args[0] == null)
     {
         return;
     }
     try
     {
         NV = GetHtmlCode("https://viruzober.github.io/MagicKeys/ActiveVersion.txt");
         if (Args[0] == NV)
         {
             return;
         }
         UpdateForm UF     = new UpdateForm();
         string     Change = GetHtmlCode("https://viruzober.github.io/MagicKeys/ChangeLog.txt");
         UF.TB.Text = Change;
         Application.Run(UF);
     }
     catch (Exception)
     {
         MessageBox.Show(T._("Something has gone wrong. Please check your internet connection."), T._("Error"));
         return;
     }
 }