Welcome to MSDN Blogs Sign in | Join | Help

Kathy Kam

Reflection on the CLR and .NET
Teach myself WinForms and WPF...

In the next two weeks, I will be spending some time to learn WinForms and WPF to expand my .NET knowledge. :) I was a UI dev in Outlook,, so I understand the basic concepts of GDI and Win32 programming. But I haven't used WinForms much at all. WinForms is based on Win32! So this will be interesting. Seeing different parts of .NET for the first time always gives you new perspective.

Before I begin, do you have any advice? What was the most difficult thing for you when you learn WinForms or WPF?

I plan on blogging my experience regularly, and share my insights to everyone!

Posted: Wednesday, September 27, 2006 5:58 PM by KathyKam
Filed under:

Comments

Kris said:

The one thing I find difficult with WinForms is how I structure the application - meaning am I using the MVC model or am I coding it adhoc. MFC for instance provides some amount of structure for your application but with Winforms you are free to choose however you want to do it. Most books demonstrate very small samples, but don't tell how to tackle a big say Financial Winforms application.
# September 29, 2006 12:53 PM

david_douglass said:

One mistake I've seen people make is to put a lot code in the event handlers.  That works for simple SDI apps but becomes a mess in large apps.  Try to create a class or classes that represent the "brains" of the application and have the event handlers call these classes to get work done.

Multi-threaded applications can be a big learning curve.  You need to always be thinking about all the things that are happening at the same time.  Remember that almost any call on a control derived class must be done from the UI thread.
# September 29, 2006 10:03 PM

Kathy Kam said:

So a few posts ago, I said I'll teach myself WinForms. It's been about a month since then... and I want

# October 17, 2006 8:42 PM
Leave a Comment

(required) 

(required) 

(optional)

(required) 

  
Enter Code Here: Required

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Page view tracker