[Webinar] Streamline your web hosting managementRegister Today

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

Repaint problem in wpf

Hi

I am using wpf application. A Repaint problem in there in one of my user control.
It  was not happening before.

What can be the reason for that? What is the resolution of the problem?

Regards
Karan
0
KaranGupta
Asked:
KaranGupta
  • 4
  • 3
1 Solution
 
CuteBugCommented:
You need to provide more details regarding this problem.
The given information is insufficient to decide upon the reason for your problem.
0
 
KaranGuptaAuthor Commented:
Hi

I am using a wpf windows application in which I am using one user control. This user control acts as a menu (just like start menu in windows). When I login to the system for the first time. Lower part of the control is not visible. But when I click on the control again I am able to see the full control.

So I thought this might be regarding the Onpaint.

Regards
Karan
0
 
CuteBugCommented:
Please provide your OnPaint() code and any other code which you think might be causing the problem.
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
KaranGuptaAuthor Commented:
Hi

I have not written any OnPaint code. Because I was not sure what to write in that block in case of wpf.



Regards
Karan
0
 
CuteBugCommented:
Could you please provide the code for your user control?
0
 
KaranGuptaAuthor Commented:
Hi

I am sorry but I can't provide you the code due to its senstivity. If you can provide me some link that can address this problem that will be great.


Regards
Karan
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

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