void ProjectResourcesApp::OnBnClickedBtnProject1() { // TODO: Add your control notification handler code here CFile file; file.Open(APPLICATION->GetRecentFile(0)); }