Changed Client from WinForms to WPF