Public Sub New()
MyBase.New()
'This call is required by the Windows Form Designer.
InitializeComponent()
'Add any initialization after the InitializeComponent() call
SetStyle(ControlStyles.AllPaintingInWmPaint, True)
SetStyle(ControlStyles.DoubleBuffer, True)
SetStyle(ControlStyles.ResizeRedraw, True)
MyBase.BackColor = System.Drawing.SystemColors.Control
MyBase.Size = New Size(yourDefaultWidth, yourDefaultHeight)
End Sub