public new void Dispose() { Stop(); mThread.Abort(); mPath.Dispose(); base.Dispose(); }
//public event UserChooseEvent OnCustomerEvent; public override void Dispose() { mCounter--; if (mCounter == 0 && mPath != null) { mPath.Dispose(); } foreach (var widget in mChilds) { widget.Dispose(); } base.Dispose(); }