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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top