Exemplo n.º 1
0
 private void Button1_ClickAfter(object sboObject, SAPbouiCOM.SBOItemEventArg pVal)
 {
     try
     {
         if (Grid0.Rows.SelectedRows.Count > 0)
         {
             //oUDS = oForm.DataSources.UserDataSources.Item("UD_1");
             string sPago = Convert.ToString(Grid0.DataTable.GetValue(0, Grid0.Rows.SelectedRows.Item(0, SAPbouiCOM.BoOrderType.ot_RowOrder)));
             Comisiones.Agregar_Documento_Grid_Pagos(sPago);
             oForm.Close();
         }
     }
     catch (Exception)
     {
     }
 }