Nov 052009

*Update: Custom WPF Controls in F# is now available on Codeplex at http://wpffsharp.codeplex.com. You can still download the source from my site here. (Works best withVSTS2010 Beta1)

Screen Shot

Screen Shot

It is a translation of SAMS WPF Control Development Unleashed: Building Advanced User Interfaces written by Pavan Podila, and Kevin Hoffman to F#. I picked this book for translation as it covers many advanced topics that other books shy away from. I have been a reader of Pavan Podila’s blog Pixel in Gene for some time, and I have also been waiting for a book dedicated advanced UIs, so when I heard that he was coming out with such a book I knew it was going to be exactly what I needed.

WPF Control Development Unleashed

WPF Control Development

The aim behind this project is to serve as an extensive collection non trivial examples of WPF/F# UI. As I introduce people to F#, one thing I am constantly  asked is; can it do GUI. Now I can say yes, … well sort of. So far I have only translated 3,500 lines of F# code, and I am still not finished.

I’m doing this primarily as a learning experience and as a forcing function. I have already learned a lot about WPF and F#, and I plan on continuously improving the code as I learn more. Other contributions to the project would be very welcome, and if you spot mistakes or know of any better implementations please don’t hesitate to let me know.

I hope that you find this code to be useful to your WPF and F# projects , and happy coding.

-Matt

Read on for a list of known bugs;

Continue reading »

Posted by Matt Tagged with: , , , , ,
Jun 032009

This is essentially a 3D browser for Visual Studio Team Foundation Server Work Items. Each of the cubes represents a Work Item, and each of the lines represents a Work Item Link.

Just after adding a large number of nodes

Just after adding a large number of nodes

Before layout

A large network before layout

Continue reading »

Posted by Matt Tagged with: , , , ,
May 252009

You can use it here

Ultimately what I intend on building is a fully fledged time tracking software powered by SQL Reporting. Unfortunately that will take quite a bit of time to build, and given that some the tools I want to use for it are not out yet, I decided to build it in stages. The first stage is a simple WPF application which stores the data in a file. I’m using this to start tracking my time now so that when I do build the proper version I will have some realistic data to feed it.

Tracking time for the 3D Work Item Browser

Tracking time for the 3D Work Item Browser

Continue reading »

Posted by Matt Tagged with: , ,
Mar 152009

Procedural modeling is an incredible technique for generating highly detailed scenes, as can be seen in the YouTube video. The screen shots below are from my little F# procedural modeling engine.

A point rotated around to make a circle and then revolved to make a sphere
A point rotated around to make a circle and then revolved to make a sphere

Continue reading »

Posted by Matt Tagged with: , , ,
Mar 152009
A pace scene

A space scene

A closer look

A closer look

Interaction with normal 2D wpf controls

3D Interaction with normal 2D wpf controls

Posted by Matt Tagged with: , , ,
Sep 202008
Colors, sizes, tags, and names

Fingerprint Work Mate 2

Try it out using click once deployment: Fingerprint Comarison Software (Requires .Net 3.5 SP1 or better)

Continue reading »

Posted by Matt Tagged with: , ,
Sep 082008

Try it out using click once deployment: 3D Wikipedia Browser

Browsing the vast Wikipedia informational network using a little app I built using C#, WPF, graph layout techniques and XML parsing.

Continue reading »

Posted by admin Tagged with: , , ,