예제 #1
0
        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);
            }
        }
예제 #2
0
        /// <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;
        }
예제 #3
0
        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);
            }
        }
예제 #4
0
        /// <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;
            }
        }
예제 #5
0
		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);
			}

		}
예제 #6
0
		/// <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;
		}
예제 #7
0
		/// <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;
			}
		}