In WinForms it's much the same as in VB6, e.g.In WPF you would create a Brush and assign it to the Background property. If you just want a solid colour then you can use a SolidColorBrush, obtained from the Brushes class,e.g.vb.net Code:
Button1.BackColor = Color.BlackIf you want something fancier then you can create some other type of Brush.vb.net Code:
Button1.Background = Brushes.Black




Reply With Quote