摘要: 工具下载地址:https://download.csdn.net/download/m0_37137902/12589801 1WPF页面xaml代码 <Window x:Class="CellPhoneNumberAttribution.MainWindow" xmlns="http://sche 阅读全文
posted @ 2020-07-08 17:59 be--yourself 阅读(325) 评论(0) 推荐(0) 编辑
摘要: public class RegisterHelp { /// <summary> /// CPU /// </summary> /// <returns></returns> public string GetCpu() { string strCpu = null; ManagementClas 阅读全文
posted @ 2020-07-08 17:20 be--yourself 阅读(483) 评论(0) 推荐(0) 编辑
摘要: 需要的Dll: NPOI.OOXML.dll https://files.cnblogs.com/files/CityOfThousandFires/NPOI.dl.rar /// <summary> /// Excel->DataTable /// </summary> /// <param na 阅读全文
posted @ 2020-07-08 17:13 be--yourself 阅读(569) 评论(0) 推荐(0) 编辑
摘要: #region 操作注册表 RegistryKey key = Registry.CurrentUser; string regPath = "software\\MyApp"; /// <summary> /// 创建注册表 /// 注意:注册表路径一定是"\\"而不是"\" /// </summ 阅读全文
posted @ 2020-07-08 17:04 be--yourself 阅读(264) 评论(0) 推荐(0) 编辑
摘要: 查询DataTable返回List List<string> listNation = dtNation.AsEnumerable().Select(d => d.Field<string>("MZMC").Trim()).Distinct().ToList(); 查询DataTable返回stri 阅读全文
posted @ 2020-07-08 16:58 be--yourself 阅读(1264) 评论(0) 推荐(0) 编辑