practice of wpf