Beispiel #1
0
 public virtual void Dispose()
 {
     applicationSession.Save();
     if (!CoreAppXmlConfiguration.Instance.KeepOpenOnDispose)
     {
         applicationSession.Dispose();
     }
     sessionReport.Finish();
 }
Beispiel #2
0
 public virtual void Dispose()
 {
     applicationSession.Save();
     applicationSession.Dispose();
     sessionReport.Finish();
 }
 protected override void OnClosing(System.ComponentModel.CancelEventArgs e)
 {
     session.Dispose();
     base.OnClosing(e);
 }