Summary description for FindTab.
示例#1
0
 private void menuEditReplace_Click(object sender, System.EventArgs ea)
 {
     RdlEditPreview e = GetEditor();
     if (e == null)
         return;
     FindTab tab = new FindTab(e);
     tab.tcFRG.SelectedTab = tab.tabReplace;
     tab.Show();
 }
示例#2
0
        private void menuEditFind_Click(object sender, System.EventArgs ea)
        {
            MDIChild mc = this.ActiveMdiChild as MDIChild;
            // These menus require an MDIChild in order to work
            RdlEditPreview e = mc == null ? null : mc.RdlEditor;

            if (e == null)
                return;
            if (e.DesignTab == "preview")
            {
                if (!e.PreviewCtl.ShowFindPanel)
                    e.PreviewCtl.ShowFindPanel = true;
                e.PreviewCtl.FindNext();
            }
            else
            {
                FindTab tab = new FindTab(e);
                tab.Show();
            }
        }
示例#3
0
        private void menuEditFindNext_Click(object sender, System.EventArgs ea)
        {
            RdlEditPreview e = GetEditor();
            if (e == null)
                return;

            FindTab tab = new FindTab(e);
            tab.Show();
        }
 public void ClearSearchHighlight()
 {
     scintilla1.IndicatorCurrent = SEARCH_INDICATOR_NUM;
     scintilla1.IndicatorClearRange(0, scintilla1.TextLength);
     FindTab = null;
 }
        private void menuEditGoto_Click(object sender, System.EventArgs ea)
        {
            RdlEditPreview e = GetEditor();
            if (e == null)
                return;

            FindTab tab = e.FindTab;
            if (tab == null)
                tab = new FindTab(e);

            tab.tcFRG.SelectedTab = tab.tabGoTo;
            tab.Show();
            tab.Focus();
        }
 public void ClearSearchHighlight()
 {
     scintilla1.IndicatorCurrent = SEARCH_INDICATOR_NUM;
     scintilla1.IndicatorClearRange(0, scintilla1.TextLength);
     FindTab = null;
 }