Пример #1
0
		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;
		}
Пример #2
0
		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;
			}
		}
Пример #3
0
		private void GetBulkEditBarAndBrowseViewerFromWindow()
		{
			m_bulkEditBar = ((MockFwXWindow)m_window).FindControl("BulkEditBar") as BulkEditBarForTests;
			m_bv = m_bulkEditBar.Parent as BrowseViewerForTests;
		}
Пример #4
0
		private void SetupBulkEditBarAndBrowseViewer()
		{
			m_bulkEditBar = m_window.FindControl("BulkEditBar") as BulkEditBarForTests;
			m_bv = m_bulkEditBar.Parent as BrowseViewerForTests;
		}