internal delegate void MethodInvoker<T>(T parameter1); 帮忙看下吧 谢了
界面代码:
internal void Cancel() { this.Invoke(new MethodInvoker(this.Close), null); } public void Cancel() { this._GUI.Invoke(new MethodInvoker<????>(this._GUI.Cancel),null);//这里面的类型怎么写? //看了一下说明:类型必须与参数的返回类型一样,它返回void 应该怎么写呢? }internal delegate void MethodInvoker<T>(T parameter1);