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.

Coding Style<br />

C# coding style<br />

• In order to create structured and readable code there are many ”laws” to follow, a few<br />

examples:<br />

− Use ind<strong>en</strong>tation<br />

− The object names should describe the function of the object (for an example loginButton,<br />

passwordTextBox)<br />

− Variable names should be descriptive and meaningful<br />

− Add comm<strong>en</strong>ts that explains the code (//)

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

Saved successfully!

Ooh no, something went wrong!