Ejemplo n.º 1
0
 public static void InvokeSettingsArguments()
 {
     arguments = new ArgumentParser(new string[0]);
     InvokeSettingsArguments(arguments.Parameters);
 }
Ejemplo n.º 2
0
        static void Main(string[] args)
        {
            // Name the UI thread, so it is more easily identified during debugging
            Thread.CurrentThread.Name = "CXPClient UI";

            // Parse the command line arguments
            arguments = new ArgumentParser(args); // Must keep this around so Parameters doesn't go out of scope
            InvokeSettingsArguments(arguments.Parameters);
            UnhandledExceptionHandler.Register();

            Application.EnableVisualStyles();
            Application.Run(new FMain());
        }
Ejemplo n.º 3
0
        static void Main(string[] args)
        {
            // Override the system UICulture
            string cultureOverride = null;
            if ((cultureOverride = ConfigurationManager.AppSettings["MSR.LST.ConferenceXP.UICulture"]) != null) {
                try {
                    CultureInfo ci = new CultureInfo(cultureOverride);
                    Thread.CurrentThread.CurrentUICulture = ci;
                }
                catch {}
            }
            
            // Name the UI thread, so it is more easily identified during debugging
            Thread.CurrentThread.Name = "CXPClient UI";

            // Parse the command line arguments
            arguments = new ArgumentParser(args); // Must keep this around so Parameters doesn't go out of scope
            InvokeSettingsArguments(arguments.Parameters);
            UnhandledExceptionHandler.Register();

            Application.EnableVisualStyles();
            Application.Run(new FMain());
        }