Esempio n. 1
0
 static void Main(string[] args)
 {
     if (args.Length == 1 && args[0].Equals("-checkautorun"))
        {
     if (!Preferences.IsRunEnabled())
     {
      return;
     }
        }
     if (args.Length == 1 && args[0].Equals("/r"))
     {
         RegularStart = true;
     }
     foreach (string argument in args)
     {
         if (argument.Equals("-disableSyncLog"))
         {
             disableSyncLogPopup = true;
             break;
         }
     }
        instance = new FormsTrayApp();
        Application.Run(instance);
 }
Esempio n. 2
0
 static void Main(string[] args)
 {
     if (args.Length == 1 && args[0].Equals("-checkautorun"))
        {
     if (!Preferences.IsRunEnabled())
     {
      return;
     }
        }
        instance = new FormsTrayApp();
        Application.Run(instance);
 }