System.Windows.Forms.Control.UpdateBounds()

Here are the examples of the csharp api class System.Windows.Forms.Control.UpdateBounds() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Example 7

1. Example

Project: InnovatorAdmin
Source File: FormBase.cs
View license
private void WmWindowPosChanged(ref Message m)
    {
      DefWndProc(ref m);
      UpdateBounds();
      var pos = (WINDOWPOS)Marshal.PtrToStructure(m.LParam, typeof(WINDOWPOS));
      SetWindowRegion(m.HWnd, 0, 0, pos.cx, pos.cy);
      m.Result = NativeConstants.TRUE;
    }