BEIJER-Slides-4-Training HMI iX Scripting [en]
BEIJER - HMI iX Slide da Formação Técnica iX - Script C# [en] Da empresa BRESIMAR AUTOMAÇÃO (Aveiro / Portugal) Autoria: BEIJER ELECTRONICS
BEIJER - HMI iX
Slide da Formação Técnica iX - Script C# [en]
Da empresa BRESIMAR AUTOMAÇÃO (Aveiro / Portugal)
Autoria: BEIJER ELECTRONICS
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Exercise<br />
Exercise 4 – If/Switch statem<strong>en</strong>ts<br />
• Insert a TextBox and a Button. Wh<strong>en</strong> the user clicks on the button a Switch statem<strong>en</strong>t shall<br />
check if the user wrote Red, Blue, Yellow or Gre<strong>en</strong>. If yes, change the color of the Form<br />
(Hint: this.BackColor).<br />
• Change the background color of the Form based on the calculated Voltage.<br />
− < 10 -> Yellow<br />
− > 10 and < 15 -> Gre<strong>en</strong><br />
− > 15 -> Red