Пример #1
0
 protected override void OnStartup(StartupEventArgs e)
 {
     base.OnStartup(e);
     
     this.ShutdownMode = ShutdownMode.OnExplicitShutdown;
     component = new NotifyIconWrapper();            
 }
Пример #2
0
        protected override void OnStartup(StartupEventArgs e)
        {
            base.OnStartup(e);

            this.ShutdownMode = ShutdownMode.OnExplicitShutdown;
            component         = new NotifyIconWrapper();
        }