摘要: 转载:https://www.runoob.com/csharp/csharp-event.html 事件(Event) 基本上说是一个用户操作,如按键、点击、鼠标移动等等,或者是一些提示信息,如系统生成的通知。应用程序需要在事件发生时响应事件。例如,中断。 C# 中使用事件机制实现线程间的通信。 阅读全文
posted @ 2020-12-30 12:32 fu1513 阅读(160) 评论(0) 推荐(0)
摘要: --> 下面的过程演示了如何将遵循标准 .NET 模式的事件添加到类和结构中。The following procedure demonstrates how to add events that follow the standard .NET pattern to your classes an 阅读全文
posted @ 2020-12-30 12:29 fu1513 阅读(358) 评论(0) 推荐(2)