Guest User

Untitled

a guest
Jan 23rd, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. [DllImport("User32.dll")]
  2. public static extern void SendMessage(IntPtr hWnd, int uMsg, int wParam);
  3. public static void Pac()
  4. {
  5. System.Threading.Thread.Sleep(2000);
  6. var dHWnd = FindWindow(null, "Открыть");
  7. SendMessage(dHWnd, 0x0102, 0x41);
  8. }
Add Comment
Please, Sign In to add comment