Hi Jay,
In the AnalysisForm, please handle the Form''s Closing event as shown in the code below :
private void AnalysisForm_Closing(object sender, System.ComponentModel.CancelEventArgs e)
{
IEnumerator ienum = this.dockingManager1.Controls;
ArrayList dockedctrls = new ArrayList();
while(ienum.MoveNext())
dockedctrls.Add(ienum.Current);
foreach(Control ctrl in dockedctrls)
{
this.dockingManager1.SetEnableDocking(ctrl, false);
ctrl.Dispose();
}
this.dockingManager1.Dispose();
}
Before closing the form, make sure that all the docked controls, and the DockingManager have to be disposed off correctly. The application runs fine when this is done. Please refer to the
modified_sample here. Let me know if this works for you. Thanks for choosing Syncfusion products.
Regards,
Guru Patwal
Syncfusion, Inc.