Last update: 31.10.2015

Let's start Visual Studio Express 2013 for Windows. Select File->New Project... from the menu. The project creation window will open in front of us:

On the left side of the window, select Visual C#->Store Apps->Windows Phone Apps. And among the templates of the new project, select Blank App (Windows Phone) , give some name to the project, for example, let's call it HelloApp. And click OK.

And Visual Studio will create a new project:

The Blank App template project has the following nodes by default:

    The Assets directory containing the image files used

    App.xaml and App.xaml.cs - xaml application resource file and c# application code file, respectively

    MainPage.xaml and MainPage.xaml.cs - application window GUI file and window code file in c#, respectively

    Package.appxmanifest - application manifest file

At this initial stage, for now, files are of value to us MainPage.xaml and MainPage.xaml.cs. Let's open the MainPage.xaml file, which represents the GUI:

On the left, in the form of a phone, we will have a graphic designer window. On the right is the graphical interface markup window in xaml. The graphical interface in this case is represented by the MainPage class, which is a separate page. All interface changes that we make will immediately be displayed in the graphic designer, which will give us a visual understanding of how everything will look in the end.

Let's say our application will calculate the amount of the deposit after interest is calculated. To do this, we need a field for entering the amount of the contribution, a field for displaying the result and a button with which we will initiate the calculation of the final amount. So let's change the file code MainPage.xaml in the following way: