toollbox control problem

Jul 15, 2011 at 11:32 AM


In DemoRibbon when I doubleclick on any of the item in the toolbox control (IDW for example) the program gives the message bellow:

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at DotSpatial.Controls.ToolManager.OnDoubleClick(EventArgs e) in C:\DotSpatial_29eb17f63168\DotSpatial.Controls\DotSpatial.Controls\ToolManager.cs:line 496
   at System.Windows.Forms.TreeView.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)  ...

What is wrong? Thanks for any help, Vojko