Exemplo n.º 1
0
 public bool HandleMoveWindow(MoveWindowRequestBody body)
 {
     Console.WriteLine(body.WindowHandle);
     Console.WriteLine(body.X);
     Console.WriteLine(body.Y);
     Console.WriteLine(body.Width);
     Console.WriteLine(body.Height);
     return(WindowsFunctions.MoveWindow(
                new IntPtr(body.WindowHandle),
                body.X,
                body.Y,
                body.Width,
                body.Height,
                false));
 }