↧
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 ArticleCopy 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 ArticleCreate 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