Question regarding windows forms

This is a discussion on Question regarding windows forms within the C# Programming forums, part of the General Programming Boards category; How do you repaint or redraw a windows form at a given interval? E.g. if I wanted to iterate through ...

  1. #1
    Registered User
    Join Date
    Oct 2007
    Posts
    9

    Question regarding windows forms

    How do you repaint or redraw a windows form at a given interval?

    E.g.

    if I wanted to iterate through a loop of some sorts and have those results added to a listbox upon each iteration.

    Thanx

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    use a timer.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  3. #3
    Registered User
    Join Date
    Oct 2007
    Posts
    9
    Thanks for the suggestion, but im not too sure if thats the solution. I want the results displayed through each iteration of the loop in the listbox as opposed to being displayed only once the loop has finished all its iterations. It seems like the form / listbox needs to be refreshed.

    Make sense?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Incorporating Console and Windows Forms
    By Junior89 in forum C++ Programming
    Replies: 2
    Last Post: 11-07-2007, 09:36 PM
  2. An Elementary Windows Question
    By samGwilliam in forum Windows Programming
    Replies: 7
    Last Post: 01-20-2006, 03:20 PM
  3. Question..
    By pode in forum Windows Programming
    Replies: 12
    Last Post: 12-19-2004, 06:05 PM
  4. Codec Bitrates?
    By gvector1 in forum C# Programming
    Replies: 2
    Last Post: 06-16-2003, 08:39 AM
  5. Another windows service question... starting/stopping
    By BrianK in forum Windows Programming
    Replies: 1
    Last Post: 03-19-2003, 11:22 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21