add fonc in dick.h and start wpf