"Original" + "Reference" how to implement a splash form under. Net cf

Source: Internet
Author: User

I searched for. Net CF in the yard today and found several articlesArticleMentioned. net CF cannot implement the splash article. I have done related development in the project, so I posted a piece of Article specially to share this annoying article with you. net CF splash.

First, we create a new WM smart device application.ProgramProject, and then use the default form1 form to set its size to 192,192. Set the formborderstyle of the form to none. If you do not want to display the title of the form on the taskbar, clear the text of the form, drag a label to the center of the form, and write something at will.

My designs include:

In the form_load () event, add the followingCode:

 

Code
Rectangle Screen = Screen. primaryscreen. bounds;
This . Location =   New Point (screen. Width -   This . Width) /   2 , (Screen. Height -   This . Height) /   2 );

OK, run it, and the effect is as follows:

So far, the splash of a shanzhai has come out for your reference!

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.