Example #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();
 }
Example #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();
        }