07 2023 档案

摘要:.NET3.5中,C# winform 无法直接在子线程中更新UI组件的属性,会报“更新UI的线程非UI组件的创建线程”的错误,需要用到委托更新。 有两种方式: 方式1: string test = "测试..."; this.BeginInvoke( (Action)delegate() { th 阅读全文
posted @ 2023-07-29 23:32 jsper 阅读(585) 评论(0) 推荐(0) 编辑
摘要:select t1.relname as 表名, pg_size_pretty(pg_relation_size(relid)) as 大小, (select cast(reltuples as INTEGER) from pg_class where relkind = 'r' and relna 阅读全文
posted @ 2023-07-11 10:47 jsper 阅读(433) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示