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