Ejemplo n.º 1
0
        protected override void OnStartup(StartupEventArgs e)
        {
            base.OnStartup(e);

            DevExpress.Data.ShellHelper.TryCreateShortcut("dxvcs2git.ui",  "dxvcs2git.ui");

            DefaultInitializer.Initialize();

            StartupOptions = Parser.Default.ParseArguments<UIStartupOptions>(e.Args).MapResult(x => x, x => UIStartupOptions.GenerateDefault());

            logifyClient = new LogifyClient();
            logifyClient.ApiKey = "9F13F4F0568643A3BCAE34E9B0C4A1B1";
            logifyClient.Run();
            logifyClient.ConfirmSendReport = true;
            Application.Current.DispatcherUnhandledException += CurrentOnDispatcherUnhandledException;
            RunWindow();
        }
Ejemplo n.º 2
0
        protected override void OnStartup(StartupEventArgs e)
        {
            base.OnStartup(e);

            DevExpress.Data.ShellHelper.TryCreateShortcut("dxvcs2git.ui", "dxvcs2git.ui");

            DefaultInitializer.Initialize();

            StartupOptions = Parser.Default.ParseArguments <UIStartupOptions>(e.Args).MapResult(x => x, x => UIStartupOptions.GenerateDefault());

            logifyClient        = new LogifyClient();
            logifyClient.ApiKey = "9F13F4F0568643A3BCAE34E9B0C4A1B1";
            logifyClient.Run();
            logifyClient.ConfirmSendReport = true;
            Application.Current.DispatcherUnhandledException += CurrentOnDispatcherUnhandledException;
            RunWindow();
        }