for training wpf