First Windows Phone program (one)

Source: Internet
Author: User

Before you create a program, talk about environment configuration issues.

First, VS2013 needs to be upgraded to Update2 or later (the latest is the UPDATE4 version) because the later version is used for mobile

Device Development SDK and other corresponding components.

Second, need computer system for win8.1 Professional Edition or above, My computer is win8.1 Chinese version, used to test the program of virtual machine can use,

But in the writing UI interface designer can not load, after reviewing the material, found that win8.1 Chinese version of the missing Hyper-V virtual components, upgrade to the professional version,

Problem solving.

(Spit slot, install vs or upgrade vs too wasted time AH)

In the top left corner, click File->visual c#->store apps->windows phones Apps named App10

View right file structure

Assets the resources required to store some items in the folder

The referenced third-party class library is stored in the reference

App.xaml is the layout interface

The program configuration file is written in the Appxmanifest

Double click to open App.xaml:

The middle part is a XAML file, the left side is the interface design, you can drag the controls, and I'm using the VS tool blend (tools designed for the design interface)

After opening:

From the left-hand toolbox, drag the button and fill it with red in the lower-right corner, double-click the button to modify the text

After the modification is complete, save, and the designer in VS changes the style:

Finally open the emulator, run the program:

Click App10:

Run successfully

First Windows Phone program (one)

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.