how to raise predefined events

  • Thread starter Thread starter raju
  • Start date Start date
R

raju

Hai,

In my device application, i am drawing some icons using drawicon
method in paint event.
In some situation, i need to call the same paint event explicitly. Is
it possible to call the paint event from form's click event.

Thanks in advance.

Regards,
Raju.
 
Raju,

With the change to get a message from Herfried,

TheEvenMethod(nothing,nothing) 'or any thing you need in the sender and/or
the eventarguments

I hope this helps,

Cor
 
raju said:
In my device application, i am drawing some icons using drawicon
method in paint event.
In some situation, i need to call the same paint event explicitly. Is
it possible to call the paint event from form's click event.

Call the form's 'Invalidate', 'Refresh', or 'Update' method.
 
Back
Top