design question: how to organize your toolstrips

R

Rudderius

Hey,

I'm working on a winform app in VS 2005. I'm wondering if someone knows
some best practices on how to organize the toolstrips.

I have a menuToolStrip and some other toolstrips. As in many apps, the
functionality of the toolstrip en the menubar overlap. (e.g. cut & copy etc)

The commands I'm using for my application are more complex off course
than just a copy and a paste.

Does someone has an idea on how to organize such things without having
to write twice the same code. The fact is that I want to give the user
the choise to show or hide some of the toolstrips.

Thanks in advance,
Dries
 
K

Kevin Spencer

Create methods that perform the work that the menu handlers are now doing.
Use the handlers to call the functions.

--
HTH,

Kevin Spencer
Microsoft MVP
Professional Numbskull

Hard work is a medication for which
there is no placebo.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top