Solved

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

Posted on 2009-04-05
3
174 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

758 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

19 Experts available now in Live!

Get 1:1 Help Now