home       archive       my company      currently working on       about me      my articles       contact       rss

Warhead + Free Custom Window WPF Resource

 Res1

A long time ago we had a running Lab division which created "Avalon" prototypes and published them for the community at large. Things started getting busy and we had to close it down. But now we are planning on starting it again. It will be a little while before we are able to bring up a new site and everything, but in the meantime we can start offering the resources right here through this blog.

The first resource is a little custom window framework we keep around for a quickstart. Essentially there are two windows with a little bit of C# code. These Windows provide a custom frame for your application. The entire window surface is drag capable. All the code is written for you in C#. The code is extremely simple and can be converted to VB with ease. The second window is a little bit special. It simulates a Glass look in WPF and you can have it work in Windows XP too.

Hope you find it useful. There is no license, no warranty, no nothing, so go nuts with it! :)

Download Custom Window WPF Resource (128kb)

Next up are Windows Media Player style glass buttons.





Posted on September 20, 2008 05:19

E-mail | Permalink | Comments (2) | Trackback | Digg! | Kick it! | DZone it! | del.icio.us

Related posts

Comments

October 11. 2008 03:06

Do you have any plans to make this window useable with windowsformshost ? Currently windowsformshost does not work with windows that allowstransparency

justin

October 11. 2008 03:57

WinFormsHost uses GDI+ for rendering, not WPF, so AllowsTransparency causes a lot of problems. You can force it to work (search the net, there are some examples out there), but I wouldn't recommend it as it causes unforeseen errors sometimes and is a huge performance hog.

There a PerPixelTransparency example on CodeProject, I think, where you can use a 32-bit alpha map (PNG) to create a similar effect on Windows Forms itself without using WPF, but it is a huge undertaking as EVERYTHING - including buttons and other normal controls - need to be custom drawn on it.

Dax Pandhi

Add comment


 

  Country flag

[b][/b] - [i][/i] - [u][/u]- [quote][/quote]



Live preview

January 7. 2009 00:39



Powered by the awesome BlogEngine.NET 1.3.0.0 | Designed by Nukeation Studios. www.nukeation.com

Sign in


Subscribe to Dax Pandhi's Blog by Email