Sunday, 23 February 2014

Which one of the following code snippets will you use to define an event handler for the click event of a button named bttnSubmit?

Which one of the following code snippets will you use to define an event handler for the click event of a button named bttnSubmit?
1. private int bttnSubmit_Click(object sender,
 
RoutedEventArgs e)
2. private void bttnSubmit_Click(ClickEventArgs e,
  object
sender)
3. private void bttnSubmit_Click(object sender,
 
RoutedEventArgs e)

4. private int bttnSubmit_Click(ClickEventArgs, object
  sender
)

Solution:

3. private void bttnSubmit_Click(object sender,
 
RoutedEventArgs e)

No comments:

Post a Comment