摘要:
参考文档 https://blog.csdn.net/qq_20758141/article/details/81302741 https://www.cnblogs.com/youliao/p/6221625.html 阅读全文
摘要:
[System.Runtime.InteropServices.DllImport("kernel32.dll")] public static extern uint WinExec(string lpCmdLine, uint uCmdShow); 阅读全文
摘要:
1.login.cs中的一开始加载页面//从注册表中读取 是否保存了用户名密码 自动启动配置 string RegeditKey = "PMSApp"; RegistryKey location = Registry.LocalMachine; RegistryKey soft = location.OpenSubKey(... 阅读全文
摘要:
//通过注册表访问安装路径 string RegeditKey = "PMSApp"; RegistryKey key = Registry.LocalMachine.OpenSubKey("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall", true); ... 阅读全文
摘要:
/// /// 将excel文档转换成PDF格式 /// /// 原文件路径 /// 文件转换为PDF保存的路径 /// 枚举类型参数 /// private bool ExcelConvert(string sourcePath, string targetPath, Xl... 阅读全文
摘要:
DocumentViewer docViewer = new DocumentViewer(); docViewer.Document = new XpsDocument(("地址参数"+ ".xps"), System.IO.FileAccess.Read).GetFixedDocumentSeq 阅读全文