29 lines
No EOL
737 B
C#
29 lines
No EOL
737 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Data;
|
|
using System.Drawing;
|
|
using System.Text;
|
|
using System.Windows.Forms;
|
|
|
|
namespace AudioFileInspector
|
|
{
|
|
public partial class FindForm : Form
|
|
{
|
|
RichTextBox richTextBox;
|
|
public FindForm(RichTextBox richTextBox)
|
|
{
|
|
InitializeComponent();
|
|
this.richTextBox = richTextBox;
|
|
}
|
|
|
|
private void buttonFind_Click(object sender, EventArgs e)
|
|
{
|
|
richTextBox.Find(textBoxFind.Text,
|
|
richTextBox.SelectionStart +
|
|
richTextBox.SelectionLength,
|
|
RichTextBoxFinds.None);
|
|
richTextBox.ScrollToCaret();
|
|
}
|
|
}
|
|
} |