Home / Tag: WPF

Tag Archives: WPF

Writing your first HMI project in C# – WPF

UPDATE 08/03/2017: I see that this article is quite popular, however it takes a simple approach to get you started, by using timers and other shortcomings. If you want to build your HMI with WPF and MVVM you can check also my new series HMI with C# and WPF. In ...

Read More »

How to use Windows 7 dialogs with WPF

Wpf is an advanced technology to build responsive user interfaces, but for many tasks (MessageBox, Folder Browser, Progress Dialog) you still have to use the old Windows Forms dialogs. Windows 7 replaced this old forms with new ones to provide a better User Interface and a better feeling to their ...

Read More »

Real-time Line charts with WPF and Dynamic Data Display

When logging datas from sensors it’s important to visualize them with a powerful real-time chart. In automation especially it’s common to analyze processes with the help of charts to predict and regulate the process. One of the most powerful charts (and for many the best) is Dynamic Data Display, an ...

Read More »

WPF Touch Keyboard

As i previously did with Keypad, i rewrote the code of the for a WPF touch keyboard based on Wosk project on Codeplex. This keyboard both support upper and lower case letter, it’s completely sizable and it’s good-looking. I packed this together with keypad for convenience, and you can download ...

Read More »

WPF and multithread: debugging with Console

You can download the sample here: https://www.mesta-automation.com/Downloads/multithread.rar With WPF it’s almost a must to use multiple threads to keep the User Interface responsive, and debugging them can be a problem when they are complex. Usually i debug the background threads with the Console, while keeping the Main Window visible, like in ...

Read More »

Keypad for WPF applications with touch-screen

This is a keypad that i often use in my applications. You can download the source code and a sample application from here:https://www.mesta-automation.com/Downloads/keypad.rar The original graphic and concepts has been taken from here: http://wosk.codeplex.com/ (check for the latest source code) and this control comes with the original license attached (it’s a free ...

Read More »

WPF Gauge with samples

Get the latest source for CircularGauge.dll with samples from my github repository. As i mentioned in an earlier post i often use EvelynT Gauge for my industrial software. Because of the limits of the original source code i made some changes to scale it automatically, to use databinding on min-max values ...

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 »

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 »