Esempio n. 1
0
        public static void Main()
        {
            _systemLanguage = CultureInfo.CurrentUICulture.Name;
            Thread.CurrentThread.CurrentCulture   = CultureInfo.InvariantCulture;
            Thread.CurrentThread.CurrentUICulture = CultureInfo.InvariantCulture;

            using (ErrorReporting.InitializedSentry(_systemLanguage))
            {
                if (SingleInstance <App> .InitializeAsFirstInstance(Unique))
                {
                    using (var application = new App())
                    {
                        application.InitializeComponent();
                        application.Run();
                    }
                }
            }
        }