I can see the problem. Thanks for the sample code. I will forward this to development so we can get it fixed.
It seems to be the lables on the panel on the usercontrol that is causing the problem. If I change the labels to TextBoxes, the problem goes away for me.
As a work around until there is a release with this corrected, here are some workarounds.
1) If you put the labels directly on the UserControl and not on a panel in the UserControl, things draw OK for me.
2) You could also change the labels to textboxes and disable the textboxes some how (might require a derived textbox to make it look nice).
3)If you need the panel, then another work-around that work for me was the hide the labels on the panel, and handle teh panel Draw event and draw the text of the labels in the event handler.
public UserControl()
{
// This call is required by the Windows.Forms Form Designer.
InitializeComponent();
this.label1.Hide();
this.label2.Hide();
this.label3.Hide();
this.panel1.Paint += new PaintEventHandler(panel1_Paint);
}
private void panel1_Paint(object sender, PaintEventArgs e)
{
e.Graphics.DrawString(this.label1.Text, this.label1.Font, Brushes.Black, this.label1.Location.X, this.label1.Location.Y);
e.Graphics.DrawString(this.label2.Text, this.label2.Font, Brushes.Black, this.label2.Location.X, this.label2.Location.Y);
e.Graphics.DrawString(this.label3.Text, this.label3.Font, Brushes.Black, this.label3.Location.X, this.label3.Location.Y);
}