LitDev.LDTextWindow.Delay C# (CSharp) Method

Delay() private static method

private static Delay ( Object delay ) : void
delay Object
return void
        private static void Delay(Object delay)
        {
            Thread.Sleep((int)delay);
            IntPtr _hWnd = User32.FindWindow(null, TextWindow.Title);
            User32.PostMessage(_hWnd, User32.WM_KEYDOWN, User32.VK_RETURN, 0);
        }