WM_TOUCHをイベント化するためのクラス
Inheritance: IDisposable
Exemplo n.º 1
0
 public void Initialize(Control control)
 {
     this.control = control;
     this.adapter = new TouchMessageDecoder(control);
     this.adapter.RegisterWindow(true);
     adapter.TouchEvent += this.NotifyTouchEvent;
 }
Exemplo n.º 2
0
 public void Dispose()
 {
     if (adapter != null)
     {
         adapter.UnregisterTouchWindow();
         adapter = null;
     }
     GC.SuppressFinalize(this);
 }
Exemplo n.º 3
0
 public void Initialize(Control control)
 {
     this.control = control;
     this.adapter = new TouchMessageDecoder(control);
     this.adapter.RegisterWindow(true);
     adapter.TouchEvent += this.NotifyTouchEvent;
 }
Exemplo n.º 4
0
 public void Dispose()
 {
     if (adapter != null)
     {
         adapter.UnregisterTouchWindow();
         adapter = null;
     }
     GC.SuppressFinalize(this);
 }