Click here to Skip to main content
15,881,204 members
Please Sign up or sign in to vote.
2.67/5 (3 votes)
I have a form with 3 user controls in it. On the left side(of the form) i have place holder for displaying the picture, bottom part of the form will have control showing status messages/errors/warnings.In the remaining part that is in the center of the form I have a tab control showing different pages(Each page has got user controls embedded on it).As per the tab page selected my picture holder should display the corresponding picture and also the corresponding messages/errors/warnings should be displayed in the status bar control.Which design pattern will be suitable for achieving this scenario?
Posted
Comments
PIEBALDconsult 18-Oct-14 23:33pm    
That's not what Design Patterns do.
Sergey Alexandrovich Kryukov 19-Oct-14 0:38am    
Who told you that programming is done by using design patterns?
—SA
BillWoodruff 19-Oct-14 10:25am    
I wish I could vote this Yoda-sentence a +5 !

p.s. Is it a testimony to our times, or my age, that I instinctively wrote "Yoda" rather than "oracular" :) ?
Sergey Alexandrovich Kryukov 19-Oct-14 12:34pm    
I quoted Yoda several times, but not here. Here I did not even though about it. That was my own saying.
What in Yoda would be relevant here?
—SA
BillWoodruff 19-Oct-14 12:59pm    
"What in Yoda would be relevant here?" Antinominal rhetoric, however, in this case, neither anastrophic, or hyperbatonic.

1 solution

As have been said in the comments, there is no real design pattern for what you want to do. As you seem to have a pretty good idea about what you want to do it is just a matter of getting started.
However, you might want use one or more design patterns in the code behind depending on how you get data into your application or if you want to save error information to a log.
Here are some different design pattern definitions http://en.wikipedia.org/wiki/Software_design_pattern[^]

What you could look into is the graphical design and how to make your GUI pleasant to the eye.
The Golden Ratio[^] is considered to be a good way to divide a large window into smaller sections.
The designer's guide to the Golden Ratio[^]
The Golden Ratio in Design, Art and Composition[^]
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 19-Oct-14 14:17pm    
5ed. I just wanted to add that golden ration is the effect of human culture rather then nature of things, but addressing human culture is the basic principle of any design.
Most important thing here is the abuse of the idea of design pattern, or, rather, the trend of brainless use of it.
—SA
George Jonsson 19-Oct-14 15:49pm    
Thanks Sergey
Sergey Alexandrovich Kryukov 19-Oct-14 15:04pm    
Please also see out discussion with Bill in the comments to the question.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900