Quantcast
Channel: DotSpatial
Viewing all articles
Browse latest Browse all 3973

Edited Issue: DotSpatial.Symbology.Forms SeachAndReplaceDialog [23928]

$
0
0
Hi,

The SeachAndReplaceDialog returns an error it the txtFind is blank and the user click OK
Please change the code.
This way it works fine, if you want add a message box.

```
private void BtnOkClick(object sender, EventArgs e)
{
if ((txtFind.Text != ""))
{
_find = txtFind.Text;
_replace = txtReplace.Text;
DialogResult = DialogResult.OK;
}
else
{
return;
}
}
```

Viewing all articles
Browse latest Browse all 3973

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>