Esempio n. 1
0
        /// <summary>
        /// Move and resize the window to the current values
        /// </summary>
        /// <param name="window"></param>
        public static Boolean Reposition(LgWindow window)
        {
            IntPtr hande = window.Process.WinProcess.MainWindowHandle;

            if (hande == IntPtr.Zero)
            {
                return(false);
            }
            return(MoveWindow(hande, window.TopLeft.X, window.TopLeft.Y, window.Size.Width, window.Size.Height, true));
        }
Esempio n. 2
0
 static void VisualTool()
 {
     LgWindow.GetWindow <VisualBufferWindow>(400, 600, "LayerWindow");
 }