What is this event?
        Posted  
        
            by Shawn Mclean
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Shawn Mclean
        
        
        
        Published on 2010-05-16T07:39:39Z
        Indexed on 
            2010/05/16
            7:50 UTC
        
        
        Read the original article
        Hit count: 312
        
c#
Could someone explain what this C# code is doing?
// 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
};
I know that CameraCaptureTask is a class and has a public method Show(). What kind of event is this? what is (s, e)?
© Stack Overflow or respective owner