473,386 Members | 1,773 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Which design pattern for this problem?

Hi,

I'm making a a .net 2.0 gui application. In one screen the app needs
fill a groupbox with many different kind of ui controls (listboxes,
editboxes, comboboxes, labels, buttons) according to set of rules.

So the question goes: What is the best design pattern for this kind of
a situation?

Thanks for any suggestion,

-pom-

Oct 4 '06 #1
3 1011
"pompair" <ti*******@gmail.coma écrit dans le message de news:
11**********************@h48g2000cwc.googlegroups. com...

| I'm making a a .net 2.0 gui application. In one screen the app needs
| fill a groupbox with many different kind of ui controls (listboxes,
| editboxes, comboboxes, labels, buttons) according to set of rules.
|
| So the question goes: What is the best design pattern for this kind of
| a situation?

Class Factory.

Joanna

--
Joanna Carter [TeamB]
Consultant Software Engineer
Oct 4 '06 #2
>
Class Factory.
Thanks Joanna for the hint. I'll look into that. I presume you are
referring to "Factory Method", because I didn't find a pattern with
that name from GoF Design Pattern reference...?

-pom-

Oct 4 '06 #3
"pompair" <ti*******@gmail.coma écrit dans le message de news:
11**********************@i42g2000cwa.googlegroups. com...

| Thanks Joanna for the hint. I'll look into that. I presume you are
| referring to "Factory Method", because I didn't find a pattern with
| that name from GoF Design Pattern reference...?

Sorry, the GoF book calls it Abstract Factory.

Joanna

--
Joanna Carter [TeamB]
Consultant Software Engineer
Oct 4 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: FluffyCat | last post by:
In Febraury - April of 2002 I put together in Java examples of all 23 of the classic "Gang Of Four" design patterns for my website. Partly I wanted to get a better understanding of those patterns....
2
by: Magdelin | last post by:
I am trying to implement the front controller web presentation design pattern proposed by MS at the following link: http://msdn.microsoft.com/practices/type/patterns/enterpris...
16
by: sailor.gu | last post by:
Hi all guys, As an embeded programmer with five year C experience, I did read many great books related with design, coding, test,debug,algorithms, compiler, design, os, pm and others. I...
4
by: Guch Wu | last post by:
I want to design an image processing class as follow: class Image { Image Data; General Image Operations; read(filename, File_Type); write(filename, File_Type); };
22
by: Krivenok Dmitry | last post by:
Hello All! I am trying to implement my own Design Patterns Library. I have read the following documentation about Observer Pattern: 1) Design Patterns by GoF Classic description of Observer....
7
by: sunny | last post by:
Hai, can anyone implemen this problem.I am unable to implement.i tried but i am going out of the design pattern. Implement the Factory Design Pattern for the following scenario: Base class =...
0
by: Frankie | last post by:
Where and how in the design process do you bring patterns (as formalized by the GoF) into play? In particular, after identifying specific feature requirements, do you... ONE: go hunting (quick...
8
by: =?Utf-8?B?eWRibg==?= | last post by:
I need to write a program validate a text file in CSV format. So I will have a class DataType and a lot of of derived class for various type, e.g. IntType, StringType, FloatType, MoneyType,...
6
by: perhapscwk | last post by:
.... ... ... Both of the procedures have repeating sections of code: sending an e-mail and adding a log entry. Task: *1.Select a design pattern (substantiate your choice) that would allow...
4
by: Pallav singh | last post by:
Hi , when should i select Factory Method / Prototype Design Pattern during my design phase ?? as both look similar to me Thanks in Advance Thanks Pallav
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.