transformed project to WPF