LoganLehman

[VB.NET] Raising an event in DockableWindow, Handling it in another.

Discussion created by LoganLehman on Mar 26, 2012
Hey guys,

As stated in the title of this post, I am trying to use RaiseEvent in one dockable window and handle it in another. Specifically, I am trying to open a small window that allows the person to enter details and add it as a ListItem in a ListView another DockableWindow. This wouldn't be too difficult in regular WinForms, because I could call a new instance of a form. In ArcObjects although, the dockable windows are actually user controls, making it difficult to reference the instance of the control that is running at the exact time. The RaiseEvent won't even fire.

So has anyone handled this before? If not, is there a way to use a modal form window instead of a modeless dockable one?

Outcomes