摘要:
OpenFileDialog dialog = new OpenFileDialog(); dialog.Multiselect = true;//该值确定是否可以选择多个文件 dialog.Title = "请选择文件夹"; dialog.Filter = "所有文件(*.*)|*.*"; if 阅读全文
摘要:
delegate void ShowMessageDelegate(RichTextBox tb, string msg); /// <summary> /// 委托RichTextBox 添加文本 /// </summary> /// <param name="tb"></param> /// < 阅读全文
摘要:
public static void QiDoProcess(string path) { Process m_Process = null; m_Process = new Process(); m_Process.StartInfo.FileName = path; m_Process.Star 阅读全文
摘要:
public static void Proce(string dirName, string processName) { try { string cmdStr = string.Format("Taskkill /IM {0} /F", processName); Process p = ne 阅读全文