private void gridViewPendientes_ShowGridMenu(object sender, GridMenuEventArgs e)
{
// Check whether a row is right-clicked.
if (e.MenuType == GridMenuType.Row)
{
//Clear Items from a Menu
e.Menu.Items.Clear();
//Create a new MenuItem
DXMenuItem Nuevo = new DXMenuItem();
Nuevo.Caption = "Nuevo Proyecto";
//Activa the EventHandler
Nuevo.Click += new EventHandler(Nuevo_Click);
//Add to the menu
e.Menu.Items.Add(Nuevo);
DXMenuItem Agregar = new DXMenuItem();
Agregar.Caption = "Agregar a Proyecto";
Agregar.Click += new EventHandler(Agregar_Click);
e.Menu.Items.Add(Agregar);
}
}