Пример #1
0
        internal override void CopyFrom(Column column)
        {
            base.CopyFrom(column);
            Sortable = false;
            if (column.ColumnType != ColumnType.Image)
            {
                return;
            }
            Image c = (Image)column;

            m_PopupImageDisplayType = c.m_PopupImageDisplayType;
            m_Directory             = c.m_Directory;
            m_AllowExtensions       = c.m_AllowExtensions;
            m_DenyExtensions        = c.m_DenyExtensions;
            m_DisplayFileName       = c.m_DisplayFileName;
            m_HideImage             = c.m_HideImage;
            m_FileNameOption        = c.m_FileNameOption;
            m_FileTemporaryMode     = c.m_FileTemporaryMode;
            m_FileName          = c.m_FileName;
            m_PopupImageColumn  = c.m_PopupImageColumn;
            m_Sizes             = c.m_Sizes;
            m_PopupImageCaption = c.m_PopupImageCaption;
            base.FileNameColumn = c.FileNameColumn;
            base.IsBlob         = c.IsBlob;
        }
Пример #2
0
 internal override void CopyFrom(Column column)
 {
     base.CopyFrom(column);
     Sortable = false;
     if (column.ColumnType != ColumnType.Image)
         return;
     Image c = (Image)column;
     m_PopupImageDisplayType = c.m_PopupImageDisplayType;
     m_Directory = c.m_Directory;
     m_AllowExtensions = c.m_AllowExtensions;
     m_DenyExtensions = c.m_DenyExtensions;
     m_DisplayFileName = c.m_DisplayFileName;
     m_HideImage = c.m_HideImage;
     m_FileNameOption = c.m_FileNameOption;
     m_FileTemporaryMode = c.m_FileTemporaryMode;
     m_FileName = c.m_FileName;
     m_PopupImageColumn = c.m_PopupImageColumn;
     m_Sizes = c.m_Sizes;
     m_PopupImageCaption = c.m_PopupImageCaption;
     base.FileNameColumn = c.FileNameColumn;
     base.IsBlob = c.IsBlob;
 }