protected virtual void Dispose(bool isDisposing) { if (!_isDisposed) { if (isDisposing) { _tuioClient.Dispose(); } } _isDisposed = true; }