Back to list
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 1
Composite Pattern is the ideal pattern....Your parent form can have list of other forms..
Venkatesh D, Jul 05, 2011
Reply 2
Composite Application Block best suits for this.
Sri P, Jul 05, 2011
Reply 3
Use composite pattern
ur form can contain ist of forms as its object
Nunu Kohli, Jun 30, 2011


Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms     Privacy     Licensing       EULA       Sitemap      
© Data & Object Factory, LLC.
Made with    in Austin, Texas.      Vsn 1.2.2