| 1. | An event may be declared as a static event using the 关键字可以将事件声明为静态事件。 |
| 2. | Shows how to define and use static events 说明如何定义和使用静态事件。 |
| 3. | In the example , an event handler reports on the occurrence of the 因为这是一个静态事件,所以您必须在 |
| 4. | On static events , the 对于静态事件, |
| 5. | This makes the event available to callers at any time , even if no instance of the class exists 即使类没有任何实例,调用方也能在任何时候使用静态事件。 |
| 6. | Do not pass null nothing in visual basic as the sender parameter when raising a non - static event 当引发非静态事件时,不要将null (在visual basic中为nothing )作为sender参数进行传递。 |
| 7. | This is applicable only to non - static events on unsealed classes , not to structures , sealed classes , or static events 这只适用于未密封类的非静态事件,而不适用于结构、密封类或静态事件。 |
| 8. | Only one copy of static fields and events exists , and static methods and properties can only access static fields and static events 只存在静态字段和事件的一个副本,静态方法和属性只能访问静态字段和静态事件。 |
| 9. | Because this is a static event , you must detach your event handlers when your application is disposed , or memory leaks will result 因为这是一个静态事件,所以释放应用程序时必须分离事件处理程序,否则会导致内存泄漏。 |