是否可以将方法作为参数传递给另一个类方法 [英] is it possible to pass the method as a parameter to another class method
本文介绍了是否可以将方法作为参数传递给另一个类方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨朋友们......
我想把BindGrid()方法从A类传递给另一个B类方法,比如说Export_Grid()。
我该怎么办?
任何建议
hi Friends...
I want to pass BindGrid() method from a class A to another class B method say Export_Grid() .
How can i do this.
Any suggestions
推荐答案
pass-method-as-parameter-using-c-sharp [ ^ ]
c-sharp-passing-a-method-as-a-parameter-to-另一种方法 [ ^ ]
查看链接..希望它会有所帮助...
pass-method-as-parameter-using-c-sharp[^]
c-sharp-passing-a-method-as-a-parameter-to-another-method[^]
Check the links..hope it will help...
这篇关于是否可以将方法作为参数传递给另一个类方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文