public void Dispose() { if (!IsDisposed) { m_ndxerContextOriginID?.Close(); m_ndxerCountryInternalCode?.Close(); m_ndxCurrencyName?.Close(); m_ndxerIncotermName?.Close(); m_ndxerMappingProdID?.Close(); m_ndxerMappingProdNber?.Close(); m_ndxerPlaceName?.Close(); m_ndxerProductSubHeading?.Close(); m_ndxerSpotValueMappingID?.Close(); m_ndxerTRLabelProdNber?.Close(); m_ndxerUnitName?.Close(); m_dpContext?.Close(); m_dpCountries?.Close(); m_dpCurrencies?.Close(); m_dpIncoterms?.Close(); m_dpProdMapping?.Close(); m_dpPlaces?.Close(); m_dpProducts?.Close(); m_dpSpotValues?.Close(); m_dpTRLabels?.Close(); m_dpUnits?.Close(); IsDisposed = true; } }
public void Dispose() { if (!IsDisposed) { lock (m_lock) { m_srcCountries?.Close(); m_ndxerCtryName?.Close(); m_ndxerCtryCode?.Close(); m_ndxerCtryIsoCode?.Close(); m_ndxerCncyName?.Close(); m_ndxerIctName?.Close(); m_ndxerLabelProdNber?.Close(); m_ndxerMapProdNber?.Close(); m_ndxerProducts?.Close(); m_ndxerValContext?.Close(); m_ndxerTrLabels?.Close(); m_ndxerTrProdMappings?.Close(); m_srcTRProMappings?.Close(); m_srcPlaces?.Close(); m_srcProducts?.Close(); m_srcValues?.Close(); m_srcSuppliers?.Close(); m_srcUnits?.Close(); m_srcValContext?.Close(); m_srcTRSpotValues?.Close(); IsDisposed = true; } } }
public void Dispose() { if (!IsDisposed) { m_ndxerLabelProdNbers.Close(); m_ndxerMappingProdNbers.Close(); IsDisposed = true; } }
public void Dispose() { if (!IsDisposed) { m_ndxerContext?.Close(); m_ndxerMapProdNber?.Close(); m_ndxerProduct?.Close(); IsDisposed = true; } }
protected override void OnFormClosed(FormClosedEventArgs e) { base.OnFormClosed(e); m_ndxerNames.Close(); }