Ejemplo n.º 1
0
        /// <summary>
        /// Called to execute the dialog.  This allows you to do custom actions before
        /// and after the dialog is executed.
        /// </summary>
        /// <param name="findDialog">The dialog to display.</param>
        /// <param name="owner">The dialog owner.</param>
        /// <param name="findData">The find data.</param>
        /// <returns>True if OK was pressed.</returns>
        protected virtual bool OnDialogExecute(IFindDialog findDialog, IWin32Window owner, FindData findData)
        {
            bool result = findDialog.Execute(owner, findData);

            return(result);
        }