The Silverlight lottery

Today is the big day for the Belgian Silverlight User Group.  This evening we are having our launch event!!!

There are some Silverlight books that will be distributed among the attendees with a lottery.  And what could we do better then build a virtual lottery in Silverlight 2.0.

The complete source code of this project is available here.  It especially shows how you can animate particles in a canvas and how to embed fonts.

Advertisements

One Response to “The Silverlight lottery”

  1. Henry Says:

    There is a small bug in drawName() function.

    int naam = random.Next(0, Names.canidateList.Count – 1);
    should be:
    int naam = random.Next(0, Names.canidateList.Count);

    otherwise, the last item in candidate list will never be draw out except remain it only.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: