Exemple #1
0
 static void Main()
 {
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     string[] args = Environment.GetCommandLineArgs();
     if (args.Length != 2)
     {
         MessageBox.Show("Bad number of arguments");
         Environment.Exit(2);
     }
     CitrixXenServerInstallEvent evt = new CitrixXenServerInstallEvent(args[1]);
     evt.Fire();
 }
Exemple #2
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            string[] args = Environment.GetCommandLineArgs();
            if (args.Length != 2)
            {
                MessageBox.Show("Bad number of arguments");
                Environment.Exit(2);
            }
            CitrixXenServerInstallEvent evt = new CitrixXenServerInstallEvent(args[1]);

            evt.Fire();
        }