Ok--in VB6, to support on-the-fly language changes for our users, we applied a method of loading a list of control translations from a SQL table into a dictionary. Then, for each control in the form.controls collection, based on the control's .Name property (e.g.--mnuFileExit), looked up the control in the dictionary and changed .Caption appropriately.
Now--in .NET, we've noticed that MenuItem objects do not have a .Name property and the .ToString doesn't return what I'm looking for.
Basically, now can I identify a menu option by "name" at run-time?
Does anyone have an idea how to do what I want to do?
Thanks.
Now--in .NET, we've noticed that MenuItem objects do not have a .Name property and the .ToString doesn't return what I'm looking for.
Basically, now can I identify a menu option by "name" at run-time?
Does anyone have an idea how to do what I want to do?
Thanks.