L
Lloyd Dupont
I have a problem with one of my new form.
apparently I do something wrong. at some time.
anyway when I leave the screen (hide it, show an other)
I have an InvalidCastException
what's really puzzling is that the bug is Application.DoEvents() ...
I have no clue, whatsoever of the reason of the bug !
any idea how I could figure it out ?
here is my stack trace up to DoEvents()
what is strange is that it display without any problem but when I leave
System.Windows.Forms.dll!System.Windows.Forms.Control.WnProc(int hwnThis =
2359393, AGL.Form.WM wm = WM_PAINT, int wParam = 0, int lParam = 0) + 0x17e
bytes
System.Windows.Forms.dll!System.Windows.Forms.Control._InternalWnProc(int
hwnThis = 2359393, AGL.Form.WM wm = WM_PAINT, int wParam = 0, int lParam =
0) + 0xb bytes
System.Windows.Forms.dll!AGL.EVL.Yield()
System.Windows.Forms.dll!System.Windows.Forms.Application.DoEvents() + 0x6
bytes
apparently I do something wrong. at some time.
anyway when I leave the screen (hide it, show an other)
I have an InvalidCastException
what's really puzzling is that the bug is Application.DoEvents() ...
I have no clue, whatsoever of the reason of the bug !
any idea how I could figure it out ?
here is my stack trace up to DoEvents()
what is strange is that it display without any problem but when I leave
System.Windows.Forms.dll!System.Windows.Forms.Control.WnProc(int hwnThis =
2359393, AGL.Form.WM wm = WM_PAINT, int wParam = 0, int lParam = 0) + 0x17e
bytes
System.Windows.Forms.dll!System.Windows.Forms.Control._InternalWnProc(int
hwnThis = 2359393, AGL.Form.WM wm = WM_PAINT, int wParam = 0, int lParam =
0) + 0xb bytes
System.Windows.Forms.dll!AGL.EVL.Yield()
System.Windows.Forms.dll!System.Windows.Forms.Application.DoEvents() + 0x6
bytes