While I was developing one Windows Forms application, it was required for me to close the popup forms when user will press ESC key. I tried adding the Form’s KeyPress event. It was not working as expected. Then I thought I should write a code to find all the controls to my form and add the KeyPress event programmatically. It supposed to be bad approach as it will trigger all the time.
Then I found a very elegant way to achieve it. There is one property in Form class called CancelButton. So we need to add a button and code there to close it. After that add it as Form’s cancel button and done. But if you have written code to handle ESC key for any other control, this would not work.
Day #1: Project Template Day #2: Page Navigation Day #3: The Back Button Paradigm Day #4: Device Orientation Day #5: System Theming Day #6: Application Bar Day #7: Launchers Day #8: Choosers Day #9: Debugger Tips Day #10: Input Scope (on-screen Keyboard) Day #11: Accelerometer Day #12: Vibration Controller Day #13: Location Services Day #14: Tombstoning Day #15: Isolated Storage Day #16: Panorama Control Day #17: Pivot Control Day #18: WebBrowser Control Day #19: Push Notification API Day #20: Map Control Day #21: Silverlight Toolkit Day #22: Apps vs. Games Day #23: Trial Versions of Your App Day #24: Embedding Fonts Day #25: Talking to Existing APIs (like Twitter) Day #26: Sharing Your App With Other Developers Day #27: Windows Phone Marketplace Day #28: Advertising SDK Day #29: Animations Day #30: Gestures Day #31: Charting
Some of the available finest resources on POCO
Requirements for Creating POCO Proxies
Loading Related POCO Entities
Tracking Changes in POCO Entities
How to: Define POCO Entities
How to: Define a Custom Object Context
How to: Customize Modeling and Mapping Files to Work with Custom Objects
How to: Create a POCO Entity with Proxies
How to: Explicitly Load POCO Entities
How to: Detect Changes in POCO Entities
How to: Change Relationships Between POCO Entities
ADO.NET Team Blog
POCO in the Entity Framework 4 - Part 1
POCO in the Entity Framework 4 - Part 2
POCO in the Entity Framework 4 - Part 3
Great set if ADO.NET Entity Framework FAQ at http://www.ef-faq.org/
If you are a developer PDC is for you and this PDC 2010 has a lot of things for a Developer. You feel boring while downloading one by one. Life is easy as another great developer wrote a tool to do it most elegantly.
Once you have downloaded all of them you can rename them to most readable format at http://peterkellner.net/2010/11/04/pdc10-videos-renaming-script/
List of all sessions are here http://peterkellner.net/2010/11/04/pdc10-videos-renaming-script/
I must say that I never had such a pleasing experience downloading series of content like this.
SQL Server Performance Series – Part 1 – Introduction to Performance Tuning
SQL Server Performance Series - Part 2 - Server and Database Tuning
SQL Server Performance Series – Part 3 – Query and Index Tuning
Presenting Effective Technical Talks http://www.msteched.com/2010/NorthAmerica/SIA334
What’s new in Windows Azure which is coming up next? In PDC 2010 bunch of new features like,
And many more. To find more on it http://www.microsoft.com/windowsazure/pdcannouncements/
I feel strongly that, with VMRole and Remote Desktop migration will be much more easier. We can install and configure 3-rd party components.