Code in article How To: Creating Dialogs in .NET
Hi,
Doesn't work for me. Using Visual Studio 2003 Enterprise Architect.
http://www.c-sharpcorner.com/Code/2003/Dec/DialogTutorial.asp
When I run the code I get this error:
An unhandled exception of type 'System.NullReferenceException' occurred in WorkingWithDialogs.exe
Additional information: Object reference not set to an instance of an object.
on this line:
TheParentForm.ShowCustomerName(this);
in private void OKButton_Click