Glad you asked,
I'm planning on building an extensive menu system for our company. For instance, if the user right clicks a viewport, I'll have a scale view port menu with various scales available and also a rotate viewport with 90, 180, 270 rotation sub menus.
I like the idea of using a switch statement in my event delegates so I don't have to write a freaking event for every item I create. In order to do this I must create my own menu item derived from the autocad one and add either indexing or relevant data. I will have several types of menu extensions - one for each type of object selected - viewports, tables, dynamic blocks, etc.
Obviously each click will perform some function, typically I guess the sub menus may all push the same method with just a different parameter - like the scale viewport one.
So, I have two options - either add a simple index and have the event pass the correct argument to the appropriate method or I could actually store the correct data memebers and call the method using those. For instance the full size viewport scale menu item could contain a scale value of 1, the half size - 0.5 and so on.
Any thoughts on which method would be easier to maintain 2 years from now when they fire me and hire someone who knows what they are doing?
Thanks for allowing me to ramble...