Or, more correctly in this enlightened age, put this in the head:
background-color is also acceptable, but not necessary.
2007-02-22 12:19:31
·
answer #1
·
answered by Rex M 6
·
0⤊
0⤋
Hi, Visual C# Language Concepts Code: Changing the Background Color of a Form (Visual C#) This example changes the background color of a Windows Form programmatically. Example Copy Code private void Form1_Click(object sender, System.EventArgs e) { this.BackColor = System.Drawing.Color.DarkBlue; } Compiling the Code This example requires: A form named Form1. Set Form1's Click event handler to Form1_Click.
2016-05-24 00:29:13
·
answer #2
·
answered by Anonymous
·
0⤊
0⤋
I think you meant to use 'background-color: #00000',
in your style definition, yes?
Remember, that it is also acceptable in this much
enlightened age, to do this as well,
or,
Link below explains further, along with examples.
HTH.
PS Interesting! 'Answers' destroys the formatting of
the latter part of the above tags! Which should read,
... background-color:#000000;">
and,
... background-color:black;">
respectively.
2007-02-22 12:38:03
·
answer #3
·
answered by Anonymous
·
0⤊
1⤋