diff --git a/xml/System.Windows.Forms/ControlStyles.xml b/xml/System.Windows.Forms/ControlStyles.xml index 9c5e789f3a1..fbfd81561ab 100644 --- a/xml/System.Windows.Forms/ControlStyles.xml +++ b/xml/System.Windows.Forms/ControlStyles.xml @@ -27,7 +27,7 @@ ## Remarks Controls use this enumeration in various properties and methods to specify functionality. A control can enable a style by calling the method and passing in the appropriate bit (or bits) and the Boolean value to set the bit(s) to. For example, the following line of Visual Basic code would enable double-buffering. -``` +```vb myControl.SetStyle(UserPaint Or AllPaintingInWmPaint Or DoubleBuffer, True) ``` @@ -442,4 +442,4 @@ myControl.SetStyle(UserPaint Or AllPaintingInWmPaint Or DoubleBuffer, True) - \ No newline at end of file +