Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
On Methods Question
Message
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
On Methods Question
Miscellaneous
Thread ID:
01414827
Message ID:
01414827
Views:
96
In .Net there are methods that start with 'On', such as OnPaint, OnResize.

I know I can call thes methods, but I know very little about them. What are they, when do you use them, and what's the correct way to invoike them - meaning how do you create a propert event args class for the method you're calling?

My form automatically calls OnPaint at certain times, and anytime I call Invalidate(), but if I wanted to call it on my one (or would i?), how do you get the correct arguments?
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Next
Reply
Map
View

Click here to load this message in the networking platform