示例#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);