Mark Levison

Musings on No Touch Deployment, .NET development and photography

<August 2008>
SuMoTuWeThFrSa
272829303112
3456789
10111213141516
17181920212223
24252627282930
31123456


Navigation

Other

Blogroll

Subscriptions

Post Categories



Wednesday, April 21, 2004 - Posts

Mono - a viable implementation of .NET on Linux

This story: Mono Project Grows as Novell Hires 2 Volunteers and WinForms: How to Use Mono to Get Microsoft .NET GUI Based Applications Running on Linux by Charlie Calvert are starting to convince me that Mono will one day be a way to run .NET applications on Linux.

For us to run our app on Mono, we will need to see System.Window.Forms and System.Drawing implemented and the issues around WINE sorted out. But I'm optimistic in the next couple of years, we might actually be able to run .NET applications on Linux.

posted Wednesday, April 21, 2004 3:07 PM by mlevison with 0 Comments

Pen.PenType HatchFill and TextureFill - explained

In VS .NET Help I complained about Pen.PenType being poorly documented. Well its time to solve that problem.

I'd assumed that PenType was settable - its not. PenType is readonly. So PenType just reflects state that's been set elsewhere. Ahahah. It turns out that Pen has constructors that take a Brush. So to get a Pen with a PenType HatchFill just create the Pen with a HatchBrush. You can even change the Pen's Brush via Pen.Brush.

Simple. In retrospect I think it would've been helpful if the documentation for Pen.PenType mention how to reach these states. Alternatively if some of sample code in the docs had used PenType - I would have found it and backtracked.

posted Wednesday, April 21, 2004 2:57 PM by mlevison with 0 Comments




Powered by Dot Net Junkies, by Telligent Systems