a guest Jan 23rd, 2019 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand