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

            state = ButtonState.Over;
        }
Ejemplo 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);
 }