Click here to Skip to main content
15,921,841 members
Home / Discussions / C#
   

C#

 
QuestionDisable/Remove 'Move' menu from System Menu Pin
Xmen Real 18-Jun-10 14:46
professional Xmen Real 18-Jun-10 14:46 
AnswerWorkaround Pin
Xmen Real 19-Jun-10 3:21
professional Xmen Real 19-Jun-10 3:21 
QuestionCreating a new user control using decorator pattern Pin
Berlus18-Jun-10 7:36
Berlus18-Jun-10 7:36 
AnswerRe: Creating a new user control using decorator pattern Pin
Ennis Ray Lynch, Jr.18-Jun-10 7:49
Ennis Ray Lynch, Jr.18-Jun-10 7:49 
GeneralRe: Creating a new user control using decorator pattern Pin
Berlus18-Jun-10 8:25
Berlus18-Jun-10 8:25 
GeneralRe: Creating a new user control using decorator pattern Pin
Ennis Ray Lynch, Jr.18-Jun-10 9:09
Ennis Ray Lynch, Jr.18-Jun-10 9:09 
AnswerRe: Creating a new user control using decorator pattern Pin
T M Gray18-Jun-10 8:33
T M Gray18-Jun-10 8:33 
GeneralRe: Creating a new user control using decorator pattern Pin
Berlus18-Jun-10 11:07
Berlus18-Jun-10 11:07 
Thanks for your answer, it is execatly what I was aiming for, beacause I need some help understanding the pattern.

I've looked up decorator pattern in wikipedia, and i quote:

http://en.wikipedia.org/wiki/Decorator_pattern

"In object-oriented programming, the decorator pattern is a design pattern that allows new/additional behaviour to be added to an existing object dynamically."

dynamically, as you said.

but in the motivation part:

"As an example, consider a window in a windowing system. To allow scrolling of the window's contents, we may wish to add horizontal or vertical scrollbars to it, as appropriate. Assume windows are represented by instances of the Window class, and assume this class has no functionality for adding scrollbars. We could create a subclass ScrollingWindow that provides them, or we could create a ScrollingWindowDecorator that adds this functionality to existing Window objects. At this point, either solution would be fine."

which seemed like what i'm trying to do.

Thanks, Berlus
GeneralRe: Creating a new user control using decorator pattern [modified] Pin
Berlus18-Jun-10 11:09
Berlus18-Jun-10 11:09 
GeneralRe: Creating a new user control using decorator pattern Pin
DaveyM6918-Jun-10 11:14
professionalDaveyM6918-Jun-10 11:14 
GeneralRe: Creating a new user control using decorator pattern Pin
Berlus18-Jun-10 11:18
Berlus18-Jun-10 11:18 
GeneralRe: Creating a new user control using decorator pattern Pin
Luc Pattyn18-Jun-10 11:58
sitebuilderLuc Pattyn18-Jun-10 11:58 
GeneralRe: Creating a new user control using decorator pattern Pin
T M Gray18-Jun-10 11:41
T M Gray18-Jun-10 11:41 
GeneralRe: Creating a new user control using decorator pattern Pin
Berlus18-Jun-10 12:17
Berlus18-Jun-10 12:17 
Questionalways visible splash screen Pin
Jassim Rahma18-Jun-10 6:54
Jassim Rahma18-Jun-10 6:54 
AnswerRe: always visible splash screen Pin
Henry Minute18-Jun-10 7:11
Henry Minute18-Jun-10 7:11 
GeneralRe: always visible splash screen Pin
Luc Pattyn18-Jun-10 8:18
sitebuilderLuc Pattyn18-Jun-10 8:18 
GeneralRe: always visible splash screen Pin
Henry Minute18-Jun-10 8:20
Henry Minute18-Jun-10 8:20 
AnswerRe: always visible splash screen Pin
Muammar©18-Jun-10 8:06
Muammar©18-Jun-10 8:06 
Questiondetermine sql server 2008 express size Pin
Jassim Rahma18-Jun-10 6:12
Jassim Rahma18-Jun-10 6:12 
AnswerRe: determine sql server 2008 express size Pin
dan!sh 18-Jun-10 6:24
professional dan!sh 18-Jun-10 6:24 
AnswerRe: determine sql server 2008 express size Pin
Henry Minute18-Jun-10 7:13
Henry Minute18-Jun-10 7:13 
GeneralRe: determine sql server 2008 express size Pin
Jassim Rahma19-Jun-10 5:20
Jassim Rahma19-Jun-10 5:20 
GeneralRe: determine sql server 2008 express size Pin
Henry Minute19-Jun-10 5:45
Henry Minute19-Jun-10 5:45 
QuestionConsole is showing up with GUI Pin
muteb18-Jun-10 5:03
muteb18-Jun-10 5:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.