Results 1 to 4 of 4

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User MrShadow's Avatar
    Join Date: Jul:2007
    Location:
    Posts: 2,606

    (screensaver)

    !

    , (.. 1 2 3 ).

    google, msdn( ) C#.

    "" :
    1) n . ( )
    2) (array[x]). , X
    3) - ( ). , ( MS label) event handlers / , / ...

    10 ( ) webbrowser.navigate(url).

    :
    Code:
    while(true){
    if ( i > counter) i = 0;
    url = "http://" + urlsArray[i];
    webbrowser.Navigate(url);
    i++;
    
    // some kind of wait here
    // must handle events during the wait so we can close the screensaver
    
    }
    2 :
    1) ?

    Thread.Sleep(ms); , ()
    while + 10 - , 100% CPU ...

    2) / , . "" IMessageFilter ( webbrowser...?) Close();


    .

    !

  2. #2

    Join Date: Apr:2006
    Location:
    Posts: 8,666

  3. #3
    Registered User MrShadow's Avatar
    Join Date: Jul:2007
    Location:
    Posts: 2,606
    Quote Originally Posted by smelkomar View Post
    O = Win7
    , - 1

    html- -

  4. #4

    Join Date: Apr:2006
    Location:
    Posts: 8,666
    , HTTP , SDL.

    C#, rly?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Copyright © 1999-2011 . .
iskamPC.com | mobility.BG | Bloody's Techblog | | 3D Vision Blog |