//派生型であることを強制することなどのためにoverrideすることを許す
        public virtual void SetContent(CharacterDocument doc)
        {
            RenderProfile prof = GetRenderProfile();

            this.BackColor = prof.BackColor;
            _document      = doc;
            this.EnabledEx = doc != null;

            if (_timer != null)
            {
                _timer.Close();
            }
            if (this.EnabledEx)
            {
                _timer     = WindowManagerPlugin.Instance.CreateTimer(TIMER_INTERVAL, new TimerDelegate(OnWindowManagerTimer));
                _tickCount = 0;
            }

            if (_enableAutoScrollBarAdjustment)
            {
                AdjustScrollBar();
            }
        }
        //派生型であることを強制することなどのためにoverrideすることを許す
        public virtual void SetContent(CharacterDocument doc) {
            RenderProfile prof = GetRenderProfile();
            this.BackColor = prof.BackColor;
            _document = doc;
            this.EnabledEx = doc != null;

            if (_timer != null)
                _timer.Close();
            if (this.EnabledEx) {
                _timer = WindowManagerPlugin.Instance.CreateTimer(TIMER_INTERVAL, new TimerDelegate(OnWindowManagerTimer));
                _tickCount = 0;
            }

            if (_enableAutoScrollBarAdjustment)
                AdjustScrollBar();
        }