Esempio n. 1
0
        private void Button_RollOver(MouseRollOverEventArgs obj)
        {
            if (state != ButtonState.Out)
                return;

            state = ButtonState.Over;
        }
Esempio n. 2
0
 /// <summary>
 /// Sends the given event to this sprite.
 /// </summary>
 /// <param name="e">The event that is sent.</param>
 public void SendEvent(MouseRollOverEventArgs e)
 {
     if (RollOver != null)
         RollOver(e);
 }