14.11.2019 Views

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

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Exercise<br />

Exercise 2 – Conversion, Formatting<br />

• Add two TextBox objects to your application.<br />

− One will be used to insert the Resistance of an Resistor, the other one will be used to insert the<br />

Curr<strong>en</strong>t.<br />

− Add a label.<br />

− Wh<strong>en</strong> the button is clicked the Voltage should be calculated and pres<strong>en</strong>ted in the label (V = R x I)<br />

− The result should be pres<strong>en</strong>ted with a maximum of two decimal digits.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!