public void Initialize(Control control) { this.control = control; this.adapter = new TouchMessageDecoder(control); this.adapter.RegisterWindow(true); adapter.TouchEvent += this.NotifyTouchEvent; }
public void Dispose() { if (adapter != null) { adapter.UnregisterTouchWindow(); adapter = null; } GC.SuppressFinalize(this); }
public void Initialize(Control control) { this.control = control; this.adapter = new TouchMessageDecoder(control); this.adapter.RegisterWindow(true); adapter.TouchEvent += this.NotifyTouchEvent; }
public void Dispose() { if (adapter != null) { adapter.UnregisterTouchWindow(); adapter = null; } GC.SuppressFinalize(this); }