The background is not magical, it is drawn by the window. If you replace the visual content of the windows like this, there will be no background unless you draw it yourself.

You could add something like this

dc.DrawRectangle(Background, Nothing, New Rect(0, 0, Width, Height))

do your drawing code.