Question

I ai un FlowLayoutPanel (flowParent) sur un formulaire qui héberge une liste de flowlayoutpanels (flowchild1, flowchild2, etc).

à partir du niveau de la forme, comment puis-je ajouter un élément à flowchild1. essentiellement, comment l'enfant référence que je FlowLayoutPanel?

Était-ce utile?

La solution

Vous pouvez conserver la référence lorsque vous ajoutez ce panneau au panneau extérieur, ou utilisez Container.getComponent (int).

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top