Simple GUI

Ask questions about creating Graphical User Interfaces (GUI) in PowerShell and using WinForms controls.
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Posts: 9
Joined: Wed Jan 06, 2021 7:41 am

Simple GUI

Post by mkisow0729 »

I have a simple GUI that will not run...

Four picture boxes that toggle based on whether a host is up or not. Not sure what I am doing wrong. If I wanted to run this in a continuous loop every time interval until exit, where would I place that code, in a function and if so called by what?
Matthew R. Kisow, D.Sc.

Posts: 14696
Joined: Tue May 22, 2007 9:57 am
Answers: 8
Has voted: 2 times
Been upvoted: 5 times

Re: Simple GUI

Post by jvierra »

Sorry but there is not enough information to answer your question.

Suggestion: To do repeated actions in a form use a timer tick.