Event Delegates and Private scope

  • Thread starter Thread starter Kevin Spencer
  • Start date Start date
Out of curiosity:

If I create an event delegate for an object (say, a DataGrid) using VS.Net
2003's dropdown boxes (select object, then say, DeleteCommand), the default
scope is Private.

This throws an error because the scope of the procedure is too narrow. I
hate having to remember to change it to protected... is this a bug, or a
"feature"?
 
Back
Top