/// <summary> /// Resumes painting the <see cref="Picture" /> control after painting is suspended by the /// <see cref="BeginUpdate" /> method. /// </summary> public void EndUpdate() { if (this.InvokeRequired) { var endUpdateDelegate = new EndUpdateDelegate(this.EndUpdate); this.Invoke(endUpdateDelegate); return; } User32.SendMessage(this.Handle, User32.WMSETREDRAW, new IntPtr(1), IntPtr.Zero); }