Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
990
Error with DockManager when closing form
posted

Hi!

I use ultradockmanager version 10.3.20103.1000. I found a very strange bug that happens sometimes when we closed a form that use it. We have two panels Docked left and tabbed together. Then we also have two others panels docked right with vertical split. When I close the form, I get the following stack trace :

 

************** Exception Text **************

System.ArgumentException: Value must be at least 0

   at Infragistics.Win.UltraWinDock.Margins.set_Bottom(Int32 value)

   at Infragistics.Win.UltraWinDock.DockableGroupPane.get_ContentsMargins()

   at Infragistics.Win.UltraWinDock.DockablePaneBase.InternalProcessPaneSize(Boolean enforceMinMax, Size newSize, Size displaySize)

   at Infragistics.Win.UltraWinDock.DockableGroupPane.InternalProcessPaneSize(Boolean enforceMinMax, Size newSize, Size displaySize)

   at Infragistics.Win.UltraWinDock.DockAreaPane.InternalProcessPaneSize(Boolean enforceMinMax, Size newSize, Size displaySize)

   at Infragistics.Win.UltraWinDock.DockablePaneBase.ProcessPaneSize(Boolean enforceMinMax, Size newSize)

   at Infragistics.Win.UltraWinDock.DockablePaneBase.set_Size(Size value)

   at Infragistics.Win.UltraWinDock.WindowDockingArea.SetPaneDisplaySize()

   at Infragistics.Win.UltraWinDock.WindowDockingArea.OnResize(EventArgs e)

   at System.Windows.Forms.Control.OnSizeChanged(EventArgs e)

   at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)

   at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height)

   at System.Windows.Forms.Control.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)

   at System.Windows.Forms.Control.System.Windows.Forms.Layout.IArrangedElement.SetBounds(Rectangle bounds, BoundsSpecified specified)

   at System.Windows.Forms.Layout.DefaultLayout.SetDock(IArrangedElement element, DockStyle value)

   at System.Windows.Forms.Control.set_Dock(DockStyle value)

   at Infragistics.Win.UltraWinDock.UltraDockManager.VerifyFillPane(Boolean reset)

   at Infragistics.Win.UltraWinDock.DockControlBase.SetVisibleCore(Boolean value)

   at System.Windows.Forms.Control.set_Visible(Boolean value)

   at Infragistics.Win.UltraWinDock.UltraDockManager.SetControlVisibility(Control control, Boolean isVisible)

   at Infragistics.Win.UltraWinDock.WindowDockingArea.OnSubObjectPropChanged(PropChangeInfo propChange)

   at Infragistics.Shared.SubObjectPropChangeEventHandler.Invoke(PropChangeInfo propChange)

   at Infragistics.Shared.SubObjectBase.NotifyPropChange(PropChangeInfo trigger)

   at Infragistics.Win.UltraWinDock.DockableGroupPane.OnSubObjectPropChanged(PropChangeInfo propChange)

   at Infragistics.Win.UltraWinDock.DockAreaPane.OnSubObjectPropChanged(PropChangeInfo propChange)

   at Infragistics.Shared.SubObjectBase.NotifyPropChange(PropChangeInfo trigger)

   at Infragistics.Win.UltraWinDock.DockablePanesCollection.Remove(DockablePaneBase pane)

   at Infragistics.Win.UltraWinDock.UltraDockManager.ControlPaneRemoved(DockableControlPane pane)

   at Infragistics.Win.UltraWinDock.DockableControlPanesCollection.Remove(DockableControlPane pane)

   at Infragistics.Win.UltraWinDock.DockableControlPane.OnControlDisposed(Object sender, EventArgs e)

   at System.EventHandler.Invoke(Object sender, EventArgs e)

   at System.ComponentModel.Component.Dispose(Boolean disposing)

   at System.Windows.Forms.Control.Dispose(Boolean disposing)

   at DevExpress.XtraGauges.Win.GaugeControlBase.Dispose(Boolean disposing)

   at System.ComponentModel.Component.Dispose()

   at System.Windows.Forms.Control.Dispose(Boolean disposing)

   at Infragistics.Win.ManagedContainerControlBase.Dispose(Boolean disposing)

   at System.ComponentModel.Component.Dispose()

   at System.Windows.Forms.Control.Dispose(Boolean disposing)

   at Infragistics.Win.ManagedContainerControlBase.Dispose(Boolean disposing)

   at System.ComponentModel.Component.Dispose()

   at System.Windows.Forms.Control.Dispose(Boolean disposing)

   at System.Windows.Forms.Form.Dispose(Boolean disposing)

   at System.ComponentModel.Component.Dispose()

   at System.Windows.Forms.Form.WmClose(Message& m)

   at System.Windows.Forms.Form.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)

 

I tried to reproduce the problem in a stand alone with the same settings, but it doesn't happen. I can also say that I restore layout from xml when I open the form.Unfortunately, I don't have much more informations on the problem.

Is this problem tells you something ?

Thanks

Benoit

Parents Reply Children
No Data