wpf
refactor wpf querytool