The change to Windows application from console application.