Y
YYZ
In my program, a user can open up many different "Loans" -- each one is
loaded into a dynamically created usercontrol (ucLoan) -- in order for
them to be able to switch between the ones they have open, I have added
a Window menu item -- just like in Word or any one of a thousand
different applications.
Each Loan has a unique GUID, and I could easily enumerate all of the
ucLoan controls on the main form and check their GUID property to find
the one that I want...however, the MenuItem object doesn't seem to have
a property I can use to store this guid...no tag, etc. Am I missing
something?
Assuming that that is true, how would any of you go about doing this?
What I really need is a way to associate a menu item with a certain
control on my form -- dynamically, of course. The text of the menu
item needs to be understandable by my users, so I don't want to put a
GUID in the text.
Matt
loaded into a dynamically created usercontrol (ucLoan) -- in order for
them to be able to switch between the ones they have open, I have added
a Window menu item -- just like in Word or any one of a thousand
different applications.
Each Loan has a unique GUID, and I could easily enumerate all of the
ucLoan controls on the main form and check their GUID property to find
the one that I want...however, the MenuItem object doesn't seem to have
a property I can use to store this guid...no tag, etc. Am I missing
something?
Assuming that that is true, how would any of you go about doing this?
What I really need is a way to associate a menu item with a certain
control on my form -- dynamically, of course. The text of the menu
item needs to be understandable by my users, so I don't want to put a
GUID in the text.
Matt