示例#1
0
        protected override void OnStartup(StartupEventArgs e)
        {
            Initialize_CrashReporting();
            SquirrelUpdate();

            WpfSingleInstance.Make();
            base.OnStartup(e);
        }
示例#2
0
        protected override void OnStartup(StartupEventArgs e)
        {
            // If Nbug CrashReporting is Not Configured don't Inizialize it
            if (Wpf.Properties.Settings.Default.NbugSmtpServer != "smtp.dummy.com")
            {
                Initialize_CrashReporting();
            }

            WpfSingleInstance.Make();

            base.OnStartup(e);
        }