public void Draw(Graphics g, Rectangle bounds) { // If we are not in design mode then draw as normal. if (LicenseManager.UsageMode == LicenseUsageMode.Designtime) { this.drawDesignMode(g, bounds); } if (m_drawAsyncImage) { g.DrawImageUnscaled(m_asyncImage, 0, 0); m_drawAsyncImage = false; } else { ps_.Draw(g, bounds); } }