比如说我在类一里
实例了一个对象 如下
ProxyClient newClient = new ProxyClient();
//Attach the Delegates
// newClient.Disconnected += new DisconnectDelegate(OnDisconnected);
newClient.Connected += new ConnectDelegate(this.OnConnected);
newClient.SendCallEvent += new SendCallDelegate(this.OnSendCall);
newClient.SendCardEvent += new SendCardDelegate(this.OnSendCard);
newClient.GameOverEvent += new GameOverDelegate(this.OnGameOver);
newClient.AvatorMoveEvent+=new AvatorMoveDelegate(kt.OnAvatorMove);
委托的参数中调用的一定是类一中的方法吗在最后的一个定义中我没用this 而用了kt类的方法行吗 多谢多谢 在线等 急啊
实例了一个对象 如下
ProxyClient newClient = new ProxyClient();
//Attach the Delegates
// newClient.Disconnected += new DisconnectDelegate(OnDisconnected);
newClient.Connected += new ConnectDelegate(this.OnConnected);
newClient.SendCallEvent += new SendCallDelegate(this.OnSendCall);
newClient.SendCardEvent += new SendCardDelegate(this.OnSendCard);
newClient.GameOverEvent += new GameOverDelegate(this.OnGameOver);
newClient.AvatorMoveEvent+=new AvatorMoveDelegate(kt.OnAvatorMove);
委托的参数中调用的一定是类一中的方法吗在最后的一个定义中我没用this 而用了kt类的方法行吗 多谢多谢 在线等 急啊
解决方案 »
- 想开发视频采集软件,不知道怎么入门
- 我只想让view等于一列可以吗
- C# WinForm: 3 个 没 人 问 过 的 问 题 (关于Windows里的那些功能的实现,可能比较偏,但绝对是些狠好的问题,各位帮看看)
- 求实例或者相关文章 关于收发邮件的
- 对每条数据库表记录的版本管理
- 求together 2006 for vs2005的注册机
- 关于存储过程的问题,高手帮小弟看下。谢谢
- WINCE 下关于异步委托调用的问题
- .NET与Vc++问题
- 在Visual C#中两个类间的相互传递信息的难题???????
- 能不能在一个类中使用另一个类的实例?
- richTextBox 中只有粘贴BMP格式的图片 才能把图片一起保存在文件中吗?
=====
可以...