Friday, January 27

Create custom window in Wpf Application


Hello Once again, today tutorial is about how to create a custom window in wpf application, and how to integrate this application like other normal window by adding functionality into it. So without any further delay let’s get started, this tutorial is based on WPF technology, in which you code in xaml and c# languages, WPF is an acronym for Windows Presentation Foundation, Microsoft Visual studio c# 2010 or lower version are built with WPF technology.

Saturday, January 21

Xna Move Ball with arrow keys using c# code


XNA library developed by Microsoft which we use to develop a game with very little effort because it is built with huge classes you only need to use these classes and with very small effort you can develop a very perfect game. This library has solved many problems of a programmer because you do not to be an expert of c# while using this library.

Tuesday, January 17

Media Player Guide in WPF (XAML) and c# code

Hello Guys, today i'm gonna show you how to make media player in wpf application, its very simple, so lets get started.
Steps

  • Lets begin with xaml (Designe) code of application. Wpf provides Media Element control which is used to load media files, in the toolbox you will find it, you can drag and drop onto your mainWindow or write a xaml code, Media Element is the class so in the angular brackets you will write MediaElement then you will give Name to your Media Element, Name is same like you are creating an object of respective class.

Friday, January 13

Paint Application in WPF (XAML) and C# Code

Hello guys, today i'm gonna show you how to make a simple paint application in wpf application using XAML for its GUI and c# for its back end coding, this application is equipped with Buttons, labels and InkCanvas,
so lets start it, first of all open MS visual Studio C# 2010, open a new project (WPF application), you will be shown a window, in the designer window we will make GUI of application, here is the screenshot, you have to follow these steps to make this application.
  • Divide your main Grid into two columns by writing this code

            <Grid.ColumnDefinitions >
                  <ColumnDefinition Width="100*" />
                    <ColumnDefinition Width="425*" />
                  </Grid.ColumnDefinitions>


          Tuesday, January 3

          LUDO Board in WPF (XAML) Code




          <Window x:Class="WpfApplication1.MainWindow"
                  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                  Title="MainWindow" Height="500" Width="500">

          Monday, January 2

          Chess Board in WPF (XAML) code


          <Window x:Class="WpfApplication1.MainWindow"        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                  Title="MainWindow" Height="350" Width="525">