Exemplo n.º 1
0
        public void UpdateAll()
        {
            if (parentControl != null)
            {
                this.Update();
                this.parentControl.Update();
                RECT rc;

                ControlExtensions.GetWindowRect(hwndMain, out rc);
                ControlExtensions.RedrawWindow(hwndMain, ref rc, IntPtr.Zero, RedrawWindowFlags.Frame | RedrawWindowFlags.Invalidate);
            }
        }