Beispiel #1
0
 /// <summary>
 /// Constructs a new <see cref="IncrementalSearcher"/> panel.
 /// </summary>
 /// <param name="manager"><see cref="FindReplace"/> instance that will manage this <see cref="IncrementalSearcher"/>.</param>
 public IncrementalSearcher(FindReplace manager)
 {
     InitializeComponent();
     Manager = manager;
 }
 /// <summary>
 /// Creates a new <see cref="FindResultsEventArgs"/> instance.
 /// </summary>
 /// <param name="manager">Associated <see cref="FindReplace"/> control.</param>
 /// <param name="findAllResults"><see cref="List{CharacterRange}"/> containing the locations of the found results.</param>
 public FindResultsEventArgs(FindReplace manager, List <CharacterRange> findAllResults)
 {
     Manager        = manager;
     FindAllResults = findAllResults;
 }
 /// <summary>
 /// Creates a new <see cref="ReplaceResultsEventArgs"/> instance.
 /// </summary>
 /// <param name="manager">Associated <see cref="FindReplace"/> instance.</param>
 /// <param name="replaceAllResults"><see cref="List{CharacterRange}"/> containing the locations of the replacements.</param>
 public ReplaceResultsEventArgs(FindReplace manager, List <CharacterRange> replaceAllResults)
 {
     Manager           = manager;
     ReplaceAllResults = replaceAllResults;
 }
        /// <summary>
        /// Constructs a new <see cref="FindReplaceDialog"/>.
        /// </summary>
        /// <param name="manager"><see cref="FindReplace"/> instance that manages this <see cref="FindReplaceDialog"/>.</param>
        public FindReplaceDialog(FindReplace manager) : base()
        {
            InitializeComponent();

            Manager = _manager = manager;
        }