ALX
Well-known member
'Hard to tell whether to post this here or in GDI...
Including this line in the Load process for one of my forms...
causes an error for an inheriting form in the designer. >>>Object Reference not set to an instance of an object
The program runs OK, it's just that this error makes me uneasy. I have to cut this line from the base form in order to display or work on the inheriting form. I've read Microsoft's discussion about this but they don't offer a fix. I can't think of anywhere else to put this line other that the form Load procedure...
Any ideas ???
Including this line in the Load process for one of my forms...
VB.NET:
AddHandler MyBase.Paint, AddressOf Graph1_Paint
The program runs OK, it's just that this error makes me uneasy. I have to cut this line from the base form in order to display or work on the inheriting form. I've read Microsoft's discussion about this but they don't offer a fix. I can't think of anywhere else to put this line other that the form Load procedure...
Any ideas ???
Last edited: