public void method_0() { IntPtr handle = this.Window.Handle; if (!handle.Equals((object)IntPtr.Zero)) { GClass130.ShowWindow(handle, 0); } this.form_0.Invoke((Delegate)(() => this.form_0.BringToFront())); this.gclass139_0.Pause = true; }
protected override void Draw(GameTime gameTime) { if (this.bool_0) { GClass130.ShowWindow(this.Window.Handle, 3); GClass130.SetForegroundWindow(this.Window.Handle); this.bool_0 = false; } if (!this.graphicsDeviceManager_0.IsFullScreen) { this.graphicsDeviceManager_0.ToggleFullScreen(); } this.GraphicsDevice.SetRenderTarget(this.renderTarget2D_0); this.gclass139_0.method_1(gameTime, this.spriteBatch_0); this.GraphicsDevice.SetRenderTarget((RenderTarget2D)null); this.spriteBatch_0.Begin(SpriteSortMode.Deferred, (BlendState)null, (SamplerState)null, (DepthStencilState)null, (RasterizerState)null, (Effect)null, new Matrix?()); this.spriteBatch_0.Draw((Texture2D)this.renderTarget2D_0, new Rectangle(0, 0, this.GraphicsDevice.Viewport.Width, this.GraphicsDevice.Viewport.Height), Color.White); this.spriteBatch_0.End(); base.Draw(gameTime); }