private void DisposeTable(XRTable _XRTable) { if (!Object.Equals(xrTable_PhuTungKemTheo, null)) { for (int i = 0; i < _XRTable.Rows.Count; i++) { for (int j = 0; j < _XRTable.Rows[i].Cells.Count; j++) { _XRTable.Rows[i].Cells[j].Dispose(); } _XRTable.Rows[i].Dispose(); } _XRTable.Rows.Clear(); _XRTable.Dispose(); } }