|I have a form that starts with nothing on it.
I am adding controls to the form dynamically at run time.
This is the class declaration for the form.
Public Class foo
Public Sub New()
So here is my question - how do I force the developer to always create a new instance of the form rather than allowing them to refer to it without the
I need to do this as I pick up old instances when I refer back to the form.
At present the developer needs to code.
If the developer codes the following, issues are hit later when old instances are pulled back.
How do I ensure that when the developer codes
fooHelp.filterForm(foo,...) they get an error message?
I feel like I was hit by the silly stick over the weekend and have had not had any luck with google(probably because I don't know how to phrase my question due to the silly stick...).
“That which can be asserted without evidence, can be dismissed without evidence.”
― Christopher Hitchens