07 2024 档案

Visual Studio 需要新版本 .net 4.7 但是安装时却告知已经有更高版本,无法安装
摘要:Visual Studio 需要新版本 .net 4.7 但是安装时却告知已经有更高版本,无法安装 实际上应该安装 SDK 版本,或者说 Developer 版本: https://www.microsoft.com/net/download/visual-studio-sdks reference 阅读全文

posted @ 2024-07-26 12:57 norsd 阅读(19) 评论(0) 推荐(0) 编辑

C# Windows Form 设计界面与实际显示不同的问题
摘要:问题来自于不同的缩放比率,默认是100%,更高的分辨率可能被认为调成125%, 150% 这个可以用DPI表示 目前没有很好解决, 只有一些reference: https://blog.csdn.net/qq_42697866/article/details/104522827 https://s 阅读全文

posted @ 2024-07-25 19:08 norsd 阅读(38) 评论(0) 推荐(0) 编辑

Winform 控件大小失常临时解决办法
摘要:代码 norlib/TestScenarioContainerControlSize 调用SetProcessDPIAware或者修改manifest 来自引用: https://blog.csdn.net/pigautumn/article/details/83900748?tdsourcetag 阅读全文

posted @ 2024-07-25 19:08 norsd 阅读(19) 评论(0) 推荐(0) 编辑

Python List Comprehension, Dictionary Comprehension
摘要:[ x*x for x in range(5)] {i: datas[i] for i in range(len(datas))} {0:”hello”}, {1:”abc”}, … reference: https://stackoverflow.com/questions/14507591/py 阅读全文

posted @ 2024-07-20 20:27 norsd 阅读(2) 评论(0) 推荐(0) 编辑

MongoDb Official Driver Get Collection Names
摘要:var m = new MongoClient("mongodb://1.2.3.4/NetWorth"); var db = m.GetDatabase("NetWorth"); var names = db.ListCollections().ToListAsync().Result.ToOth 阅读全文

posted @ 2024-07-15 17:34 norsd 阅读(2) 评论(0) 推荐(0) 编辑

C# MongoDb 数据转化为Json
摘要:var str = "mongodb://127.0.0.1:27017"; var client = new MongoDB.Driver.MongoClient(str); var db = client.GetDatabase("Test2018"); var t = db.ListColle 阅读全文

posted @ 2024-07-08 02:52 norsd 阅读(12) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示