C#将方法作为参数传递(用委托接收方法)
1、声明委托 public delegate void DataCallBackEventHandler(string str); 2、按照委托结构(参数和返回值)写一个回调方法 public ...
1、声明委托 public delegate void DataCallBackEventHandler(string str); 2、按照委托结构(参数和返回值)写一个回调方法 public ...