摘要:
设计思路:定时检测当前鼠标所在位置,若鼠标离开窗体区域,则窗体隐藏在顶部或右侧 Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick If Con 阅读全文
摘要:
Sub Delay(ByVal ms As Int32) If ms < 10 Then Exit Sub Dim ft As Date = Date.Now Dim nt As Date Do Application.DoEvents() nt = Date.Now Threading.Threa 阅读全文
摘要:
<DllImport("User32.dll", SetLastError:=True)> Public Shared Function PrintWindow(ByVal hwnd As IntPtr, ByVal hdc As IntPtr, ByVal nFlags As UInteger) 阅读全文