Home  /  Questions  /  Question



0   0
Jan 06, 2016


Command Pattern in WinForm example

Hi,

How can I implement a command pattern inside a Winform application using menu items like the Winform example of the framework? I was searching in the code and I did not see a Command Pattern implementation.

What it is the best advice for menu item inside a Win Form app?

Thanks,



508   99.9
Jan 09, 2016
Janus: 

I would do some research on the web. You will find implementations and then apply these to your own work.

Here is an interesting article: http://www.codeproject.com/Articles/115978/An-implementation-of-Command-pattern-in-C
And this one may be of help too: http://stackoverflow.com/questions/15047/looking-for-example-of-command-pattern-for-ui

Hope this gets you started.