有人可以解釋這個C#代碼在做什麼?這個活動是什麼?
// launch the camera capture when the user touch the screen
this.MouseLeftButtonUp += (s, e) => new CameraCaptureTask().Show();
// this static event is raised when a task completes its job
ChooserListener.ChooserCompleted += (s, e) =>
{
//some code here
};
我知道CameraCaptureTask是一類,具有一個公共方法展()。這是什麼樣的事件?什麼是(s, e)
?
甚至更老的時尚沒有Handle_MouseLeftButtonUp的類型推斷; – 2011-08-18 21:55:15