示例#1
0
文件: Button.cs 项目: default0/Beats
        private void Button_RollOver(MouseRollOverEventArgs obj)
        {
            if (state != ButtonState.Out)
                return;

            state = ButtonState.Over;
        }
示例#2
0
文件: Sprite.cs 项目: default0/Beats
 /// <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);
 }