


This works fine when the button does not have the focus. The code removes the border from the flat Button control except on MouseOver, where I add a 1 pixel border. I have code to act as pseudo-CSS (FormBackColor is a string constant.):ī.BackColor = ColorTranslator.FromHtml(FormBackColor) I've formatted everything fine, except the border in the FlatAppearance object. I am setting my Winforms Button control properties to appear as a hyperlink would on a web page. net - Remove Border On Focus From Button Control? May 14, 2010
