Here are the call stacks:
Call Stackat DevExpress.Utils.DirectXPaint.FormDirectXProvider.TryRecreateDirectXDeviceCore()
at DevExpress.Utils.DirectXPaint.DirectCompositionPaint.RecreateDirectXDevice(Boolean forceRecreate)
at DevExpress.Utils.DirectXPaint.DirectXProvider.RecreateDirectXDeviceCore(Boolean forceRecreate)
at DevExpress.Utils.NonclientArea.NonClientAreaManager.DoDirectXDraw(IScrollView viewInfo, DirectXProvider dxProvider)
at DevExpress.Utils.NonclientArea.NonClientAreaManager.ForceRepaintNcElement(IScrollView element)
at DevExpress.XtraEditors.XtraScrollableControl.RepaintNcElement(IScrollView element)
at DevExpress.XtraEditors.ScrollBarViewInfoWithHandlerBaseOld.Invalidate()
at DevExpress.XtraEditors.ScrollBarViewInfoWithHandlerBaseOld.LayoutChanged(Boolean allowDelayed)
at DevExpress.XtraEditors.ScrollBarViewInfoWithHandlerBase.LayoutChanged(Boolean allowDelayed)
at DevExpress.XtraEditors.ScrollBarViewInfoWithHandlerBaseOld.LayoutChanged()
at DevExpress.XtraEditors.ScrollBarViewInfoWithHandlerBaseOld.set_Maximum(Int32 value)
at DevExpress.XtraEditors.XtraScrollableControl.SyncScrollbars()
at DevExpress.XtraEditors.XtraScrollableControl.ApplyScrollbarChanges(Rectangle display)
at DevExpress.XtraEditors.XtraScrollableControl.AdjustFormScrollbars(Boolean displayScrollbars)
at System.Windows.Forms.ScrollableControl.OnLayout(LayoutEventArgs levent)
at System.Windows.Forms.Control.PerformLayout(LayoutEventArgs args)
at System.Windows.Forms.Control.System.Windows.Forms.Layout.IArrangedElement.PerformLayout(IArrangedElement affectedElement, String affectedProperty)
at System.Windows.Forms.ScrollableControl.OnVisibleChanged(EventArgs e)
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at DevExpress.XtraEditors.XtraScrollableControl.WndProc(Message& msg)
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)
Call StackDevExpress.Utils.DirectXPaint.DirectXProvider.ReleaseCompositionChildren()
at DevExpress.Utils.DirectXPaint.DirectXProvider.DestroyDirectXPaint()
at DevExpress.Utils.DirectXPaint.DirectXProvider.TurnToStateReset()
at DevExpress.Utils.DirectXPaint.DirectXProvider.RecreateDirectXDeviceCore(Boolean forceRecreate)
at DevExpress.Utils.DirectXPaint.FormDirectXProvider.TryRecreateDirectXDeviceCore()
at DevExpress.Utils.DirectXPaint.DirectXProvider.EndDraw(DirectXRenderArgs e)
at DevExpress.XtraEditors.DirectXFormBase.OnPaintCore(Graphics g, Boolean isNcGraphics)
at DevExpress.XtraEditors.DirectXFormBase.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at DevExpress.XtraEditors.DForm.WndProc(Message& m)
at DevExpress.XtraEditors.XtraForm.WndProc(Message& msg)
at DevExpress.XtraEditors.DirectXFormBase.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)