简体   繁体   中英

.NET Compact Framework Transparent UserControl

I am programming a mobile application. I need a UserControl (emulating the TabContol navigation - the customer wants the tabs at the top) with a transparent background. The control contains three buttons each with an OnClick handler.

In Googling, I've found a number of solutions for WinForms. But they seemed incompatible with Win Mobile. I used the Christian Helle blog for a transparent label used in the app, but cannot wrap my mind around modifying it for UserControl s.

TIA, Gus

Yeah, it's a complex task - way more complex than it should be, but it is what it is. While I never actually finished Project Resistance , it does have code for transparent user controls

The resistor body itself is a UserControl, the background shows through the surrounding area and it even dynamically draws the color bands so that the resistor body shows through the band transparent areas.

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