/// <summary> /// Callback executed when a user right-clicks into the control and in the /// context menu should be shown. /// </summary> /// <param name="sender"></param> /// <param name="args"></param> private void OnFillContextMenu(object sender, CsUnitControlEventArgs args) { // Just forward this event if (FillContextMenu != null) { FillContextMenu(sender, args); } }
private void OnFillContextMenu(object sender, CsUnitControlEventArgs args) { Command.FillContextMenu(args.Menu, args.ElementInfo); }
/// <summary> /// Callback executed when a user right-clicks into the control and in the /// context menu should be shown. /// </summary> /// <param name="sender"></param> /// <param name="args"></param> private void OnFillContextMenu(object sender, CsUnitControlEventArgs args) { // Just forward this event if( FillContextMenu != null ) { FillContextMenu(sender, args); } }