<br /> Dim g As Graphics = e.Graphics<br /> Dim pen As New Pen(ColorTranslator.FromHtml(normalFontColor), 2.0)<br /> Dim txtBox As Control<br /> For Each txtBox In Me.Controls<br /> If TypeOf (txtBox) Is TextBox Then<br /> g.DrawRectangle(pen, New Rectangle(txtBox.Location, txtBox.Size))<br /> End If<br /> Next<br />
input[type=text]{ border: 2px dotted; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)