07 2023 档案
摘要:.NET3.5中,C# winform 无法直接在子线程中更新UI组件的属性,会报“更新UI的线程非UI组件的创建线程”的错误,需要用到委托更新。 有两种方式: 方式1: string test = "测试..."; this.BeginInvoke( (Action)delegate() { th
阅读全文
摘要: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
阅读全文