I'm using Visual Studio 2010 with C#. Is there a concept in Windows Forms development of somehow linking a label with is text box? Something so that they move together as a unit? In the ASP.NET world, there is the AssociatedControlId property of the label control. I also think I remember MS Access form designer having some way of associating (or linking) labels with controls. Does this feature even exist in Visual Studio world?
If not, how do you group labels with controls such that if you move a text box you don't have to manually move the label also?
There doesn't appear to be a built in one. You can roll your own
Field
class though. Below is a complete example.Here's what the example program looks like on my system: