Extensionising Wpf (or Chris’ fun with Extension methods and Wpf)
The adventures of me in Wpf and Extension methods. Do I succeed or do I fail? Read to find out the stunning conclusions!!
The adventures of me in Wpf and Extension methods. Do I succeed or do I fail? Read to find out the stunning conclusions!!
Last week I was tasked with developing a new App for the guys I work with, (not a developers app you understand, but for actual normal users!!! Luckily it puts me smack bang where I…
Not a development post (in the true meaning of the word :)) but more about a website I found a few days ago… Jamendo.com – I spend my coding time listening to music, it’s how…
I’ve got the following situation: DateTime? myDt = (DateTime) row[“Column”]; This fails when retrieving a DBNull value, so we check for that: DateTime? myDT = (row[“Column”] == DBNull.Value) ? null : (DateTime) row[“Column”]; This won’t…
I’ve been practicing my F# recently – I took a gap for a little bit, and just got back into it. I’ve been working through my ‘Foundations of F#’ book, and have hit a slight…
You wouldn’t have thought it would be that hard to print word documents from within C# – hook up the project to the Word Interop dlls – open the document and print. Easy. In fairness…
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…
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 =…
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…
One of the main advantages of WPF is that you can write all the backend code and then shunt the design work to a professional designer – you know – one of those guys who…