protected override void OnClosing(System.ComponentModel.CancelEventArgs e) { ESAPIApplication.Dispose(); base.OnClosing(e); }
private void Close1_Click(object sender, RoutedEventArgs e) { ESAPIApplication.Dispose(); this.Close(); }
protected override void OnExit(ExitEventArgs e) { ESAPIApplication.Dispose(); base.OnExit(e); }