View Single Post
  #12  
Old 11-21-2006, 11:10 AM
Vodstok's Avatar
Vodstok Vodstok is offline
Fear scented candle
 
Join Date: Jan 2004
Location: The edge of forever
Posts: 13,650
now, go to "tools" and click on GroupBox. place it where you want it on the form. next, again in tools click "Timer" and place that in the form also. Dont worry, it will appear in a bar below the form. this is what it is supposed to do, since the timer is something that works in the background without any visual representation.

Now, double click "timer1" in the bar. You should see this now:

private void timer1_Tick(object sender, EventArgs e)
{

}


this is what the timer will do on every "tick". Imagine a clock that does something on every tick of the second hand. We are going to make ours change some colors in a neat fashion.

Go up to the block that has Form1_Load and type this:



in between these:
{

}

so we want this:

private void Form1_Load(object sender, EventArgs e)
{
timer1.Start();
}
__________________
Some misguided people decided I was funny enough to pay. See if they're right:
http://www.cracked.com/members/Vodstok/
(I tweet pretty hardcore, too)
Reply With Quote