PropertyGrid control issue in Windows7

Posted by Mahesh on Stack Overflow See other posts from Stack Overflow or by Mahesh
Published on 2012-05-30T16:31:31Z Indexed on 2012/05/30 16:41 UTC
Read the original article Hit count: 183

Filed under:
|
|
|

I have an issue with the Windows Forms PropertyGrid control. I have customized the PropertyGrid control and override only OnPaint function.

protected override void OnPaint(PaintEventArgs pe)
{               
    base.OnPaint(pe); 
} 

In my application I have few more controls (treeview, custom control and few form controls). When I mouseclick on the PropertyGrid control, the paint function in all the controls in the screen are being called continuously and the treeview starts flickering. This happens only in mouseclick event.

© Stack Overflow or respective owner

Related posts about .NET

Related posts about winforms