예제 #1
0
 protected virtual void Dispose(bool disposing)
 {
     if (disposing)
     {
         contactHandler.Dispose();
     }
 }
예제 #2
0
 protected override void OnClosing(CancelEventArgs e)
 {
     contactHandler.Dispose();
     base.OnClosing(e);
 }
예제 #3
0
 public void Stop()
 {
     contactHandler.Frame -= contactHandler_Frame;
     contactHandler.Dispose();
     contactHandler = null;
 }
예제 #4
0
 protected override void OnClosing(System.ComponentModel.CancelEventArgs e)
 {
     contactHandler.Dispose();
     base.OnClosing(e);
 }