using MicroFour.StrataFrame.Business;
namespace SomeNamespace{ public class SomeClassHandlingTheNavigatedEvent { private void AddHandlerToBusinessObject(BusinessLayer bo) { bo.Navigated += new BusinessLayer.NavigatedEventHandler(this.MyNavigatedHandlingMethod); }
private void MyNavigatedHandlingMethod(NavigatedEventArgs e) { //-- Do whatever you want with the e.[properties] // as they will contain the indexes and such } }}The difference here is that you use the constructor of the event handler and pass the name of the method you want to execute. Then, when the business object wants to fire it's Navigated event, it will call your method.
Also, if you've dropped a business object on a form, you can easily add a new event handler by going to the property sheet for the business object and clicking the events tab (the little lightning bolt at the top of the property sheet). Scroll down to the Navigated event and double-click it. The designer will add the handler and take you to the code file to the method that it created for you.