vs2010编程 怎样更改一个窗体背景颜色

2024-12-23 08:01:18
推荐回答(3个)
回答1:

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Form2.Show()

End Sub

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Me.BackColor = Color.Red
Form2.BackColor = Color.BlueViolet
End Sub

回答2:

窗体属性设置里就有啊

回答3:

窗体的backcolor