Blake O'Hare .com

Tag: C#

How to convert a UI Control in WPF/Silverlight/WinForms into a Bitmap
Posted 5.5 years ago.
Sometimes you just need to convert a FrameworkElement/Control into a bitmap even though the control ...
Creating an Auto-updating Application in .NET/C#
Posted 5.6 years ago.
Many applications nowadays automatically update themselves to the latest version when you launch the...
Gamelight Tutorial: Part 5 - Sprite Sheet Magic
Posted 5.7 years ago.
One of the more tedious parts of making 2D sprite-based games is dealing with sprite cropping and al...
Gamelight Tutorial: Part 4 - Sound and Music
Posted 5.7 years ago.
The next major component of games after interactivity and graphics is sound. Luckily, sounds and mus...
Gamelight Tutorial: Part 3 - Images
Posted 5.7 years ago.
This tutorial continues on with the codebase of the previous tutorials. Images are relatively simp...
Gamelight Tutorial: Part 2 - Getting User Input
Posted 5.7 years ago.
In the last installment, I showed you how to set up a Silverlight project with a basic Gamelight gam...
Gamelight Tutorial: Part 1 - The Basic Game Loop
Posted 5.7 years ago.
Gamelight is a free game programming library for Silverlight I created some time back. Recently in S...
What is .NET? Microsoft Buzzwords Demystified.
Posted 5.8 years ago.
There are many things Microsoft has released that are very clear by their name. Internet Explorer. P...
IronPython Shell In Your Browser
Posted 5.8 years ago.
This is not a complete implementation. I created it for debugging purposes in another Silverlight/Ir...
IronPython in Silverlight 2.0 and Higher
Posted 5.8 years ago.
IronPython was introduced to Silverlight back in the Silverlight 1.0 days. For the first time, peopl...
Blake's C# Style Guidelines
Posted 5.9 years ago.
Since I will be leaving the world of C# fairly soon, I figured I'd store my knowledge in a time-caps...
Editing Images in WPF / C# / .NET
Posted 6.3 years ago.
For some reason it's so hard to find a simple, to-the-point reference on how to edit regular 32-bit ...
Saving an Image in Silverlight to File
Posted 6.4 years ago.
I created a nifty drawing program in Silverlight. Unfortunately there doesn't seem to be any native ...
Background Worker in C#
Posted 6.4 years ago.
There are lots of factors you have to consider when creating a multi-threaded program in .NET. Going...