1 client.ValidateUserCompleted +=new EventHandler<ValidateUserCompletedEventArgs>(client_ValidateUserCompleted);
2
3 void client_ValidateUserCompleted(object sender2,ValidateUserCompletedEventArgs e) { MSG = e.Result + "asdfasd"; }
4
请问上面这两句用lambdm表达式怎么写,谢谢
client.ValidateUserCompleted += (sender2, e2) { MSG = e.Result + "asdfasd"; };
感觉像是这么写的
client.ValidateUserCompleted +=(sender,e) => MSG = e.Result + "asdfasd";