[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 188
  • Last Modified:

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.
original.jpg
joblist.jpg
backtomain.jpg
new-job.jpg
backtomain1.jpg
0
ddepuemd
Asked:
ddepuemd
1 Solution
 
CodeCruiserCommented:
It happens in a program i developed as well. It gets ok if you minimize and then restore the window.
0
 
Bob LearnedCommented:
I would think that you would need to Invalidate the DataGridView, or the entire form, to force it to repaint...
0
 
ddepuemdAuthor Commented:
Yup, the is the solution.  Thank you!  I simply made it not visible then visible again and everything repaints nicely.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now