Customize the. net cf control to beautify the Windows Mobile Program Interface

Source: Internet
Author: User
Tags transparent image

Although. Net CF development is efficient and convenient and powerful in enterprise-level development, its interface has always made me sad. In the face of iPhone, I still lowered my head. So I sorted out some common interface controls and processing methods.

The prompt information control is used to dynamically prompt users with some information!

Background gradient: Implements gradient filling of the background color through P/invoke, encapsulates a button for the background color gradient

The image button. The background of the button is an image. When you press the button, another image is displayed alternately, which works quite well in some navigation areas.

Draw a transparent background image and display a transparent image on a form with a background color. This is a method provided by. Net CF, and the key is the last parameter.

Drawimage (image, rectangle destrect, Int Srcx, Int Srcy, Int Srcwidth, Int Srcheight, graphicsunit srcunit, imageattributes imageattr );

Download the demo, including the control source code and call examples. For more information, see msdn.

Keywords:. Net CF, Windows Mobile, interface, UI, control, custom control, beautify Interface

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.