Пример #1
0
 private void menuReplace_Click(object sender, EventArgs e)
 {
     if (hFind != null && hFind.CanShowReplaceDialog)
     {
         hFind.ShowReplaceDialog();
     }
 }
Пример #2
0
        private void menuEditReplace_Click(object sender, EventArgs e)
        {
            IFindReplaceHandler h = this.DockPanel.ActiveContent as IFindReplaceHandler;

            if (h != null && h.CanShowReplaceDialog)
            {
                h.ShowReplaceDialog();
            }
        }