Re: Windows Applications Hi,
I overcome the above mentioned error.It s due to , i m trying to load picture in the paint event of the userControl.Here while Paint method is invoked the picture is null.So I checked the picture not null during paint method to avoid this error. |