|
关注:1
2013-05-23 12:21
求翻译:c1 encapsulates the button_click( ) method. this contains the reference of MyForm object (event raiser) and m is a reference of the mouseeventargs object. In the MyForm1 class, we have defined the method button_click( ) (i.e. event handler). When the compiler encounters the statement c1 += new click (button_click), it 是什么意思? 待解决
悬赏分:1
- 离问题结束还有
c1 encapsulates the button_click( ) method. this contains the reference of MyForm object (event raiser) and m is a reference of the mouseeventargs object. In the MyForm1 class, we have defined the method button_click( ) (i.e. event handler). When the compiler encounters the statement c1 += new click (button_click), it
问题补充: |
|
2013-05-23 12:21:38
C1封装button_click()方法。这包含MyForm的对象的引用(事件良策)和M是一个参考的mouseeventargs对象。在MyForm1类中,我们定义的方法button_click()(即事件处理程序)。当编译器遇到的声明C1 + =新的点击(button_click),包装button_click()方法创建一个事件对象(委托对象)。所以每当C1引发事件(或称为这一方案,),方法按钮_Click()将得到执行。
|
|
2013-05-23 12:23:18
c.1概括了button_click()方法。 这一载有职权范围的Items.的对象(活动筹资)和M是参考mouseeventargs对象的。 在Items.1类,我们确定了方法button_click()(即 事件处理程序)。 当编译器遇到的声明C1+=新单击(button_click),这造成了一个事件对象(代表对象)结束button_click()方法。
|
|
2013-05-23 12:24:58
正在翻
|
|
2013-05-23 12:26:38
c1 封装的 button_click () 方法。这包含了 MyForm 对象 (事件提升) 的引用,m 是 mouseeventargs 对象的引用。在 MyForm1 类中,我们定义了方法 button_click () (即事件处理程序)。当编译器遇到语句 c1 + = 新点击 (button_click) 时,它将创建事件对象 (委托对象),button_click () 方法,可以包装。所以每当 c1 事件提出 (或称,作为该程序中),将获得执行方法按钮 (_click)。
|
|
2013-05-23 12:28:18
|
湖北省互联网违法和不良信息举报平台 | 网上有害信息举报专区 | 电信诈骗举报专区 | 涉历史虚无主义有害信息举报专区 | 涉企侵权举报专区