Small app structure review

Posted by Lorenzo on Programmers See other posts from Programmers or by Lorenzo
Published on 2011-03-20T09:43:50Z Indexed on 2011/03/20 16:17 UTC
Read the original article Hit count: 290

Filed under:
|
|

Hi, I would be grateful if someone could review following:
I have a main Form app. OnLoad it displays with Docstyle=Fill the main menu which is done by user control. If the user selects a choice in that Menu control, it fires an event (with one parameter Choice) which main forms reacts on.
If the choice is run the app, it closes the user control (dipose) and call method starting the app. If the choice is to quit, it calls Application.Exit. Is that alright form programmers point of view?

© Programmers or respective owner

Related posts about c#

Related posts about .NET