protected virtual void Dispose(bool disposing) { if (disposing) { contactHandler.Dispose(); } }
protected override void OnClosing(CancelEventArgs e) { contactHandler.Dispose(); base.OnClosing(e); }
public void Stop() { contactHandler.Frame -= contactHandler_Frame; contactHandler.Dispose(); contactHandler = null; }
protected override void OnClosing(System.ComponentModel.CancelEventArgs e) { contactHandler.Dispose(); base.OnClosing(e); }