简体   繁体   中英

How can I make a Enso style application in C#

背景应该是透明的,但文字应该不是透明的。

By making an "Enso style" application you mean the Enso launcher?

Here is a screenshot of it: alt text http://enscreenshots.softonic.com/s2en/68000/68880/3_ensolauncher03.jpg

I would suggest at looking at the open-source C# Cropper application. He does a similar looking GUI with transparent background. You can open up his project and see how he implements it.

alt text http://img352.imageshack.us/img352/726/cropperuijt3.png

You can set the background color, and transparency key properties to the same color and that will make the background transparent. The rest of the control items will stay non-transparent, as long as they are different colors.

Enso is open source too.

You can directly peek at they source code.

http://code.google.com/p/enso/

Let us know how they do it when you find out!.

UPDATE

It looks like they use something called Cairo. If you can link it from C# you're done.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM