protected override void OnPaint(PaintEventArgs e) { e.Graphics.DrawImage(TopBarBitmap, 0, 0, TopBarBitmap.Width, TopH); e.Graphics.DrawImage(BackgroundBitmap, 0, TopH, BackgroundBitmap.Width, BackgroundBitmap.Height); base.OnPaint(e); }