What Is A Event Handler In Event Driven Programming Using VB.NET?


2 Answers

Florio Potter Profile
Florio Potter answered

Event-driven programming is a programming paradigm in which the flow of program execution is determined by events - for example a user action such as a mouse click, key press, or a message from the operating system or another program. An event-driven application is designed to detect events as they occur, and then deal with them using an appropriate event-handling procedure. The idea is an extension of interrupt-driven programming of the kind found in early command-line environments such as DOS, and in embedded systems.

A visual programming IDE such as VB.Net provides much of the code for detecting events automatically when a new application is created. The programmer can therefore concentrate on issues such as interface design, which involves adding controls such as command buttons, text boxes, and labels to standard forms (a form represents an application's workspace or window). Once the user interface is substantially complete, the programmer can add event-handling code to each control as required.

For more information get help at CodeAvail- Online Computer Science Assignment

Anonymous Profile
Anonymous answered
Event Handlers are a central concept in event-driven programming. An event dispatcher is used to process created events within the framework and manages the associations between events and event handlers and may queue event handlers for events later on. Event dispatchers may call event handlers or wait for events with information about the handler to be executed.

Answer Question