public void CleanUp() { UndoAllActions(); // delete property table settings. Properties.RemoveLocalAndGlobalSettings(); //if (m_bulkEditBar != null) // m_bulkEditBar.Dispose(); if (m_mediator != null) m_mediator.RemoveColleague(m_window); if (m_window != null && !m_window.IsDisposed) m_window.Dispose(); // disposes m_bulkEditBar and m_bv! m_bulkEditBar = null; m_bv = null; m_window = null; }
public void CleanUp() { CheckDisposed(); // delete property table settings. m_window.PropertyTable.RemoveLocalAndGlobalSettings(); if (m_window != null && !m_window.IsDisposed) m_window.Dispose(); m_bulkEditBar = null; m_bv = null; m_window = null; m_mediator = null; base.Exit(); // overkill, but no way to directly clear individual properties. Cache.ClearAllData(); if (m_fdoCache.CreateModifyManager != null) { m_fdoCache.CreateModifyManager.Dispose(); m_fdoCache.CreateModifyManager = null; } }
private void GetBulkEditBarAndBrowseViewerFromWindow() { m_bulkEditBar = ((MockFwXWindow)m_window).FindControl("BulkEditBar") as BulkEditBarForTests; m_bv = m_bulkEditBar.Parent as BrowseViewerForTests; }
private void SetupBulkEditBarAndBrowseViewer() { m_bulkEditBar = m_window.FindControl("BulkEditBar") as BulkEditBarForTests; m_bv = m_bulkEditBar.Parent as BrowseViewerForTests; }