Click here to Skip to main content
15,911,142 members
Home / Discussions / C#
   

C#

 
GeneralRe: calculate elapsed seconds Pin
PIEBALDconsult13-Apr-08 18:31
mvePIEBALDconsult13-Apr-08 18:31 
GeneralRe: calculate elapsed seconds Pin
George_George14-Apr-08 2:57
George_George14-Apr-08 2:57 
GeneralInverted text on image Pin
Kir Birger12-Apr-08 4:30
Kir Birger12-Apr-08 4:30 
GeneralRe: Inverted text on image [modified] Pin
Anthony Mushrow12-Apr-08 4:45
professionalAnthony Mushrow12-Apr-08 4:45 
GeneralA question about web browser control. Pin
bg198712-Apr-08 3:58
bg198712-Apr-08 3:58 
GeneralRe: A question about web browser control. Pin
Anthony Mushrow12-Apr-08 4:42
professionalAnthony Mushrow12-Apr-08 4:42 
GeneralRe: A question about web browser control. Pin
bg198712-Apr-08 5:15
bg198712-Apr-08 5:15 
GeneralRe: A question about web browser control. Pin
Anthony Mushrow12-Apr-08 5:23
professionalAnthony Mushrow12-Apr-08 5:23 
Okay then, how about using the DocumentCompleted event:

DocumentCompleted()
{
myTimer.Start();
}
Timer()
{
    static int counter = 0;
    switch(counter) {
        case 0:
            navigate to url

            break;
        case 1:
            navigate to url
            break;
        case 2:
            navigate to url
            break;
        case 3:
            navigate to url
            break;
        default:
            counter = 0;
            break;
    }
    counter++;
    myTimer.Stop();
}


That way, the set amout of time will pass, then the page will change and the timer will stop. Once the page is loaded the timer will start again. After the set amount of time passes again it will navigate to the new page then stop the timer... and so on.

My current favourite word is: Bacon!
-SK Genius


GeneralRe: A question about web browser control. Pin
bg198712-Apr-08 5:45
bg198712-Apr-08 5:45 
GeneralDrag and Drop Pin
Ian Uy12-Apr-08 2:26
Ian Uy12-Apr-08 2:26 
GeneralRe: Drag and Drop Pin
Ian Uy12-Apr-08 2:29
Ian Uy12-Apr-08 2:29 
GeneralRe: Drag and Drop Pin
Anthony Mushrow12-Apr-08 2:33
professionalAnthony Mushrow12-Apr-08 2:33 
QuestionAsteriskIAXClientWrapper Pin
asma_pfe11-Apr-08 23:21
asma_pfe11-Apr-08 23:21 
GeneralRe: AsteriskIAXClientWrapper Pin
Christian Graus12-Apr-08 0:32
protectorChristian Graus12-Apr-08 0:32 
GeneralRe: AsteriskIAXClientWrapper Pin
asma_pfe12-Apr-08 2:35
asma_pfe12-Apr-08 2:35 
GeneralRe: AsteriskIAXClientWrapper Pin
N a v a n e e t h12-Apr-08 2:39
N a v a n e e t h12-Apr-08 2:39 
Generalmakecert --- read from it, then extract private/public key? [modified] Pin
devvvy11-Apr-08 22:14
devvvy11-Apr-08 22:14 
QuestionHow to Add Web Reference in Windows application .NET Framework 3.5. Pin
ravindrapratapsingh11-Apr-08 20:41
ravindrapratapsingh11-Apr-08 20:41 
AnswerRe: How to Add Web Reference in Windows application .NET Framework 3.5. Pin
Christian Graus11-Apr-08 22:26
protectorChristian Graus11-Apr-08 22:26 
GeneralAdd Activex control Pin
Sushma K11-Apr-08 19:02
Sushma K11-Apr-08 19:02 
GeneralRe: Add Activex control Pin
Christian Graus11-Apr-08 22:27
protectorChristian Graus11-Apr-08 22:27 
GeneralRe: Add Activex control Pin
Sushma K12-Apr-08 1:58
Sushma K12-Apr-08 1:58 
Generalencryption Pin
rockNroll11-Apr-08 16:53
rockNroll11-Apr-08 16:53 
GeneralRe: encryption Pin
Christian Graus11-Apr-08 22:29
protectorChristian Graus11-Apr-08 22:29 
GeneralSoftware recognition [modified] Pin
crazy friend11-Apr-08 16:50
crazy friend11-Apr-08 16:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.