Beispiel #1
0
 /// <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);
     }
 }
Beispiel #2
0
 private void OnFillContextMenu(object sender, CsUnitControlEventArgs args) {
    Command.FillContextMenu(args.Menu, args.ElementInfo);
 }
Beispiel #3
0
 /// <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);
    }
 }