Changes between Version 1 and Version 2 of Listen
- Timestamp:
- 11/22/10 19:56:56 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Listen
v1 v2 14 14 == Grammar == 15 15 {{{ 16 #!cobra 16 17 listen <event>, <method-reference> 17 18 }}} … … 20 21 == Examples == 21 22 {{{ 23 #!cobra 22 24 use System.Windows.Forms 23 25 … … 32 34 Full example showing sig and event declaration and method to raise the event. 33 35 {{{ 36 #!cobra 34 37 35 38 # delegate for ActionEvent <eventName>EventHandler … … 61 64 62 65 {{{ 66 #!cobra 63 67 # Todo example using closure/anonymous method 64 68 }}}