Esempio n. 1
0
        /// ------------------------------------------------------------------------------------
        protected override void OnHandleCreated(EventArgs e)
        {
            base.OnHandleCreated(e);

            RawRecViewOn = Properties.Settings.Default.DataCorpusVwRecordPaneVisible;
            OnViewDocked(this);
            m_initialDock = true;
            Application.DoEvents();
            WordListGrid.Focus();
        }
Esempio n. 2
0
        /// ------------------------------------------------------------------------------------
        public void SetViewActive(bool makeActive, bool isDocked)
        {
            m_activeView = makeActive;

            if (makeActive)
            {
                FindInfo.Grid = WordListGrid;

                if (isDocked && WordListGrid != null)
                {
                    WordListGrid.SetStatusBarText();
                    WordListGrid.Focus();
                }
            }
        }