< Day Day Up > |
Recipe 3.10 Creating Delegate Methods3.10.1 ProblemYou want to create a delegate method for a field. 3.10.2 SolutionSelect the field's declaration, and then select Source Generate Delegate Methods. 3.10.3 DiscussionWhen you select Source Generate Delegate Methods, you'll see a list of methods for which the field will create delegates, as shown in Figure 3-13. Selecting various methods and clicking OK creates delegates for those methods and inserts them in your code. Figure 3-13. Creating delegate methods |
< Day Day Up > |