Hi I am having trouble getting this basic program to work. This is my first time creating events, when I had accidentally put my label1 info under Form1 it worked but not label 2 or 3 and then I put the info under label1 and now nothing works.
"Create a form that contains three Labels that hold famous quotes of your choice. When the program starts, the background of the Form and Label should be black. When the user passes a mouse over a label, change its BackColor to white, revealing the text of the quotes.
Loading
FroglegPosted Oct 7, 2012, 2:52 AM
put this in form load event
private void Form1_Load(object sender, EventArgs e)
{
label1.Text = "The terror is in the anticipation not in the bang, Hitchcock";
label2.Text = "Challenges are what make life interesting, overcoming them is what makes life meaningful, Twain";
label3.Text = "This world is but a canvas to our imagination, Thoreau";
}