Posted 17 June 2020, 3:06 pm EST
Hi,
We are using winforms edition(version 4.0.20201.416) of the grid. When moving the form window when the grid is busy doing some operation. Grid gets distorted as shown in the attached document. We get the following exception in the application:
Global exception occurred in Schedule Editor:
System.NullReferenceException: Object reference not set to an instance of an object.
at C1.Win.C1TrueDBGrid.BaseGrid.View.DrawEmptyCells(PaintEventArgs e)
at C1.Win.C1TrueDBGrid.BaseGrid.View.DrawCells(PaintEventArgs e)
at C1.Win.C1TrueDBGrid.BaseGrid.View.OnPaint(PaintEventArgs e)
at C1.Win.C1TrueDBGrid.Split.OnPaint(PaintEventArgs e)
at C1.Win.C1TrueDBGrid.BaseGrid.ViewList.OnPaint(PaintEventArgs e)
at C1.Win.C1TrueDBGrid.BaseGrid.Frame.OnPaint(PaintEventArgs e)
at C1.Win.C1TrueDBGrid.C1TrueDBGrid.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 C1.Win.C1TrueDBGrid.BaseGrid.Frame.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)