Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

856 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