Thanks RenderMan. That was helpful just for creating a Tool Palette. But I have inserted a button to the tool palette. On it's click event, I have passed an AutoCAD command which opens a form. But when I close that form using it X close button, the form again pops up. Please help.
Thanks