Seo Forum

Coding & Programming => ASP Forum => Topic started by: beingchinmay on 11-23-2016, 05:34:49

Title: What is an Event?
Post by: beingchinmay on 11-23-2016, 05:34:49
•   An event in C# is a way for a class to provide notifications to clients of that class when some interesting thing happens to an object.

•   An event is a way for a class to allow clients to give it delegates to methods that should be called when the event occurs. The most familiar use for events is in graphical user interfaces.

•   Event Handlers in the .NET Fram  work r  turn void and take two parameters.

•   The first parameter is the source of the   v nt; that is the publishing object.

•   The second parameter is an object   erived from EventArgs.

•   Events are properties of the class publishing the event.

•   The keyword event controls how the event property is accessed by the subscribing classes.
Title: Re: What is an Event?
Post by: damponting44 on 09-23-2017, 04:03:28
event is an action that occurs as a result of the user or another source, such as a mouse being clicked, or a key being pressed.
Example of an Event:
A file being created or modified on a filesystem.
A hardware sensor such as a webcam or microphone receiving sensory input.
Title: Re: What is an Event?
Post by: johnv5 on 01-11-2019, 03:03:08
An event is an action or occurrence such as a mouse click, a key press, mouse movements, or any system-generated notification. A process communicates through events. For example, interrupts are system-generated events. When events occur, the application should be able to respond to it and manage it. Events in ASP.NET raised at the client machine, and handled at the server machine. For example, a user clicks a button displayed in the browser. A Click event is raised. The browser handles this client-side event by posting it to the server. The server has a subroutine describing what to do when the event is raised; it is called the event-handler. Therefore, when the event message is transmitted to the server, it checks whether the Click event has an associated event handler. If it has, the event handler is executed.