示例#1
0
        protected override void OnStartup(StartupEventArgs e)
        {
            CustomNotifyIcon.getInstance();
            _notifier.Notify("Info", "Welcome to BDMT v" + MyApp.version);

            base.OnStartup(e);
        }
示例#2
0
 public static void exit()
 {
     CustomNotifyIcon.dispose();
     //PersistenceUnitThread.persistenceUnit.persist();
     Environment.Exit(0);
 }
示例#3
0
 protected override void OnStartup(StartupEventArgs e)
 {
     CustomNotifyIcon.getInstance();
     base.OnStartup(e);
 }