i have windows form and on close button i write following line
this.close();
but when i click on the form it give me an error
""Object reference not set to an instance of an object""
any idea. any urgent help would be highly appreciated!!
Printable View
i have windows form and on close button i write following line
this.close();
but when i click on the form it give me an error
""Object reference not set to an instance of an object""
any idea. any urgent help would be highly appreciated!!
Look at the exception's stack trace. The IDE provides you with plenty of information so make use of it.