摘要: private void textBox1_KeyPress(object sender, KeyPressEventArgs e){ byte[] array = System.Text.Encoding.Default.GetBytes(e.KeyChar.ToString()); if (!c 阅读全文
posted @ 2017-07-11 16:19 孤夏 阅读(279) 评论(0) 推荐(0) 编辑
摘要: [DllImport("user32.dll")] public static extern bool ReleaseCapture(); [DllImport("user32.dll")] public static extern bool SendMessage(IntPtr hwnd, int 阅读全文
posted @ 2017-07-11 16:11 孤夏 阅读(440) 评论(0) 推荐(0) 编辑