CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2016
    Posts
    1

    programmatically loop between two WinForm Screens for about 20 seconds on each screen

    Hi team
    I have two winform screens which show different infomation on each. vb.net
    I would like to show Screen1 for 20 seconds and then show Screen2 for 20 seconds and then back to Screen1 again and so on.

    Can anyone help with this one
    Regards
    Ron B

  2. #2
    Arjay's Avatar
    Arjay is offline Moderator / EX MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    13,490

    Re: programmatically loop between two WinForm Screens for about 20 seconds on each sc

    Create a 20 second timer and a bool toggle variable. On the timer click, toggle the variable between true and false. If true, hide one form and show the other, if false do the opposite.

Tags for this Thread

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured