C
codemonk
After reading Extreme Programming adventures I am starting to think
more about the design of my applications. I was wondering how I would
structure a new, small VB or C#.NET Windows application.
Instead of calling a startup form I was thinking of calling a class
named after the application with a shared Sub Main and a shared member of
type ApplicationCommand. The Main routine would Application.Run the
Startup form. The startup form and all forms called from the startup form
would have access the the shared member ApplicationCommand that would
contain all the methods necessary to get the information they wanted
(ie: GetCustomerList, GetProductList, GetOrder.)
I was wondering if this is a good or bad design for a small to medium
size business app. I am not sure
anymore. I feel lost.
Questions, questions... hopefully some answers will follow.
Thanks,
CodeMonk
more about the design of my applications. I was wondering how I would
structure a new, small VB or C#.NET Windows application.
Instead of calling a startup form I was thinking of calling a class
named after the application with a shared Sub Main and a shared member of
type ApplicationCommand. The Main routine would Application.Run the
Startup form. The startup form and all forms called from the startup form
would have access the the shared member ApplicationCommand that would
contain all the methods necessary to get the information they wanted
(ie: GetCustomerList, GetProductList, GetOrder.)
I was wondering if this is a good or bad design for a small to medium
size business app. I am not sure
anymore. I feel lost.
Questions, questions... hopefully some answers will follow.
Thanks,
CodeMonk