no, it has to be a function, use a delegate wrapper and call it asynchronously, or use a member variable, since you can access member variables inside an instance method
解决方案 »
- 如何判断DATAGRIDVIEW里的数据?
- C# word
- 高分求答案WinForm达人请进C#中是否能将一个系统定义的对话框和用户控件结合在一起?
- c# 怎么做弹出菜单?
- 谁有C#反编译软件下载地址或是软件呀,
- 求C#经典书本!适合新手入门的
- 为什么我的动态链接库连不上?
- 无法创建抽象类或接口“System.Windows.Forms.DataGridViewCell”的实例?
- C# 在主窗体中有一个panel控件,在panel的类代码中,定义了函数Refresh(),在主窗体的代码中this.panel.Refresh()是什么效果
- dataSet占用的内存也太大了!随便一点数据就好几兆!
- 怎样让窗口不闪烁??
- 求教:DataGrid的行数的限定。
.NET Delegates: Making Asynchronous Method Calls in the .NET Environment
http://msdn.microsoft.com/msdnmag/issues/01/08/Async/default.aspx