Beispiel #1
0
 public static void Main(string[] args)
 {
     if (System.Environment.GetCommandLineArgs().Length == 2)
     {
         Application.EnableVisualStyles();
         Application.SetCompatibleTextRenderingDefault(false);
         Application.Run(new frmVaultViewer());
     }
     else
     {
         SingleInstanceManager manager = new SingleInstanceManager();
         manager.Run(args);
     }
 }
Beispiel #2
0
        public static void Main(string[] args)
        {
            if (System.Environment.GetCommandLineArgs().Length == 2)
            {

                Application.EnableVisualStyles();
                Application.SetCompatibleTextRenderingDefault(false);
                Application.Run(new frmVaultViewer());
            }
            else
            {
                SingleInstanceManager manager = new SingleInstanceManager();
                manager.Run(args);
            }
        }