protected override void OnStartup(StartupEventArgs e) { CustomNotifyIcon.getInstance(); _notifier.Notify("Info", "Welcome to BDMT v" + MyApp.version); base.OnStartup(e); }
public static void exit() { CustomNotifyIcon.dispose(); //PersistenceUnitThread.persistenceUnit.persist(); Environment.Exit(0); }
protected override void OnStartup(StartupEventArgs e) { CustomNotifyIcon.getInstance(); base.OnStartup(e); }