Pocket PC Addict Forums



» BoxWave
BoxWave Corporation
» More Resources

Welcome to the Pocket PC Addict Forums!

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, download files, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   Pocket PC Addict Forums > General Discussion > Pocket PC Tips

view more in our Photo Gallery...

Pocket PC Tips You know how it works. But do you what to know how to make it better? Check out some hot tips for the Pocket PC here.

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 11-01-2004, 11:36 AM
Brad Isaac's Avatar
Honorary Addict!
Extraordinary Addict!
 
Join Date: Jan 2002
Location: North Carolina
Posts: 5,193
Downloads: 0
Uploads: 0
Dev Tip: Event Handlers in .NET CF - demystified

If you are a developer for any platform, you are probably familiar to one extent or another in the concept of "Event Handlers". Yes, those little button clicks, keypresses, etc. allow your users to tell your program what to do. However, it sometimes isn't so easy to implement an event handler when you deviate from the norm. That's why Alex Feinman has written Event handlers in the .NET Compact Framework – demystified and explained for OpenNETCF.org.
"In Compact Framework quite a few things are implemented differently from the full framework. Among those things are event handlers. Among the questions asked about event handlers are:
· I want to simulate button click. How do I invoke a multicast event handler belonging to that button?
· I want to remove all event handlers from my control Click event. How do I do that?
· How do I see, which objects have registered event handlers with my class’ event
With a little bit of luck and help from System.Reflection it is possible to address all of the above needs. But let’s first take a look at the event implementation in CF. "
__________________
Experts say 97% of people get goal setting wrong. Here's how to get it right!
Reply With Quote
Sponsored Links
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 06:50 PM.




Content Relevant URLs by vBSEO 3.3.0
All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2006 by Pocket PC Addict