P1 - Identify the key features of event driven programming such as events, event loops and event handlers
Events – An event occurs when the user interacts with a object. * Usually this means a mouse movement or click * Keyboard actions are also events
An event is the outcome of an action. There are two important terms with respect to events. The event source and the event receiver. The object that raises the event is called event source and the object that responds to the event is called event receiver. (Research1)
Event loops – In computer science, the event loop, message dispatcher, message loop or message pump is a programming construct that waits for and dispatches events or messages in a program
Event handler – An event handler is a procedure in your code that determines what actions are performed when an event occurs, such as when the user clicks any button. When an event is raised, the event handler or handlers that receive the event are executed. Events can be assigned to multiple handlers, and the methods that handle specific events can be changed dynamically. You can also use the Windows Forms Designer to create event handlers.
P2 - Explain how development environment components (e.g. Solution Explorer, Forms, Toolbox, Code Editor, Debugger, and Property Window) simplify the development.
Solution Explorer is an area of the integrated development environment (IDE) that contains your solution and helps you manage your project files. The files are
References: http://www.c-sharpcorner.com/ (Research1) http://www.vb6.us/tutorials/Graphical%20User%20Interface%20%28GUI%29 (Research2)