随笔 - 163  文章 - 2  评论 - 370  阅读 - 46万 
04 2022 档案
C#中事件的使用
摘要:定义一个事件类型 public class PropertyValueChangedEventArgs : EventArgs { private string _propertyName; private object _oldValue; private object _newValue; pu 阅读全文
posted @ 2022-04-29 10:16 风浪 阅读(115) 评论(0) 推荐(0) 编辑
C# WaitHandle.WaitAll 的实例
摘要:今天看到一个net2.0的线程等待与通知的代码, 感觉有些意思, 记录一下 private AutoResetEvent[] _endReport; private void button1_Click(object sender, EventArgs e) { Thread thread = ne 阅读全文
posted @ 2022-04-25 14:15 风浪 阅读(201) 评论(0) 推荐(0) 编辑

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