会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
chengeng's blog
A single flower will be my garden, a single friend will be my world !
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
···
13
下一页
2024年9月13日
修改Web.config,IIS启动速度提升60倍
摘要: https://vip.kingdee.com/article/537953720802328576?productLineId=1&lang=zh-CN
阅读全文
posted @ 2024-09-13 17:35 chengeng
阅读(42)
评论(0)
推荐(0)
2024年9月10日
Windows smbv1共享协议开启
摘要: 检测:Get-WindowsOptionalFeature -Online -FeatureName SMB1Protocol启用:Enable-WindowsOptionalFeature -Online -FeatureName SMB1Protocol禁用:Disable-WindowsOpt
阅读全文
posted @ 2024-09-10 22:16 chengeng
阅读(181)
评论(0)
推荐(0)
2024年6月28日
windows 10 激活
摘要: 打开PowerShell(以管理员身份运行)。 输入 irm massgrave.dev/get |iex 自动下载激活脚本
阅读全文
posted @ 2024-06-28 14:25 chengeng
阅读(77)
评论(0)
推荐(0)
2024年4月28日
c#将一个类型对象数据赋值到另一个类型对象(名字相同的情况)
摘要: /// <summary> /// 将一个类型对象数据赋值到另一个类型对象(名字相同的情况) /// </summary> /// <typeparam name="T">目标类型</typeparam> /// <param name="entity">目标类型对象</param> /// <pa
阅读全文
posted @ 2024-04-28 15:26 chengeng
阅读(617)
评论(0)
推荐(0)
2024年4月26日
根据json内容更新表的一行,字段数量不固定,但名称需要一致
摘要: public static int Update(string strJson){ int count = 0; List<Dictionary<string, object>> listRows = JsonConvert.DeserializeObject<List<Dictionary<str
阅读全文
posted @ 2024-04-26 08:09 chengeng
阅读(47)
评论(0)
推荐(0)
2024年3月24日
Windows 服务启动共享目录
摘要: private void FormMain_Load(object sender, EventArgs e) { ShareDirec(); } public void ShareDirec() { ManagementClass management =new ManagementClass("W
阅读全文
posted @ 2024-03-24 13:58 chengeng
阅读(41)
评论(0)
推荐(0)
2024年3月19日
FastReport 打印弹框,无法关闭(自己特定的场景,做个备忘,请勿参考)
摘要: 现象 FastReport 打印弹框,无法关闭 解决方法
阅读全文
posted @ 2024-03-19 17:18 chengeng
阅读(89)
评论(0)
推荐(0)
2024年3月18日
WinForm 指定时间没有操作键盘鼠标,弹出屏幕保护
摘要: #region 屏幕保护 System.Timers.Timer timerRunScreenSaverTask = null; F_ScreenSaver f_ScreenSaver = null; private void RunScreenSaverTask() { if (timerRunS
阅读全文
posted @ 2024-03-18 10:50 chengeng
阅读(91)
评论(0)
推荐(0)
2023年11月23日
MDns C# 实现 Makaretu.Dns.Multicast
摘要: 1、创建一个DNS服务:可以使用MulticastService类来创建一个DNS服务实例,并为其指定主机名和端口号。 var service = new MulticastService("mydns.local", IPAddress.Parse("224.0.0.251"), 5353); 2
阅读全文
posted @ 2023-11-23 15:30 chengeng
阅读(395)
评论(1)
推荐(0)
2023年11月14日
WinForm截屏
摘要: public void CutAppForm(int Localtion_X,int Localtion_Y, int picWidth,int picHeight,ref byte[] bytes) { string filePath = System.AppDomain.CurrentDomai
阅读全文
posted @ 2023-11-14 14:49 chengeng
阅读(72)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
13
下一页
公告