Event Delegates and Private scope

L

Learning SQL Server

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"?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,014
Latest member
BiancaFix3

Latest Threads

Top