Beispiel #1
0
        public override void UpdateView()
        {
            if (_paneAdvRegExp != null)
            {
                _paneAdvRegExp.UpdatePane();
            }

            if (_paneDocuments != null)
            {
                _paneDocuments.UpdatePane();
            }

            if (_paneAdvNotes != null)
            {
                _paneAdvNotes.UpdatePane();
            }

            if (_paneCodes != null)
            {
                _paneCodes.UpdatePane();
            }

            if (this.LayoutName == "Layout 1")
            {
                _btnLayout1.Checked = true;
                _btnLayout2.Checked = false;
            }
            else if (this.LayoutName == "Layout 2")
            {
                _btnLayout1.Checked = false;
                _btnLayout2.Checked = true;
            }

            _views.Ribbon.Refresh();
        }
Beispiel #2
0
        public override void UpdateView()
        {
            if (_paneCodes != null)
            {
                _paneCodes.UpdatePane();
            }

            if (_paneTemplate != null)
            {
                _paneTemplate.UpdatePane();
            }
        }