OMG!! What the hell is going on?? Dataviewgrid screwing up big time!

Can anyone tell me why the display of the attached files is happening?  When I display the job panel at first everything is fine.  Then I select another panel that also display a datagridview.  Then when you switch back to the original DGV it looks like crap!  HELP!!  I never expected this kind of display corruption.  What is going on???  When I display a panel that is essentially empty (because I haven't done anything with it yet) the main panel DGV is fine.
Who is Participating?
Bob LearnedConnect With a Mentor Commented:
I would think that you would need to Invalidate the DataGridView, or the entire form, to force it to repaint...
It happens in a program i developed as well. It gets ok if you minimize and then restore the window.
ddepuemdAuthor Commented:
Yup, the is the solution.  Thank you!  I simply made it not visible then visible again and everything repaints nicely.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.