user control in c# windows applications
when creating user control in window forms, generating following error.... how can solve it...
"Code generation for property 'SearchKey' failed. Error was: 'Property accessor 'SearchKey' on object 'ucTextBox1' threw the following exception:'Object reference not set to an instance of an object.'"
'SearchKey' is property name added in the user control.
'ucTextBox1' is name of user control.