public override void Refresh()
{
if (InvokeRequired) {
Invoke((MethodInvoker)delegate() {
base.Refresh();
});
} else {
base.Refresh();
}
}