protected override void OnExit(ExitEventArgs e) { base.OnExit(e); NotificationService.Instance.Dispose(); }