public void Dispose() { using (var viewLocker = new ViewLocker(m_view)) { m_view.DatasetChanged -= ResetExport; m_view.DatasetChanged -= AllExport; } m_view = null; m_columns = null; ExcelDDEManager.Instance.Close(this); Active = false; if (OnDisposed != null) { OnDisposed(); } }
public ExcelExportDDE(IExportableView view, ExcelDDEExportSettings settings) { m_view = view; m_settings = settings; }
public ExcelExportDDE(IExportableView view, params object[] settings) : this(view, new ExcelDDEExportSettings(settings)) { }