Ejemplo n.º 1
0
        public override void UpdateView()
        {
            if (_paneRegExp != null)
            {
                _paneRegExp.UpdatePane();
            }

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

            /*
             *          if (_paneNotes != null)
             *                  _paneNotes.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();
        }
Ejemplo n.º 2
0
        public override void UpdateView()
        {
            if (_paneRegExp != null)
            {
                _paneRegExp.UpdatePane();

                if (_paneTabNotes != null)
                {
                    _paneTabNotes.SelectedColumnID = _paneRegExp.CurrentSelectedColumnID;
                    _paneTabNotes.UpdatePane();
                }
            }

            if (_paneDocuments != null)
            {
                _paneDocuments.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();
        }
Ejemplo n.º 3
0
        public override void UpdateView()
        {
            FillCategoriesList();

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

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