View Single Post
Old 03-05-2009, 02:55 PM   #2 (permalink)
Zweiblumen
Insane
 
Location: at home
C and C# are VERY diffrent things.
Following assumes C# and windows enviroment.
The IDE usually generates code behind the scene for the event handling.

Here is what Visual Studio generates for a button on a windows form
this.button1 = new System.Windows.Forms.Button();
this.button1.Click += new System.EventHandler(this.Click);


Vola!, now the procedure Click in button1 will be fired when the button is clicked.

Hope this is of some help
Yours
Zweiblumen
__________________
Sodomy non sapiens. : I'm buggered if I know
Zweiblumen is offline  
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62