I have one custom plugin in which I have one custom form inheriting JiwaFinancials.Jiwa.JiwaApplication.BusinessLogic.Configuration class. Like in other forms such as the Inventory maintenance form, we have SaveEnd, SaveStart, and other events I want to implement one of them in the custom form. The custom business logic class has been implemented as a .NET library and embedded into the plugin as a dllÂ
Although I am getting the events, none of them are working.
- Code: Select all
public partial class WebMaintenance : JiwaFinancials.Jiwa.JiwaApplication.BusinessLogic.Configuration
{
//custom logic
}
And this is how I am trying to use it:
- Code: Select all
if (JiwaBusinessLogic is CustomBusinessLogic.BusinessLogic.WebMaintenance)
{
CustomBusinessLogic.BusinessLogic.WebMaintenance webMaintenance = (CustomBusinessLogic.BusinessLogic.WebMaintenance)JiwaBusinessLogic;
webMaintenance.SaveEnd += delegate (object sender, EventArgs e)
{
};
}