User Profile

Collapse

Profile Sidebar

Collapse
burtski99
burtski99
Last Activity: Feb 12 '08, 05:33 PM
Joined: Feb 9 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Hey, thanks for your reply - I wasn't expecting one this quick.

    I've tried system.threadin g.thread.sleep (2000).

    I also tried a ridiculous "while" statement which took the current datetime seconds value, then populated int1 with it. I populated int2 with int1 + 2 (subject to an 'if' which said that if int1 is > 57, subtract 60 from it) I then had a "while (int1<int2) {int1 = System.DateTime .Now.second}....
    See more | Go to post

    Leave a comment:


  • burtski99
    started a topic Changing colors of buttons on form after set delay
    in C

    Changing colors of buttons on form after set delay

    ...with a simple problem. I have 2 buttons on my form, button1 and button2. I want the following sequence:-

    1) button1 changes colour to red
    2) wait 2 seconds
    3) button1 changes back to gray and button2 changes to red
    4) wait 2 seconds
    5) button2 changes back to gray and button1 changes to red.

    Please help me or I'll be forced to eat more chocolate orange biscuits.
    See more | Go to post
No activity results to display
Show More
Working...