In WinForms it's much the same as in VB6, e.g.
vb.net Code:
  1. Button1.BackColor = Color.Black
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:
  1. Button1.Background = Brushes.Black
If you want something fancier then you can create some other type of Brush.