I want to assign some object to a Tag property (such as of a checkbox) at design time, I typed something like "object name" in the Tag field in the properties window, but it seems that the compiler understands it as a string not the real object I want to assign to that Tag.
For example, if I want to assign "label1" to checkBox1.Tag, by coding I can do easily as "checkBox1.Tag = label1".
That makes me do the same when designing, I type exactly "label1" in the field "Tag" of the checkBox1 properties window. But the compiler sees it as the string "label1". Haha, it's so funny. Is there any way to do what I want at design time. It's so important to me, if I have to do that by coding, I think I don't need to assign anything to the Tags because I have so many checkBoxes and other controls that need to be assigned some objects to their Tag. The difficulty is I can know what object should be assigned to what control's Tag easily in design windows but not easily when typing assigning code lines to do instead.
I have about 200 controls and all is mixed. (there is no certain order in their names).
Could you please help me!
Thank you so much!