上一页 1 ··· 31 32 33 34 35 36 37 38 39 ··· 105 下一页
摘要: 1. 问题描述用C#写了一个小工具, 需要显示网页上的内容, 但WebBrowser使用的是IE内核, 不能很好的展示网页 2. 解决方法通过一些尝试, 在巧合之下找出了一种方法, 成功的让WebBrowser用上了Edge内核, 先上图 上代码 /// <summary>/// 修改注册表信息使W 阅读全文
posted @ 2021-05-17 17:13 simadi 阅读(709) 评论(0) 推荐(0)
摘要: 打开C:\Windows\System32\drivers\etc\hosts 加入 192.30.255.112 github.com git185.31.16.184 github.global.ssl.fastly.net 推荐 DNS(二选一,或组合使用): 阿里云 DNS:223.5.5. 阅读全文
posted @ 2021-05-14 14:40 simadi 阅读(394) 评论(0) 推荐(0)
摘要: /// <summary> /// 去除特殊字符 /// </summary> /// <param name="text"></param> /// <returns></returns> public static string MakeValidFileName(string text) { 阅读全文
posted @ 2021-05-13 07:49 simadi 阅读(1080) 评论(0) 推荐(0)
摘要: 1 停掉 sql 服务 2 剪切 数据库和日志文件 到控件较大的盘 3 启动数据库 4 删掉原数据库 5 附加 剪切走的数据库即可 一定要做 维护计划定期 收缩 日志文件 阅读全文
posted @ 2021-04-30 19:33 simadi 阅读(914) 评论(0) 推荐(0)
摘要: https://www.rtcgeek.com/ 交流 阅读全文
posted @ 2021-04-29 17:15 simadi 阅读(100) 评论(0) 推荐(0)
摘要: 一、添加样式 <Style x:Key="LinkLabelStyle"> <Setter Property="Control.Padding" Value="0" /> <Setter Property="Control.VerticalAlignment" Value="Center" /> < 阅读全文
posted @ 2021-04-28 10:16 simadi 阅读(255) 评论(0) 推荐(0)
摘要: insert or replace:如果不存在就插入,存在就更新insert or ignore:如果不存在就插入,存在就忽略只对UNIQUE约束的字段起作用。如图:举例:建表:CREATE TABLE TEST(id BIGINT, name text, birthday datetime, PR 阅读全文
posted @ 2021-04-27 21:57 simadi 阅读(1130) 评论(0) 推荐(0)
摘要: 有时候我们要对时间进行转换,达到不同的显示效果 默认格式为:2009-6-24 14:33:34 如果要换成成200906,06-2009,2009-6-24或更多的该怎么办呢 我们要用到:DateTime.ToString的方法(String, IFormatProvider) using Sys 阅读全文
posted @ 2021-04-26 10:18 simadi 阅读(408) 评论(0) 推荐(0)
摘要: 官网 https://handyorg.gitee.io/handycontrol/quick_start/ https://gitee.com/handyorg/HandyControl https://github.com/HandyOrg/HandyControl/blob/master/RE 阅读全文
posted @ 2021-04-22 16:40 simadi 阅读(7636) 评论(0) 推荐(0)
摘要: http://so.uigreat.com/ 阅读全文
posted @ 2021-04-22 15:21 simadi 阅读(68) 评论(0) 推荐(0)
上一页 1 ··· 31 32 33 34 35 36 37 38 39 ··· 105 下一页