日期:2014-05-18 浏览次数:21102 次
[DllImport("User32.dll", EntryPoint = "FindWindow")] private static extern int FindWindow(string lpClassName, string lpWindowName); int intHWnd = FindWindow(null, "外部窗口");
------解决方案--------------------
确认是不是 'frmLogin'
------解决方案--------------------