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; } }