SharpUI ToolbarManager Exception


02-12-2007, 8:20 AM

I have an C# application using toolbarmanager. Recently when I double click on a toolbar manager icon at a form designer I get a Null Reference Exeption. I have no way to edit the GUI. What can cause this problem?

The application code didn't changed concerning GUI issues.

Thanks.

Anat

Re: SharpUI ToolbarManager Exception


02-12-2007, 11:22 AM
Anat,

Thank you for the post.  Unfortunately I have am not aware of this being an issue with the toolbar manager and I have not been able to reproduce this error. 

I'd recommend ensuring that you are using the latest SharpUI build available.  You can do this here

If the problem persists after the installation of the latest build and a rebuild or your application you might try saving the layout at run-time and see if you can open the layout in a new project that has only a form with a toolbar manager on it.  If this works you may be able to delete the toolbar manager in the problematic application, drop a new toolbar manager instance on the form/container and then simply load the layout with the new toolbar manager at design-time.

While I am not sure what may have changed in your application to cause this problem this might be the easiest and quickest way to get your project back to the point where you can edit the layout at design-time.

I hope this information helps you .  Please let me know if I can be of further assistance.  Thank you.