perjantai 3. lokakuuta 2008

.Net 4.0

Is there going to be a support for Microsoft Surface programming in .Net Framework 4.0? If someone knows I would be glad to hear the answer.. :)

torstai 2. lokakuuta 2008

Cool games made with XNA

I was just wandering around the net and found a few interesting games made with XNA. While we are waiting for a stable release of XNA 3.0 there's time to take a look at some cool things people have made with the earlier versions.
http://skasoftware.wordpress.com/page/3/ (The Dishwasher: Dead Ninja)



http://www.youtube.com/watch?v=vY9Ufm5zXeY (Racketball game. Screenshot below)


And at the end, a little video showing off the game made with XNA 3.0:

http://www.youtube.com/watch?v=H8KU1TXT66U

Check back tommorow for more interesting posts about .net world!

Timo Salomäki

Textbox with custom border

People always ask how to create a TextBox with a custom border in C#. Unfortunately you can't achieve the goal by overriding the Paint() or PaintBackground() events. TextBox is one of those controls whose drawing is handled by Windows so for example Paint() event is never fired.

We can tweak around this problem by creating a custom control which holds a TextBox control inside it. The textbox's Borderstyle must be set to none. Now we can draw the border in custom controls Paint() event.

Remember! Textbox has to be placed like this:

Location: (1,1)
Size: (textBox.Width - 2, textBox.Height - 2)

Now you just have to draw a rectangle around the textbox area:

graphics.DrawRectangle(borderPen, new Rectangle(0, 0, this.Width - 1, this.Height - 1));

keskiviikko 1. lokakuuta 2008

Screenshot from Visual Studio 2010 Team System


Visual Studio 2010

Microsoft has announced the future version of Visual Studio development environment. There will be key innovations in the following pillars:


  • Democratizing Application Lifecycle Management
  • Enabling emerging trends
  • Inspiring developer delight
  • Riding the next generation platform wave
  • Breakthrough Departmental Applications

If you want to learn more about Visual Studio 2010 Team System, please take a look at the following videos at Channel9:

http://channel9.msdn.com/visualstudio/