this.BeginInvoke(new Action(delegate { MessageBox.Show("Asynchronous :D"); }));
System.Action is a framework-defined Delegate successor, that does not return anything and doesn't take any arguments. You should use this, instead of fucking around with inheriting from System.Delegate.
No comments :
Post a Comment