About Me

My photo
santrampur, gujarat, India
i am a hunger of knowledge

Wednesday, December 29, 2010

Explain event and event handlers

*      The control classes such as buttons and edit boxes expose standard windows events such as click, key press, mouse move, drag drop and others.

*      You can work with an event in your application using delegates.

*      You do not have to understand delegates in great detail to work event handless in an application.

*      However, understanding how to create and use delegates is useful if you are building controls. Working with other application that trigger events or are using there ads with WFC components.

*      It is also interesting if you want to understand the details of the java code created by the forms designer

*      This section provides some background on delegates and then addresses the practical aspects of handling events.

If you want to handle events for multiple controls or multiple events for the same control, you request a separate notification for each control event combination you can use the source object passed to the event handler to get detail about.

Which button was clicked

ü      Event driven programming

WINDOW APPLICATION

            Allows you to create the windows, dialog boxes and controls in your application you draw and view controls on a form. While you are designing a form
           
   Each form window has maximized, minimize and close button.

ü      You can create either fixed or movable forms. The form you design will have the same features at designs time and as run time unless you specify otherwise in the forms properties.

ü      Use the buttons in the toolbox to draw controls on the form.

ü      Use the form layout window command from the view menu to preview the layout of your form on a screen.

ü      The basic unit of the windows application is the form.

No comments:

Post a Comment