摘要:
/// /// 字符串转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进制 阅读全文
摘要:
/// /// 显示/隐藏 软键盘 方法1 /// /// public static InputPanel _softKeyBoard = new InputPanel(); public static void ShowHideSoftKeyBoard(Boolean isShow) { _softKeyBoard.Enabled = isShow; } /// /// 显示/隐藏 软键盘 方法2 /// /// /// /// [DllImport("coredll", EntryPoint = "SipShowIM")] private stat 阅读全文