windows application using wpf [Resolved]

Posted by Chaithragm under ASP.NET on 2/26/2013 | Points: 10 | Views : 1231 | Status : [Member] | Replies : 3
I am new learner of WPF ...
I want to develop a windows application using WPF..
Im using visual studio 2012 ,please tell me the steps to create a project by using WPF




Responses

Posted by: Santhi on: 2/26/2013 [Member] Starter | Points: 50

Up
0
Down

Resolved
Hi

Do the following steps to create a windows application using WPF.

Step 1: Select a new project from the file menu.
Step 2: Select Windows under the Templates in the new project window.
Step 3: Select WPF application.
Step 4 : Give a name for your project and click on OK.

Steps to create a simple application :
Step 1: Drag a button control on the window.
<Grid>

<Button Content="Button" HorizontalAlignment="Left" Margin="333,150,0,0" VerticalAlignment="Top" Width="75" Click="Button_Click_1"/>
</Grid>
Step 2: On button click event write the following code.
MessageBox.Show("Welcome to WPF");

step 3: Now run the application.
You will get the output.


Thanks & Regards,
Santhi .V

Chaithragm, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Chaithragm on: 2/26/2013 [Member] Starter | Points: 25

Up
0
Down
can u please tell when WPF is used to develop the projects? advantages of using?

Chaithragm, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Santhi on: 2/26/2013 [Member] Starter | Points: 25

Up
0
Down
Hi


WPF is used to create rich interactive design applications.You can do many things like 2D,3D animations.
XAML is the language which is used to design the applications.
You can do everything using XAML.
Somany things are there..

You have to read about WPF and its advantages.
Go through some websites like video tutorial.
Refer some books.
Refer this link too:
http://www.wpftutorial.net/

Thanks & Regards,
Santhi .V

Chaithragm, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response