Setting up TeamCity…

By Charlotte

I’m gradually in the process of shifting our CruiseControl based CI service to use JetBrain’s TeamCity Professional solution (both are free). The main reason for moving to TeamCity is that whilst CruiseControl worked and did…

Invoking UI Changes in WPF

By Charlotte

Again another reminder, in WinForms I would have done: private delegate void UpdateUiTextDelegate(Control control, string text); private void UpdateUiText(Control control, string text) { if(InvokeRequired) { Invoke(new UpdateUiTextDelegate(UpdateUiText), new object[] {control, text}); return; } control.Text =…

Enabling / Disabling buttons in WPF

By Charlotte

I’m really only putting this in to remind myself — having come from a WinForms background, I’m used to: _btnOK.Enabled = false; but in WPF this is: _btnOK.IsEnabled = false; For some reason I (without…

Consolas!!! GRRRRRR

By Charlotte

Why oh why does everyone and their Dad now use Consolas??? Am I the only one that perceives the font as ‘fuzzy’? I’ve read quite a few blogs recently loving the Consolas font such as…

WPF Resources from other DLL’s

By Charlotte

I spent a little bit of time trying to figure this out, to be honest – it’s available in quite a few locations on google, but I thought I’d add it here as well. The…

Production LINQ!

By Charlotte

I’m happy today as I’ve written my first bit of Production LINQ code in the form of LINQ-to-XML. It’s not the most complicated bit of code – only a grabbing of data from a file,…

WPF Image Rendering on Headers

By Charlotte

I’ve been having a little bit of trouble lately with WPF, in particular the rendering of an image on the header of the TabItem or GroupBox headers (for example), I have the following code: ……