FRBDK/InstructionEditor/InstructionEditor/Game1.cs
/// <summary>
/// This is called when the game should draw itself.
/// </summary>
/// <param name="gameTime">Provides a snapshot of timing values.</param>
This is called when the game should draw itself.
This is called when the game should draw itself .
protected override void Draw(GameTime gameTime)
        {
            Form myForm = (Form)Form.FromHandle(this.Window.Handle);
            if (myForm.Focused)
            {
                FlatRedBallServices.Draw();
                base.Draw(gameTime);
            }
        }
protected override void Draw ( GameTime gameTime ) { Form myForm = ( Form ) Form . FromHandle ( this . Window . Handle ) ; if ( myForm . Focused ) { FlatRedBallServices . Draw ( ) ; base . Draw ( gameTime ) ; } }
This is called when the game should draw itself.
This is called when the game should draw itself .
gameTime
GameTime
Provides a snapshot of timing values.
Provides a snapshot of timing values .