Esempio n. 1
0
 public static WINDOWPLACEMENT GetPlacement(this Window window)
 {
     return(WindowPlacement.GetPlacement(new WindowInteropHelper(window).Handle));
 }
Esempio n. 2
0
 public static void SetPlacement(this Window window, WINDOWPLACEMENT placement)
 {
     WindowPlacement.SetPlacement(new WindowInteropHelper(window).Handle, placement);
 }