I have some custom/user controls that in most cases have label and entry, like this:
removed dead ImageShack link
Is there any way I can customize the standard WinForms ErrorProvider to display its icon inside entry (entry - textbox, combo, datetime etc...), like this:
removed dead ImageShack link
where the red circle is of course the error indicator.
Thanks for any help.
errorProvider.Icon.Width + textBox.Bounds.Width - textBox.ClientRectangle.Width
. Of course the icon size should be appropriate to thetextBox.Height
but that's often the case (16x16 icon, textBox default height is 20) – Mansized