Corey_819
asked on
Error: Events cannot be set on the object passed to the event binding service because.........
Hello and sorry to be posting a question around errors, but I have looked all over the web for an answer. I have not found a clear answer to why this error happens only in Design time, but not in runtime.
Error:
Events cannot be set on the object passed to the event binding service because a site associated with the object could not be located.
Click on the Error list and this is the line of code that is pointed too:
ainTree.mainTree.NodeMouse Click += new System.Windows.Forms.TreeN odeMouseCl ickEventHa ndler(main Tree_NodeM ouseClick) ;
Error:
Events cannot be set on the object passed to the event binding service because a site associated with the object could not be located.
Click on the Error list and this is the line of code that is pointed too:
ainTree.mainTree.NodeMouse
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER