Here's the answer:
http://msdn.microsoft.com/en-us/library/aa480734.aspx?wt.slv=ColumnA
I'm a bit disappointed with the amount of effort I had to go through to find
and implement this, not because I mind doing my own research, but because
1) In my opinion the solution was not easy to find
2) I needed to convert the solution from VB to C#
3) it seems like a journey that many others would have gone through, would
have remembered and therefore could have easily helped with (MVPs?) .
brad
> I am dynamically adding these textboxes to the form based on the data to be
> edited. What I am looking for is behavior similar to the Visual Studio .NET
> Properties window and how it provides an error message if you enter a
> property value that is invalid.
brad - 23 Jun 2008 18:56 GMT
I should have mentioned the solution is under the section on "Improved
Handling of Errors and Exceptions"
brad
> Here's the answer:
> http://msdn.microsoft.com/en-us/library/aa480734.aspx?wt.slv=ColumnA
[quoted text clipped - 12 lines]
> > Properties window and how it provides an error message if you enter a
> > property value that is invalid.