Getting Started with Windows Phone

Requirements for better Response

Software(OS) - Windows 7/8

Hardware - 4 GB RAM with 2 GB needed space needed on Hard Drive

Download Link for Visual Studio Express 2012 for Windows Phone:
Visual Studio Downloads
After installing the Visual Studio Express 2012, follow the steps as mentioned below to develop the ‘Hello world’ example.
Step1: Create new Windows phone Application after clicking File ->New ->Project


Give it to the name as ‘Hello World” and click on ok button, select the operating system either 7.1/8.0


Your First Page will look like this


Step 2: Take a button from ToolBox and put in the Grid name as ‘ContentPanel’ and create the click event like in Web Application after changing its content as 'Click Me'

<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
<
Button Content="Click Me" Margin="113,180,95,334" Click="Button_Click_1" />
</
Grid>


Step 3: Write the ‘MessageBox.Show("Hello World");’ in the click event of the button (.cs file of the page).

private void Button_Click_1(object sender, RoutedEventArgs e)
{

       MessageBox.Show("Hello World")
}  


Step 4: Your page will look like this in emulator environment after running the application by the F5.


Step 5: Click on ‘Click Me’ Button and you will the alert with ‘Hello World’ Text ……:)