FarPoint.Win.Spread.SearchDialog sd;
fpSpread1.SearchWithDialog("Test");
sd = fpSpread1.SearchDialog;
sd.StringNotFound += new CancelEventHandler(sdStringNotFound);
void sdStringNotFound(object sender, CancelEventArgs e)
{
MessageBox.Show("The string was not found.");
}
Dim WithEvents sd As FarPoint.Win.Spread.SearchDialog
FpSpread1.SearchWithDialog("Test")
sd = FpSpread1.SearchDialog
sd.SetCustomTextToDefaults()
Private Sub sdStringNotFound(ByVal sender As Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles sd.StringNotFound
MessageBox.Show("The string was not found.")
End Sub