protected virtual void DoClickButton(object sender = null) // The optional argument reduces the need for middleman functions in subclasses whose events likely pass object sender
 {
     if (IsMenuShown)
     {
         menu.ClickButton(currentTad);
         DoHideMenu(false);
         pointer.enabled = true;
         IsMenuShown     = !IsMenuShown;
     }
 }
Ejemplo n.º 2
0
 protected virtual void DoClickButton(object sender = null) // The optional argument reduces the need for middleman functions in subclasses whose events likely pass object sender
 {
     menu.ClickButton(currentAngle);
 }