Пример #1
0
 public void SetEditorPlacement(WindowPlacement placement)
 {
     WindowNormalPosition = placement.NormalPosition.ToRectangle();
     WindowMaxPosition = placement.MaxPosition.ToPoint();
     WindowMinPosition = placement.MinPosition.ToPoint();
     ShowWindowCommand = placement.ShowCmd;
     WindowPlacementFlags = placement.Flags;
 }
Пример #2
0
 public static extern bool GetWindowPlacement(IntPtr hWnd, ref WindowPlacement lpwndpl);
Пример #3
0
 public static extern bool SetWindowPlacement(IntPtr hWnd, [In] ref WindowPlacement lpwndpl);