private void ButtonNext_Click(object sender, EventArgs e) { if (ReportViewer1.FindNext() == 0) { MessageBox.Show("Reached the end of the report.", "CustomToolBar", MessageBoxButtons.OK, MessageBoxIcon.Information, MessageBoxDefaultButton.Button1); TextBoxFind.Text = String.Empty; } }