Quantcast
Channel: Interfusion - WPF
Browsing all 3 articles
Browse latest View live

Run a Method Repeatedly Based on a Timer in a WPF App

While building a WPF app, I needed to update a ListBox once a minute with data from SQL. I tried doing a SQLDependency, but the table was too large, updated too often, and the server was too small. So...

View Article


Copy Selected Items in WPF Listbox to Clipboard

First you need to create the CanExecute and Executed methods in your code like sovoid CopyCmdExecuted(object target, ExecutedRoutedEventArgs e){     ListBox lb = e.OriginalSource as ListBox;     string...

View Article


Create a Hyper-V Virtual Machine with C#

Creating a Virtual Guest with C# took alot of trial and error even with the current resources on the web. So I thought I would publish a series on how to create a virtual machine and add the required...

View Article
Browsing all 3 articles
Browse latest View live