12 2019 档案

摘要:#region 无边框窗体移动改变大小 [DllImport("user32.dll")] public static extern bool ReleaseCapture(); [DllImport("user32.dll")] public static extern bool SendMess 阅读全文
posted @ 2019-12-20 10:55 ₯㎕~ 阅读(468) 评论(0) 推荐(0) 编辑
摘要:using System.Media; string szPath = Application.StartupPath + “\\SoundFile\\sound.wav”; SoundPlayer soundplayer = new SoundPlayer(); 声音文件路径: soundplay 阅读全文
posted @ 2019-12-13 10:53 ₯㎕~ 阅读(487) 评论(0) 推荐(0) 编辑
摘要:1 using System; 2 using System.Collections.Generic; 3 using System.ComponentModel; 4 using System.Data; 5 using System.Drawing; 6 using System.Text; 7 阅读全文
posted @ 2019-12-12 14:52 ₯㎕~ 阅读(418) 评论(0) 推荐(0) 编辑
摘要:#region 时间,时间戳转换 /// <summary> /// 时间转换为事件戳 /// </summary> /// <param name="dateTime"></param> /// <returns></returns> public static uint GetTimeStamp 阅读全文
posted @ 2019-12-11 15:46 ₯㎕~ 阅读(303) 评论(0) 推荐(0) 编辑
摘要:public static void PtrMoveSize(ref IntPtr pData, int nLength) { if (IntPtr.Size == sizeof(Int64)) pData = new IntPtr(pData.ToInt64() + nLength); else 阅读全文
posted @ 2019-12-11 15:44 ₯㎕~ 阅读(273) 评论(0) 推荐(0) 编辑
摘要:List<TreeNode> listSearchTreeNodes; private void btn_Search_Click(object sender, EventArgs e) { if (string.IsNullOrEmpty(textBox1.Text.Trim())) { retu 阅读全文
posted @ 2019-12-03 14:23 ₯㎕~ 阅读(770) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示