Re: Looping thru components




> I can do the first part, but I'm wondering how to do the second part, in
> other words, how do I find the corresponding pair? Lots of String
> Searching?

I would create each pair on it's own panel. (Possibly in code). Then it
is easy enough to go x.parent.controls[0] to get the left control.
You could encapsulate all of this in a custom control that you can use
either at runtime or register and use at design time.

--
Marc

.



Relevant Pages

  • Panel Inside Custom control set to design
    ... "I have a custom control that has a panel inside of it. ... exposed as a control in design time when I place an instance of the custom ... Prev by Date: ...
    (microsoft.public.dotnet.framework.windowsforms.designtime)
  • Re: CompositeControl fails to display in Design view
    ... I have no problem with the Custom Control, It works fine in the browser, It is the design time experience that is not working. ... But here's how i debug ALL my custom controls in real time. ... In Order to debug a Custom Control you need to Start ANOTHER copy of Visual Studio along side your existing one,and pointing it to a test website. ... protected override void LoadControlState ...
    (microsoft.public.dotnet.framework.aspnet.buildingcontrols)
  • RE: Suspend Layout In User Control
    ... custom control are changed, but you wouldn't like the events to be fired at ... design time, even though these properties are changed at design time. ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.framework.windowsforms.controls)
  • Re: update custom control during Design time
    ... When i change a property of my custom control in the property window, i would like to see this change immediately on my custom control at the design time. ... private CGridLine m_GridLines= new CGridLine; ... public Color Color ...
    (microsoft.public.dotnet.languages.csharp)
  • update custom control during Design time
    ... When i change a property of my custom control in the property window, i would like to see this change immediately on my custom control at the design time. ... private CGridLine m_GridLines= new CGridLine; ... public Color Color ...
    (microsoft.public.dotnet.languages.csharp)

Loading