コード例 #1
0
ファイル: EditorConfiguration.cs プロジェクト: Jusonex/ShareX
 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
ファイル: User32.cs プロジェクト: oneminot/greenshot
 public static extern bool GetWindowPlacement(IntPtr hWnd, ref WindowPlacement lpwndpl);
コード例 #3
0
 public static extern bool SetWindowPlacement(IntPtr hWnd, [In] ref WindowPlacement lpwndpl);