event is supposed to be fired when a certain form is about to be closed. According to the provided information it is difficult for me to understand completely what is the exact requirement that you are trying to achieve.
In order to activate a certain form, you can use the RadDock.ActivateWindow
method passing the HostWindow
of the respective form. Note that the activating and closing of the form will be executed very fast. That is why you may block the UI thread. Please refer to the following code snippet which result is illustrated in the attached gif file:
.FormClosing += MainForm_FormClosing;
i = 0; i < 5; i++)
RadForm childForm =
"MDI Child "
sender, FormClosingEventArgs e)
.radDock1.DockWindows.Count != 0)
However, if it is not the case, it would be greatly appreciated if you specify in details what is the exact goal that you are trying achieve. Thus, we would be able to think about a suitable solution and assist you further. Thank you in advance.
I hope this information helps. If you need any further assistance please don't hesitate to contact me.
Dess | Tech Support Engineer, Sr.
Get quickly onboarded and successful
with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.