void startGame_RaiseUIElementReleasedEvent(object sender, UIElementReleasedEventArgs e)
 {
     //Start the Game
     Reset();
     activeGameState     = GameState.Playing;
     this.IsMouseVisible = false;
 }
        protected virtual void OnRaiseUIElementReleasedEvent(UIElementReleasedEventArgs e)
        {
            EventHandler <UIElementReleasedEventArgs> handler = RaiseUIElementReleasedEvent;

            // Event will be null if there are no subscribers
            if (handler != null)
            {
                handler(this, e);
            }
        }
 void startGame_RaiseUIElementReleasedEvent(object sender, UIElementReleasedEventArgs e)
 {
     //Start the Game
     Reset();
     activeGameState = GameState.Playing;
     this.IsMouseVisible = false;
 }
 void restartGame_RaiseUIElementReleasedEvent(object sender, UIElementReleasedEventArgs e)
 {
     Reset();
 }
        protected virtual void OnRaiseUIElementReleasedEvent(UIElementReleasedEventArgs e)
        {
            EventHandler<UIElementReleasedEventArgs> handler = RaiseUIElementReleasedEvent;

            // Event will be null if there are no subscribers
            if (handler != null)
            {
                handler(this, e);
            }
        }
 void restartGame_RaiseUIElementReleasedEvent(object sender, UIElementReleasedEventArgs e)
 {
     Reset();
 }