DekGenius.com
Previous Section  < Day Day Up >  Next Section

Recipe 3.10 Creating Delegate Methods

3.10.1 Problem

You want to create a delegate method for a field.

3.10.2 Solution

Select the field's declaration, and then select Source Generate Delegate Methods.

3.10.3 Discussion

When 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
figs/ecb_0313.gif


    Previous Section  < Day Day Up >  Next Section