Пример #1
0
 // -------------------------------------------------------------------------------------
 /// <summary>
 /// Copy constructor.
 /// </summary>
 /// <param name="TemplateRefVal">Value of 'uTemplateRef' field</param>
 /// <param name="PageIndexVal">Value of 'nPageIndex' field</param>
 /// <param name="origInstance">Original document data to copy.</param>
 // -------------------------------------------------------------------------------------
 public TemplatePageBase(DBGuid TemplateRefVal,
                     DBInt PageIndexVal,
                     TemplatePageBase origInstance)
 {
     m_TemplateRef = TemplateRefVal;
       m_PageIndex = PageIndexVal;
       m_Name = origInstance.m_Name;
       m_IsActive = origInstance.m_IsActive;
 }
Пример #2
0
 // -------------------------------------------------------------------------------------
 /// <summary>
 /// Copy constructor.
 /// </summary>
 /// <param name="origInstance">Original document data to copy.</param>
 // -------------------------------------------------------------------------------------
 public TemplatePageBase(TemplatePageBase origInstance)
 {
     m_TemplateRef = origInstance.m_TemplateRef;
       m_PageIndex = origInstance.m_PageIndex;
       m_Name = origInstance.m_Name;
       m_IsActive = origInstance.m_IsActive;
 }