Handling mouse event commands in Listview controls in WPF / MVVM

Some instructions on how to intercept events when clicking on Listview controls in WPF / MVVM. Step 1: Create a new WPF application in Visual Studio Step 2: Ensure necessary resources are added System.IO.Compression System.IO.Compression.FileSystem System.Windows.Interactivity Step 3: Add the MainWindowViewModel class MainWindowViewModel.cs Step 4: Update the MainWindow.xaml to create the Listview example MainWindow.xaml Step …

Continue reading ‘Handling mouse event commands in Listview controls in WPF / MVVM’ »

How to automatically increment build versions in Visual Studio

Some instructions on how to automatically increment the build number of your Visual Studio project. What was important to me was to automatically increment the build and version number of my executable files using Visual Studio. Some important StackOverflow links helped me to achieve this: https://stackoverflow.com/questions/356543/can-i-automatically-increment-the-file-build-version-when-using-visual-studio https://stackoverflow.com/questions/826777/how-to-have-an-auto-incrementing-version-number-visual-studio To demonstrate the instructions contained in the StackOverflow …

Continue reading ‘How to automatically increment build versions in Visual Studio’ »

Reporting the percentage progress of large file downloads in C# / WPF

When downloading very large files from an online source, it can sometimes appear that the program has frozen or crashed when in fact it is still busy downloading and/or writing to disk. This post that shows you how to report the percentage of large file sizes in addition to the overall progress of all downloads …

Continue reading ‘Reporting the percentage progress of large file downloads in C# / WPF’ »