Exemplo n.º 1
0
 public void SetClickMode(ClickMode mode)
 {
     switch (mode)
     {
         case ClickMode.TwoFinger:
             this.clickMode = new TwoFingerClickMode();
             break;
         case ClickMode.SecondHand:
             this.clickMode = new SecondHandClickMode();
             break;
         case ClickMode.Hand:
             this.clickMode = new HandClickMode();
             break;
     }
 }
Exemplo n.º 2
0
        public void SetClickMode(ClickMode mode)
        {
            switch (mode)
            {
            case ClickMode.TwoFinger:
                this.clickMode = new TwoFingerClickMode();
                break;

            case ClickMode.SecondHand:
                this.clickMode = new SecondHandClickMode();
                break;

            case ClickMode.Hand:
                this.clickMode = new HandClickMode();
                break;
            }
        }