2020年5月15日
摘要: SplashScreenManager控件:主要作用是显示在进行耗时操作时的等待界面; 在工具箱输入名称SplashScreenManager检索,然后直接拖拽到面板上便可使用; SplashScreenManager控件整体属性描述:(选中SplashScreenManager控件实例,打开属性窗 阅读全文
posted @ 2020-05-15 09:37 菜鸟也想上天 阅读(437) 评论(0) 推荐(1) 编辑
  2020年1月15日
摘要: TextReader file = new StringReader(info); using (JsonTextReader reader = new JsonTextReader(file)) { JObject json = (JObject)JToken.ReadFrom(reader); 阅读全文
posted @ 2020-01-15 19:01 菜鸟也想上天 阅读(1903) 评论(0) 推荐(0) 编辑
  2019年5月30日
摘要: 参考文档 https://blog.csdn.net/qq_20758141/article/details/81302741 https://www.cnblogs.com/youliao/p/6221625.html 阅读全文
posted @ 2019-05-30 11:23 菜鸟也想上天 阅读(207) 评论(0) 推荐(0) 编辑
摘要: [System.Runtime.InteropServices.DllImport("kernel32.dll")] public static extern uint WinExec(string lpCmdLine, uint uCmdShow); 阅读全文
posted @ 2019-05-30 09:30 菜鸟也想上天 阅读(188) 评论(0) 推荐(0) 编辑
摘要: 1.login.cs中的一开始加载页面//从注册表中读取 是否保存了用户名密码 自动启动配置 string RegeditKey = "PMSApp"; RegistryKey location = Registry.LocalMachine; RegistryKey soft = location.OpenSubKey(... 阅读全文
posted @ 2019-05-30 09:27 菜鸟也想上天 阅读(415) 评论(0) 推荐(0) 编辑
摘要: //通过注册表访问安装路径 string RegeditKey = "PMSApp"; RegistryKey key = Registry.LocalMachine.OpenSubKey("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall", true); ... 阅读全文
posted @ 2019-05-30 09:20 菜鸟也想上天 阅读(569) 评论(0) 推荐(0) 编辑
摘要: /// /// 将excel文档转换成PDF格式 /// /// 原文件路径 /// 文件转换为PDF保存的路径 /// 枚举类型参数 /// private bool ExcelConvert(string sourcePath, string targetPath, Xl... 阅读全文
posted @ 2019-05-30 09:15 菜鸟也想上天 阅读(1685) 评论(1) 推荐(0) 编辑
摘要: DocumentViewer docViewer = new DocumentViewer(); docViewer.Document = new XpsDocument(("地址参数"+ ".xps"), System.IO.FileAccess.Read).GetFixedDocumentSeq 阅读全文
posted @ 2019-05-30 09:11 菜鸟也想上天 阅读(1304) 评论(0) 推荐(0) 编辑
  2019年3月6日
摘要: 1.创建ValidateCode.aspx,在ValidateCode.aspx.cs中加入如下代码。生成验证码图片,在页面上输出,输出jpeg格式。 2.在用到验证码的地方加入如下代码,onclick="jaavscript:this.src='/ValidateCode.aspx?t=' + M 阅读全文
posted @ 2019-03-06 16:24 菜鸟也想上天 阅读(448) 评论(0) 推荐(0) 编辑
摘要: 1.页面调用js文件 <script type="text/javascript" src="js/jquery-1.11.3.js"></script> 2.html页面上面的布局,加粗为有效代码,剩下的自己页面css布局, 重点: input的name,id; canvas的id; img的id 阅读全文
posted @ 2019-03-06 14:41 菜鸟也想上天 阅读(425) 评论(0) 推荐(0) 编辑