Пример #1
0
        public override void Copy(ITextDisplayStyle source)
        {
            Name = source.Name;
            BackgroundTransparent = source.BackgroundTransparent;
            BackgroundColour      = source.BackgroundColour;
            BackgroundImage       = source.BackgroundImage;
            TransitionTime        = source.TransitionTime;
            BibleDisplayStyle bibleSource = source as BibleDisplayStyle;

            if (bibleSource != null)
            {
                PassageTitle.Copy(bibleSource.PassageTitle);
                CopyRight.Copy(bibleSource.CopyRight);
                MainText.Copy(bibleSource.MainText);
            }
            OnChanged();
        }