Change this Console to WPF

Bug fix and migrate project to WPF.
problem in mount file.