Category: C# / .Net / WPF
A simple guide to using delegates in C#. It should be suitable for anybody but is particularly aimed at C/C++ programmers who are more used to using function pointers and …
Example 1: In Windows Forms applicationsCreate a new Windows Forms Application:For WinForms applications we make use of the System.Windows.Forms.TimerSome common Timer tasks are to:1. Subscribe to the event that is …
A minimalist explanation as follows.1. Create the HTTP Web Request Create the WebRequest object from the from the Universal Resource Identifier (URI) you supply eg2. Send the HTTP request and …
Antmicro Migrant is available from here:https://github.com/antmicro/MigrantTo get started do the following steps:1. Create a new console application in Visual Studio:2. Install the ‘Migrant’ NuGet packageSelect Tools > NuGet Package Manager …
Very easy to do. Just execute the following steps:1. Create a new WinForms Project2. Add the WebBrowser control from the ToolBox.Select View > ToolBox. Select WebBrowser in the Common Controls:3. …
This basically replicates the “Simple C# Web Server” that is done over at “David’s” Blog:https://codehosting.net/blog/BlogEngine/post/Simple-C-Web-Server I use pretty much the same code – I have given the code the once-over …
Some particularly useful links:http://stackoverflow.com/questions/8778320/how-to-use-gecko-in-c-sharp https://xinyustudio.wordpress.com/2015/07/04/embedding-web-browsers-in-winform-applications/#more-3695See this link if you’re interested in using Gecko in a WPF project:https://www.technical-recipes.com/2017/using-the-gecko-web-browser-in-wpf/Installing and using the latest GeckoFX-45.01. Create a new WinForms application:2. Install the GeckoFX …
Some few tips and instructions on how to bind data items contained in a List to a WPF ListView.Create a new empty WPF Application:Then create a new ViewModel class for …
UPDATE: There is an improved version of this technique, one which does not need to create Views, which can be found at the following link:https://www.technical-recipes.com/2018/navigating-between-views-in-wpf-mvvm/This technique has been already discussed …
Some instructions on how to bind the visibility of a XAML button control to a boolean value in a ViewModel class.1. Create a new WPF application2. Add the View Model …