/// ------------------------------------------------------------------------------------ /// <summary> /// Creates the view constructor. /// </summary> /// <param name="flid">The flid - ignored here.</param> /// ------------------------------------------------------------------------------------ protected override VwBaseVc CreateVc(int flid) { m_locationTracker = new LocationTrackerImpl(m_fdoCache, 0); DraftViewVc vc = new DraftViewVc(TeStVc.LayoutViewTarget.targetDraft, 0, m_styleSheet, false); vc.Cache = m_fdoCache; return vc; }
/// ------------------------------------------------------------------------------------ /// <summary> /// Creates the view constructor. /// </summary> /// <param name="flid">The flid - ignored here.</param> /// ------------------------------------------------------------------------------------ protected override VwBaseVc CreateVc(int flid) { m_locationTracker = new LocationTrackerImpl(m_fdoCache, 0); DraftViewVc vc = new DraftViewVc(TeStVc.LayoutViewTarget.targetDraft, 0, m_styleSheet, false); vc.Cache = m_fdoCache; return(vc); }
/// ------------------------------------------------------------------------------------ /// <summary> /// Creates the view constructor. /// </summary> /// <param name="flid">The flid - ignored here.</param> /// <returns>The view constructor</returns> /// ------------------------------------------------------------------------------------ protected override VwBaseVc CreateVc(int flid) { // Create a new virtual property - we don't need it here, but we use it in the view! new FilteredScrBooks(m_fdoCache, Handle.ToInt32()); m_locationTracker = new LocationTrackerImpl(m_fdoCache, Handle.ToInt32()); DraftViewVc vc = new DraftViewVc(TeStVc.LayoutViewTarget.targetDraft, Handle.ToInt32(), m_styleSheet, false); vc.Cache = m_fdoCache; return(vc); }