Solved

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

Posted on 2009-04-05
3
175 Views
Last Modified: 2012-05-06
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
Comment
Question by:ddepuemd
3 Comments
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 24075196
It happens in a program i developed as well. It gets ok if you minimize and then restore the window.
0
 
LVL 96

Accepted Solution

by:
Bob Learned earned 500 total points
ID: 24077095
I would think that you would need to Invalidate the DataGridView, or the entire form, to force it to repaint...
0
 

Author Closing Comment

by:ddepuemd
ID: 31566811
Yup, the is the solution.  Thank you!  I simply made it not visible then visible again and everything repaints nicely.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
A short film showing how OnPage and Connectwise integration works.
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now