trying to learn wpf

M

mp

in help a button click event is shown as:
private void button1_Click(object sender, System.EventArgs e)
{
// Add event-handler code here.
}
if i add the event in the ide i getprivate void button1_Click(object sender,
RoutedEventArgs e){//Add event-handler code here.}

is the difference because
the help is talking about windows forms, and I'm trying wpf?
 
M

mp

Peter Duniho said:
Yes, that is the basic reason for the difference.

That said, "in help" is pretty vague. There is documentation for WPF that
should show the actual signature you'd see when using WPF. There should
not be much reason if any for you to try to reference the Forms
documentation when writing WPF code.

Pete

Thanks Pete,
I see if i put "event" or "event wpf" in the search box in help(in c#
express) i get different offerings.
I don't see a way to 'limit' or target a search to wpf topics, though i see
i can filter the language for xaml instead of c# so maybe that's equivalent
to filtering for wpf more or less.
from now on i'll know to add "wpf" to the search terms.
Thanks,
Mark
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top