Project Description
The application is a task manager. You can create tasks an attach it to a person, project, software package or Hardware configuration

The goal of this project is to see how easy it is to build a business application in WPF. What are the advantages?

Lonely Business, Open source software. This project is already a few months on codeplex. Many downloads but until know I’ve no response at all.
,
I want to post a new one, a full web browser written in WPF

http://www.aptools.net/Clouds.aspx If somebody is interested let me know



application.png

Lonely Business, Open source software. This project is already a few months on codeplex. Many downloads but until know I’ve no response at all.
,
I want to post a new one, a full web browser written in WPF

http://www.aptools.net/Clouds.aspx If somebody is interested let me know


Introduction

For this article I want to present a business application in WPF

The goal of this project is to see how easy it is to build a business application in WPF. What are the advantages? Is it a real alternative for the classic Winform Application?

I many articles you can see specific problems solved. In this project I want to bundle everything in one project. Some element from this application can be a starting point for your first WPF business application.

I read many articles about WPF on the code project. Special thanks to Sacha Barber, Karl Shifflett and Josh Smith for their interesting articles

The application

The application is a task manager. You can create tasks an attach it to a person, project, software package or Hardware configuration

Visual studio 2008 is required to run this application

To open the solution go to the folder<b>Crm\Code\FrontEnd\</b> and open the solution<b> FrontEnd.sln

The basic from all the screens are made with User Controls (Detail and Grid Screen) it’s an interesting approach. It makes it possible to re-use detail and grid views in different screens.
( Project UserControls)

The Data Access Layer is Classic ADO.Net for an MS Access database. It’s easier to deploy an application like this with MS Access ( Project Data Access ) )

detail.png

What can you see in the application?

Working with a Listview

In the application you can see how you can customize a listview in WPF (You can also work with a data grid in the new service pack 1. The code to do this is almost the same) Layout from a Listview,
Adding Specific controls in Listview (Hyperlink), Sorting, Value Converter (date) , Adding a flexible search engine to the a grid. You can also see the implementation from a master detail screen.

Speech support

The application gives an introduction to the screens and speaks to you when a required field is not filled in.

Spell checker

The spell checker is a cool future from WPF interesting to use in Memo fields

spellchecker.png

Customised Tool tips

You can build your own tooltip layout in WPF. Very interesting

tooltip.png

Animations

In the application I build a little colour animation when a field is not filled-in

Building screens in code

In WPF it's also possible to build very flexibile screens in the code. An example you can see in the search screen, the screen where you can make a selection for the grid.

Criteria.png

DataBinding

How you can bind data to grid or combobox?

Other things

You can see also the implementation of scroll viewers, grid, background colours, customised buttons, tab pages etc.

Conclusion

The general look of WPF application is nicer. We have more possibilities.
The layout is much more flexible in WPF. Problems like, customize tool tips, add special controls on a grid, customize the tab items from a tab control are very easy to solve in WPF

Also the data binding is better in WPF

At some points it takes more time to build screens. To solve this problem I used a code generator to build the screens and grids

If you see WPF in global perspective ( Web development with silverlight based on the same XAML ) you can only believe. I was sceptical about WPF, The only thing I can say now is I love it.

The future.

I want to extend the application with other futures from WPF ( Flow documents, XPS documents , graphics’ etc.-)

I you have a nice idea to extend this application with new possibilities form WPF. Don’t hesitate to contact me.

Last edited Aug 4, 2009 at 11:12 PM by PeterA, version 8