Hello everyone!
When you start a new application in C# do you create a WindowsApplication project, add your controls in the designer, double click them and enter what should happend in the eventhandler or how do you design your applications
I've searched for simple tips on application design but all I find is advanced documents for enterprise solutions. I want simple tips like, use the Command pattern for all the actions in the application, etc.
Thanks in advance!
-Martin

Application design
user11
It depends on the level of your project and how extensive you want it to be as well as is this a project thats temporary and basically will be used for a few months by an end user and dumped, or is this a project that will be built on and updated
What should actually occur is before you create the windows form project you should write out uml or diagrams of your projects, if you've already done this step then dependent upon your projects needs, you might want to create a Class Project first to handle for your business logic, and then setup your windows application to handle for the UX (User Expierence) logic... As far as When you actually create the forms, events, and properties... It should be how you ideally do it. Personally i just drag all my controls on, then handle the events one by one. But since you already have your Diagrams and plan to build the project you will have good direction into what next to do and so on... Hope this helps.
harlequinben
From the perspective of best practices and such this is probably a good place to look:
http://www.gotdotnet.com/codegallery/releases/viewuploads.aspx id=941d2228-3bb5-42fd-8004-c08595821170
It's for the Smart Client Software Factory. I've only just started looking at it and it is a bit overwhelming just yet. I need to spend a good deal more time reading, poking around at the reference implementations, and playing with it myself. But the idea of it that it actually helps (guides) through the best practice means of doing things.
Spenceee
hi,
those are some videos to give you a good start, but you still need a good book for better understand , http://msdn.microsoft.com/vstudio/express/visualcsharp/learning/default.aspx
one more thing double click the control will provide you the default event for the control, select any control in your form and go to properties tab, you will find at top icon looks like lightening click it you will find all the events this control can handle double click any it will provide you a method for handling this event
hope this helps
nbn
Thanks for your answers, however I pretty much know the basics. What I was looking for was good practices for application design. I've found some webcasts on it however I keep getting a message that they are having technical difficulties and I can't view the webcasts.
-Martin
Musafir
Paul Stovell
hi,
sorry for missunderstanding your question, would you provid the link for those wecasts plz
thanks in advance