Exemple #1
0
 /// <summary>
 /// Handles the mouse down on the orb area
 /// </summary>
 internal void OrbMouseDown()
 {
     if (OrbPressed)
     {
         OrbDropDown.Close();
     }
     else
     {
         ShowOrbDropDown();
     }
     OnOrbClicked(EventArgs.Empty);
 }
Exemple #2
0
        /// <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);
            }
        }