Skip to main content

Building and using the Windows Frontend

The Windows Frontend is written in C# using Visual Studio 2019. It is a WinForms Application rather than a WPF Application. I typically write my Desktop Applications in WinForms rather than WPF as I can quickly build the UI the way I want it to look and behave. I have messed around with WPF but just have not gotten the hang of it. It is something on my list of things to learn.

In this sample application, I did learn about globalization and localization. Although this application is a good example of one way to accomplish localization, I will not go into details on this as it is not the focus of this project. If you are a native speaker of German, Spanish, or Lao, please update the localization files as I used Google Translate to create the entries in the following resource files. I'm sure the localized text is nonsense.

Hardware and Software used

Code - The Visual Studio Solution

The Visual Studio Solution contains several projects. There is much more included in this project than what is required to exchange information with a WebSocket server. The TeelSys.Web.WsClient class is the heart of the example and is the one to focus on for implementing a Web Socket client in a C# application.

Using the Application

Once you have compiled the code, you may run the application. Below are some screenshots showing the application in use.