The concept of programming process of events
Before you start writing a program through the language of visual basic you should know the meaning of the march of events programmingWindows programming called the march of events and programming event is Maigom by the user acts on the program, such as pressing a button, or choose a command from a list or move the mouse or press a key from the keyboardWhen an event is a Windows event to deliver the program in this moment and give him the message about the nature of the event, which occurred within the limits of his windowThe program analyzes the message and take action it deems appropriate for the event and after the end of the operating system regains control
Not necessarily the program responds to all events, for example, move the mouse over the window of the program is there but not necessarily that the program responds to this event, except in the window of the drawing
When designing your program you need to know the concept of programming the march of events
And to design the program to be showcased on the user different options and gives him the freedom to choose and act and move from one window to another and then return and this will not come except that designed your program so that responds to the events of the various condition of a people by the user and not as unbroken chain of instructions Implemented from beginning to end
The programming process of events leading to the fragmentation of the program into several parts each of which responds to a particular event so we are writing code for each part independently and Visual Basic to facilitate our process as it is dividing the program into several parts, each part is called an all a specialized event on a particular tool
0 comments:
Post a Comment