Author: AppDevForMe | Posted on: 7/10/2008 3:14:04 PM | Views : 585

Can someone help me out. I am maintaining some code and I don't know what it does. Below is the code. It looks like they are creating event handlers for some drop down list controls, but I am not sure.I see the word Delegate in the code. I have hear of the event delegation model. I don't know what that does?

 

  //Subscribe to some events
        qtrSelector.QuarterSelected += new controls_quarterSelector.QuarterSelectedDelegate(OnQuarterSelected);
        targetselector.OnSubItemSelected += new controls_selectItem.SubItemSelectedDelegate(targetselector_OnSubItemSelected);
        targetselector.OnItemSelected += new controls_selectItem.ItemSelectedDelegate(targetselector_OnItemSelected);
        targetselector.OnDivisionSelected += new controls_selectItem.DivisionSelectedDelegate(targetselec ...

Go to the complete details ...