12 2019 档案
摘要:#region 无边框窗体移动改变大小 [DllImport("user32.dll")] public static extern bool ReleaseCapture(); [DllImport("user32.dll")] public static extern bool SendMess
阅读全文
摘要:using System.Media; string szPath = Application.StartupPath + “\\SoundFile\\sound.wav”; SoundPlayer soundplayer = new SoundPlayer(); 声音文件路径: soundplay
阅读全文
摘要: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
阅读全文
摘要:#region 时间,时间戳转换 /// <summary> /// 时间转换为事件戳 /// </summary> /// <param name="dateTime"></param> /// <returns></returns> public static uint GetTimeStamp
阅读全文
摘要:public static void PtrMoveSize(ref IntPtr pData, int nLength) { if (IntPtr.Size == sizeof(Int64)) pData = new IntPtr(pData.ToInt64() + nLength); else
阅读全文
摘要:List<TreeNode> listSearchTreeNodes; private void btn_Search_Click(object sender, EventArgs e) { if (string.IsNullOrEmpty(textBox1.Text.Trim())) { retu
阅读全文