I'm right at the start of designing a small E:Mail control program for a friend, but would just like to ask some advice on best practice before I dive in at the deep end.
I have a Form with 2 ComboBoxes and the data selected decides what to send, what attachments to include and a SQL-Server database look-up will ascertain who to send the E:Mails to. This is currently designed in VS2010 Form Design, not in the code.
I now want to add a Toolstrip with the following buttons : "Send Mail" (this is the current & main form), "Preferences", "Housekeeping" (Database maintenance) ...
So ... When the user chooses "Preferences" or "Housekeeping", should I hide my Main Form & display a new Form, then if he chooses "Send Mail" again, I hide this new Form & re-open the hidden Main Form ... ad infinitum so that there are 1 - 3 Forms but only one is visible at any time ...
Or ... Should I have just a single Form and I rebuild it in the code every time a Button is clicked ?