public override void MakeRoot() { CheckDisposed(); if (m_cache == null || DesignMode) { return; } base.MakeRoot(); m_rootb.DataAccess = m_cache.DomainDataByFlid; m_vc = new AudioVisualVc(m_cache, m_flid, "InternalPath"); if (m_file != null) { m_rootb.SetRootObject(m_file.Hvo, m_vc, kfragPathname, m_rootb.Stylesheet); } }
/// <summary> /// Clean up any resources being used. /// </summary> protected override void Dispose(bool disposing) { // Must not be run more than once. if (IsDisposed) { return; } base.Dispose(disposing); if (disposing) { if (components != null) { components.Dispose(); } } m_vc = null; }
public override void MakeRoot() { CheckDisposed(); base.MakeRoot(); if (m_fdoCache == null || DesignMode) { return; } m_rootb = VwRootBoxClass.Create(); m_rootb.SetSite(this); m_rootb.DataAccess = m_fdoCache.DomainDataByFlid; m_vc = new AudioVisualVc(m_fdoCache, m_flid, "InternalPath"); if (m_file != null) { m_rootb.SetRootObject(m_file.Hvo, m_vc, AudioVisualView.kfragPathname, m_rootb.Stylesheet); } }
/// <summary> /// Clean up any resources being used. /// </summary> protected override void Dispose(bool disposing) { //Debug.WriteLineIf(!disposing, "****************** " + GetType().Name + " 'disposing' is false. ******************"); // Must not be run more than once. if (IsDisposed) { return; } base.Dispose(disposing); if (disposing) { if (components != null) { components.Dispose(); } if (m_vc != null) { m_vc.Dispose(); } m_vc = null; } }
public override void MakeRoot() { CheckDisposed(); base.MakeRoot(); if (m_fdoCache == null || DesignMode) return; m_rootb = VwRootBoxClass.Create(); m_rootb.SetSite(this); m_rootb.DataAccess = m_fdoCache.DomainDataByFlid; m_vc = new AudioVisualVc(m_fdoCache, m_flid, "InternalPath"); if (m_file != null) { m_rootb.SetRootObject(m_file.Hvo, m_vc, AudioVisualView.kfragPathname, m_rootb.Stylesheet); } }
/// <summary> /// Clean up any resources being used. /// </summary> protected override void Dispose(bool disposing) { // Must not be run more than once. if (IsDisposed) return; base.Dispose(disposing); if (disposing) { if (components != null) { components.Dispose(); } } m_vc = null; }
/// <summary> /// Clean up any resources being used. /// </summary> protected override void Dispose(bool disposing) { //Debug.WriteLineIf(!disposing, "****************** " + GetType().Name + " 'disposing' is false. ******************"); // Must not be run more than once. if (IsDisposed) return; base.Dispose(disposing); if (disposing) { if (components != null) { components.Dispose(); } if (m_vc != null) m_vc.Dispose(); m_vc = null; } }