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