Esempio n. 1
0
        public void Update(TabOptions copy)
        {
            name = copy.name;

            rememberView         = copy.rememberView;
            saveIvps             = copy.saveIvps;
            savePageMarkers      = copy.savePageMarkers;
            keepZoom             = copy.keepZoom;
            mwScroll             = copy.mwScroll;
            readBackwards        = copy.readBackwards;
            zoomMode             = copy.zoomMode;
            showPaging           = copy.showPaging;
            showScroll           = copy.showScroll;
            animIVP              = copy.animIVP;
            animKeyZoom          = copy.animKeyZoom;
            animRotation         = copy.animRotation;
            animScroll           = copy.animScroll;
            turnPageBlock        = copy.turnPageBlock;
            zoomRectOnRightClick = copy.zoomRectOnRightClick;
            libraryViewMode      = copy.libraryViewMode;
            bookViewMode         = copy.bookViewMode;
            exploreSubFolders    = copy.exploreSubFolders;

            customBookFields = null;
        }
Esempio n. 2
0
        public override bool Equals(object obj)
        {
            if (obj == null)
            {
                return(false);
            }

            TabOptions tp = obj as TabOptions;

            if (tp == null)
            {
                return(false);
            }

            if (tp.name == name)
            {
                return(true);
            }

            return(false);
        }