Views: 13.7K
Replies: 3
Archived
|
Which Design Pattern do I need for this?Hi,
I am building a WinForm application. I have a Main Form that contains many many other Forms with the same functionality except the name and the database connection. I don't know how many forms we'll need to need to create, as they are created dynamiclly by the user. (Add method from the Main Form). I suspect there is a Design Pattern for this... Does anyone have a suggestion? Thanks David Kt, Jun 14, 2011
|
|
Reply 1Composite Pattern is the ideal pattern....Your parent form can have list of other forms..
Venkatesh D, Jul 05, 2011
|
|
Reply 2Composite Application Block best suits for this.
Sri P, Jul 05, 2011
|
|
Reply 3Use composite pattern
ur form can contain ist of forms as its object Nunu Kohli, Jun 30, 2011
|