How to make a Sortable ObservableCollection C#

Time ago i had to implement a sortable observable collection that was able to sort its members based on different parameters. After long and long searching i found this code, and i report it here so it can be useful for readers too. You can use the SortableObservableCollection in this ...

Read More »

Multilanguage applications with C# with database support

[5/3/2012: I updated this post with a new version of this library for WPF, keeping this post separated because for Winforms this library is still okay. Check it here] Download the sample application: https://mesta-automation.com/Downloads/changeLanguage.rar As i wrote in an earlier post, the best way to realize a multilanguage application is to get ...

Read More »

Standard colors on HMI

The lack of a standard on what colors to use on HMI screens is a serious problem, because the most of HMI graphic pages depended on the personal taste of the engineer that realized it. It’s not the first time that i see purple buttons, blue leds and green backgrounds. ...

Read More »

7 Segment Display with WPF with a custom font

7 segment displays is one of the best way to show present values in industrial programs. Operators are used to see numbers and values with  7 segment led characters, and if the operator feels comfortable with what he sees, he works better and in a more correct way. So it’s ...

Read More »

Free set of 240 icons

This is a small (and almost useless) preview of the set, that contains more useful icons for sure: Icons are downloadable from this page: http://www.iconarchive.com/category/application/aesthetica-2-icons-by-dryicons.html to see the complete set (that is really big, around 240 icons).

Read More »

Create a multi-page application with WPF (HMI-like)

This article explains a very simple and straightforward approach to create a multi-page navigation with WPF. If you need to use dependency injection and DI containers, check this article on WPF navigation. When working in automation, you often use HMI devices that allow you to draw graphics pages and navigate ...

Read More »