/// <summary> /// Handles the mouse down on the orb area /// </summary> internal void OrbMouseDown() { if (OrbPressed) { OrbDropDown.Close(); } else { ShowOrbDropDown(); } OnOrbClicked(EventArgs.Empty); }
/// <summary> /// Raises the OrbClicked event /// </summary> /// <param name="e">event data</param> internal virtual void OnOrbClicked(EventArgs e) { if (OrbPressed) { OrbDropDown.Close(); } else { ShowOrbDropDown(); } if (OrbClicked != null) { OrbClicked(this, e); } }