private void menuEditFind_Click(object sender, System.EventArgs ea)
        {
            MDIChild mc = this.ActiveMdiChild as MDIChild;
            // These menus require an MDIChild in order to work
            ReportEditPreview 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();
            }
        }
 private void menuEditReplace_Click(object sender, System.EventArgs ea)
 {
     ReportEditPreview e = GetEditor();
     if (e == null)
         return;
     FindTab tab = new FindTab(e);
     tab.tcFRG.SelectedTab = tab.tabReplace;
     tab.Show();
 }
        private void menuEditFindNext_Click(object sender, System.EventArgs ea)
        {
            ReportEditPreview e = GetEditor();
            if (e == null)
                return;

            FindTab tab = new FindTab(e);
            tab.Show();
        }