Differences
This shows you the differences between the selected revision and the current version of the page.
punbb.net:extension_system 2009/02/04 04:19 | punbb.net:extension_system 2020/02/06 11:04 current | ||
---|---|---|---|
Line 4: | Line 4: | ||
Methods of this class can be both EventHandlers and usual functions. | Methods of this class can be both EventHandlers and usual functions. | ||
- | In order to define a class for which you are creating a handler, you should write the following //Method Attribute ExtendClass(Class name)//. | + | In order to define a class for which you are creating a handler, you should write the following Method Attribute //ExtendClass(Class name)//. |
- | In order do define the events you are going to handle, use this code //Method Attribute HandleEvent(Event name)// | + | In order do define the events you are going to handle, use Method Attribute //HandleEvent(Event name)// |
Here is an example of extension, which writes the names of all the controls used on //Default.aspx// page to it after it’s loading has been completed | Here is an example of extension, which writes the names of all the controls used on //Default.aspx// page to it after it’s loading has been completed |