You can handle following events from user plugin
- RefreshGrid
- SaveGrid
public enum PluginEvent { RefreshGrid, SaveGrid } public class PluginEventArgs : EventArgs { public PluginEvent EventType { get; set; } }
To execute the event, first instantiate PluginEventArgs and pass the EventType according to your requirement.
PluginEventArgs arg = new PluginEventArgs(); arg.EventType = PluginEvent.RefreshGrid; OnExecute(null, arg);