Re: raising events by name
- From: Jon Skeet [C# MVP] <skeet@xxxxxxxxx>
- Date: Sat, 5 Jul 2008 13:29:43 +0100
Cor Ligthert[MVP] <notmyfirstname@xxxxxxxxx> wrote:
As I tried to explain too you, but starting about more things than the wm
message makes it without any need complex, like you showed with your reply.
You were the one who brought up WM messages and indeed the operating
system in the first place, when there's no need. Why did you even
mention WM style messages?
For instance, you certainly won't get a WM_CLICK message occurring in
the server when a button is clicked in a web page.
By the way, you get normally a XXX_Click back, the handling of that is exact
the same as a WM_CLICK (I did this the last time at thursday so I am
completely sure of that).
You get a Click event raised by ASP.NET, but my point is that the
operating system has had very little to do with that.
As you use C# it is just a double click in the event properties of the
button and then there is exactly the same created as in a windows form
(beside the delegate). In VB it is just setting the handler at the method
to the event from the button in the page.
This is irrelevant to the point I was making, which was to counter your
initial claim that: "You are not able to raise up an event, it is
something that comes from the OS."
--
Jon Skeet - <skeet@xxxxxxxxx>
Web site: http://www.pobox.com/~skeet
Blog: http://www.msmvps.com/jon_skeet
C# in Depth: http://csharpindepth.com
.
- References:
- raising events by name
- From: buu
- Re: raising events by name
- From: Cor Ligthert[MVP]
- Re: raising events by name
- From: buu
- Re: raising events by name
- From: Cor Ligthert[MVP]
- Re: raising events by name
- From: Jon Skeet [C# MVP]
- Re: raising events by name
- From: Cor Ligthert [MVP]
- Re: raising events by name
- From: Jon Skeet [C# MVP]
- Re: raising events by name
- From: Jon Skeet [C# MVP]
- Re: raising events by name
- From: Cor Ligthert[MVP]
- raising events by name
- Prev by Date: Re: raising events by name
- Next by Date: Re: Folder Icons in Vista
- Previous by thread: Re: raising events by name
- Next by thread: Re: raising events by name
- Index(es):