MFC realizes shutdown and logout to restart the source code