コード例 #1
0
 public static void DelRowWithoutDSource(ref SAPbouiCOM.Matrix matrix)
 {
     try
     {
         var lineSelected = matrix.GetCellFocus().rowIndex;
         matrix.DeleteRow(lineSelected);
     }catch (Exception ex)
     {
         klib.Shell.WriteLine(R.Project.ID, LOG, ex);
         SUI.Forms.Notification.SendToBarMessage(true, $"Occur a internal error to delete the line. Matrix {matrix.Item.Description}");
     }
 }