Exemplo n.º 1
0
        protected override void OnStartup(StartupEventArgs e)
        {
            LogBasicInfo();

            ProcessController.CheckSingleton(ProcessName, (IntPtr)Settings.Default.WindowHandle);
            ConfigureApplicationEventHandlers();
            base.OnStartup(e);
        }
Exemplo n.º 2
0
        protected override void OnStartup(StartupEventArgs e)
        {
            Settings.Default.PropertyChanged += (sender, eventArgs) => Settings.Default.Save();

            ProcessController.CheckSingleton();

            base.OnStartup(e);

            new Bootstrapper().Run();
        }
Exemplo n.º 3
0
        protected override void OnStartup(StartupEventArgs e)
        {
            ProcessController.CheckSingleton();

            base.OnStartup(e);
        }