Exemple #1
0
        /// ------------------------------------------------------------------------------------
        /// <summary>
        /// Initializes a new instance of the <see cref="BtFootnotePrintLayoutSideBySideVc"/> class.
        /// </summary>
        /// <param name="target"></param>
        /// <param name="filterInstance"></param>
        /// <param name="styleSheet"></param>
        /// <param name="cache"></param>
        /// <param name="btWs">The writing system of the back translation side of the view
        /// </param>
        /// ------------------------------------------------------------------------------------
        public BtFootnotePrintLayoutSideBySideVc(LayoutViewTarget target, int filterInstance,
                                                 IVwStylesheet styleSheet, FdoCache cache, int btWs) : base(target, filterInstance)
        {
            Cache       = cache;
            PrintLayout = true;

            m_VcImpl = new BtPrintLayoutSideBySideVcImpl <BtFootnotePrintLayoutSideBySideVc>(target,
                                                                                             filterInstance, styleSheet, cache, btWs, true, this, BooksTag);
        }
Exemple #2
0
 /// <summary/>
 protected override void Dispose(bool fDisposing)
 {
     if (fDisposing)
     {
         m_VcImpl.Dispose();
     }
     m_VcImpl = null;
     base.Dispose(fDisposing);
 }