随笔分类 -  编程

各种编程语言相关
摘要:该方法可以处理当前队列的消息,比如一个for循环 5000次 向TextBox中追加文本,那肯定会假死一会儿的。 此时便可使用Application.DoEvents()来处理队列的信息。 简单说下使用Application.DoEvents() 和 不使用Application.DoEvents( 阅读全文
posted @ 2022-06-17 11:01 devgis 阅读(429) 评论(0) 推荐(0)
摘要:Style、ControlTemplate 和 DataTemplate 都有触发器集合。 属性触发器只检查WPF从属属性,而数据触发器则可检查任何一种可绑定的属性。属性触发器一般用来检查WPF可视元素的属性,而数据触发器则通常用来检查不可视对象的属性。 属性触发器:通过此机制,一个属性的更改会在另 阅读全文
posted @ 2022-06-17 11:00 devgis 阅读(393) 评论(0) 推荐(0)
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Messaging; namespace MSMQTest { public class TestMe 阅读全文
posted @ 2022-06-17 10:55 devgis 阅读(236) 评论(0) 推荐(0)
摘要:BinaryReader 类用特定的编码将基元数据类型读作二进制值。命名空间:System.IO;程序集:System.Runtime.dll public class BinaryReader : IDisposable BinaryReader类提供简化从流中读取基元数据类型的方法。 例如,可以 阅读全文
posted @ 2022-06-16 16:19 devgis 阅读(819) 评论(0) 推荐(0)
摘要:使用 APT 进行安装可通过几个命令来完成。 安装 .NET 之前,请运行以下命令,将 Microsoft 包签名密钥添加到受信任密钥列表,并添加包存储库。 打开终端并运行以下命令: Bash复制 wget https://packages.microsoft.com/config/ubuntu/1 阅读全文
posted @ 2021-01-15 19:39 devgis 阅读(565) 评论(0) 推荐(0)
摘要:使用WCF实现消息推送 1.协议 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ServiceModel; namespace WCFHub.ISe 阅读全文
posted @ 2020-12-23 21:04 devgis 阅读(420) 评论(0) 推荐(0)
摘要:用户需要授予权限 grant change notification to hfspas; public void GetDatabaseChange() { string sql = "select * from t_prescription_handwork where trunc(checki 阅读全文
posted @ 2020-12-23 20:18 devgis 阅读(1322) 评论(1) 推荐(0)
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Management; using System.ServiceProcess; using System.Text; using Syst 阅读全文
posted @ 2020-12-23 20:10 devgis 阅读(241) 评论(0) 推荐(0)
摘要:相关享目托管在github: https://github.com/devgis/CSharpCodes 阅读全文
posted @ 2019-07-04 16:30 devgis 阅读(238) 评论(0) 推荐(0)
摘要:相关享目托管在github: https://github.com/devgis/CSharpCodes 阅读全文
posted @ 2019-07-04 16:10 devgis 阅读(316) 评论(0) 推荐(0)
摘要:这个工具用于分析文本文件中所有的英语单词 并且通过内置字典数据库工具对这些单词进行解析 可以生成表格形式 并且支持导出到excel文件中 用于学习单词 阅读全文
posted @ 2018-12-28 15:48 devgis 阅读(1025) 评论(0) 推荐(0)
摘要:C# 实现行列式 阅读全文
posted @ 2017-11-21 17:25 devgis 阅读(711) 评论(0) 推荐(1)
摘要:C#实现在foreach中删除集合中的元素 阅读全文
posted @ 2017-11-17 17:15 devgis 阅读(8450) 评论(0) 推荐(0)