示例#1
0
 private void RegisterReceiver()
 {
     if (haveRegister)
     {
         return;
     }
     _adapter.RegisterPointerReceive(pointerReceiver);
     haveRegister = true;
 }
 private void Registerhandler()
 {
     if (haveRegister)
     {
         return;
     }
     _adapter.RegisterPointerReceive(_pointerKeyHandler);
     _adapter.RegisterKeyReceive(_keyHandler);
     haveRegister = true;
 }