public MetroForm()
{
this.SetStyle(
ControlStyles.AllPaintingInWmPaint |
ControlStyles.OptimizedDoubleBuffer |
ControlStyles.ResizeRedraw |
ControlStyles.Selectable |
ControlStyles.ContainerControl |
ControlStyles.UserPaint, true);
this.SetStyle(ControlStyles.Opaque, false);
this.BackColor = this.Renderer.BackColor;
this.UpdateStyles();
InitializeComponent();
}