XNA Game Studio 3.1
Raises the Activated event. Override this method to add code to handle when the game gains focus.
Assembly: Microsoft.Xna.Framework.Game (in microsoft.xna.framework.game.dll)
The OnActivated method allows derived classes to handle the Activated event without attaching a delegate. This is the preferred technique for handling the event in a derived class.