Saturday, 14 September 2013

vb.net how to access embedding form?

vb.net how to access embedding form?

Im writting a dll which inherits a listbox and want to access the form of
the project which is using my library.
So Let's say you have a project 'bla' and a form 'form1' which uses my
lib. Is there any way to acces 'form1'?
I need this, because I want to add more controls to 'form1' than just my
modified listbox.
So I'm looking for something like:
EmmbeddingForm.Controls.Add(ButtonBla)
Thanks for any help!

No comments:

Post a Comment