刘继才

导航

 

2014年2月26日

摘要: /// /// 字符串转16进制字节数组 /// /// 例如20 1A /// public static byte[] strToHexByte(string hexString) { hexString = hexString.Replace(" ", ""); if ((hexString.Length % 2) != 0) hexString += " "; byte[] returnBytes = new byte[hexString.Length / 2]; for (int i = 0; i /// 字节数组转16进制 阅读全文
posted @ 2014-02-26 11:18 刘继才 阅读(2308) 评论(0) 推荐(1) 编辑
 
摘要: /// /// 显示/隐藏 软键盘 方法1 /// /// public static InputPanel _softKeyBoard = new InputPanel(); public static void ShowHideSoftKeyBoard(Boolean isShow) { _softKeyBoard.Enabled = isShow; } /// /// 显示/隐藏 软键盘 方法2 /// /// /// /// [DllImport("coredll", EntryPoint = "SipShowIM")] private stat 阅读全文
posted @ 2014-02-26 10:36 刘继才 阅读(1016) 评论(0) 推荐(0) 编辑