public void BltToFront()
 {
     RenderLock.WaitLock();
     try
     {
         GDIRender.BitBlt(backgroundRenderGraphic.GetHdc(), 0, 0, backgroundGraph.ClientRectangle.Width, backgroundGraph.ClientRectangle.Height, backgroundDrawGraphic.GetHdc(), 0, 0, 13369376);
         backgroundDrawGraphic.ReleaseHdc();
         backgroundRenderGraphic.ReleaseHdc();
         graphicsBuffer.Render(backgroundGraphic);
     }
     finally
     {
         RenderLock.Unlock();
     }
 }
 public void BltToFront(int srcX, int srcY, int dstX, int dstY, int Width, int Height)
 {
     RenderLock.WaitLock();
     try
     {
         IntPtr hdc = backgroundDrawGraphic.GetHdc();
         GDIRender.BitBlt(backgroundRenderGraphic.GetHdc(), dstX, dstY, Width, Height, hdc, srcX, srcY, 13369376);
         backgroundDrawGraphic.ReleaseHdc();
         backgroundRenderGraphic.ReleaseHdc();
         graphicsBuffer.Render(backgroundGraphic);
     }
     finally
     {
         RenderLock.Unlock();
     }
 }