public void SafeBeginUpdate() { if (this.InvokeRequired) { BeginUpdateCallback d = new BeginUpdateCallback(SafeBeginUpdate); this.Invoke(d); } else { this.BeginUpdate(); } }