/// <summary> /// Handles the ReplaceAllComplete event of the expressionEditor control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="Konesans.Dts.ExpressionEditor.Controls.FindOrReplaceEventArgs"/> instance containing the event data.</param> private void ExpressionEditor_ReplaceAllComplete(object sender, FindOrReplaceEventArgs e) { if (this.programSettings.ReplaceAllCount) { MessageBox.Show(this, string.Format(CultureInfo.CurrentCulture, Konesans.Dts.Tools.ExpressionTester.Properties.Resources.FindOrReplaceReplaceAllCount, e.ReplaceCount), Application.ProductName, MessageBoxButtons.OK, MessageBoxIcon.Information); } }
/// <summary> /// Handles the FindNotFound event of the expressionEditor control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="Konesans.Dts.ExpressionEditor.Controls.FindOrReplaceEventArgs"/> instance containing the event data.</param> private void ExpressionEditor_FindNotFound(object sender, FindOrReplaceEventArgs e) { if (this.programSettings.FindNotFound) { MessageBox.Show(this, string.Format(CultureInfo.CurrentCulture, "{0}\r\n\r\n{1}", Konesans.Dts.Tools.ExpressionTester.Properties.Resources.FindOrReplaceFindNotFound, e.SearchTerm), Application.ProductName, MessageBoxButtons.OK, MessageBoxIcon.Information); } }