示例#1
0
        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();
            }
        }
示例#2
0
 public ExcelExportDDE(IExportableView view, ExcelDDEExportSettings settings)
 {
     m_view     = view;
     m_settings = settings;
 }
示例#3
0
 public ExcelExportDDE(IExportableView view, params object[] settings)
     : this(view, new ExcelDDEExportSettings(settings))
 {
 }