14 // 15 enum { IDD = IDD_PAGEEXPORT }; 16 17 protected: 18 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 19 20 DECLARE_MESSAGE_MAP() 21 public: 22 afx_msg void OnBnClickedButtonsavefile(); 23 afx_msg void OnBnClickedButtonexport(); 24 }; PageExport.cpp 1 // PageExport.cpp : 2 // 3 4 #include "stdafx.h" 5 #include "EXIMPORT.h" 6 #include "PageExport.h" 7 #include "afxdialogex.h" 8 #include "..\\FaceId\\Source\\FaceId.h" 9 #include "..\\FaceId\\Source\\FaceId_Item.h" 10 11 // CPageExport 12 13 IMPLEMENT_DYNAMIC(CPageExport, CDialogEx) 14 15 CPageExport::CPageExport(CWnd* pParent /*=NULL*/) 16 : CDialogEx(CPageExport::IDD, pParent) 17 { 18 } 19 20 CPageExport::~CPageExport() 21 { 22 } 23 24 void CPageExport::DoDataExchange(CDataExchange* pDX) 25 { 26 CDialogEx::DoDataExchange(pDX); 27 } 28 29 30 BEGIN_MESSAGE_MAP(CPageExport, CDialogEx) 31 ON_BN_CLICKED(IDC_BUTTONSAVEFILE, &CPageExport::OnBnClickedButtonsavefile) 32 ON_BN_CLICKED(IDC_BUTTONEXPORT, &CPageExport::OnBnClickedButtonexport) 33 END_MESSAGE_MAP() 34 35 36 // CPageExport 37 38 // 39 void CPageExport::OnBnClickedButtonsavefile() 40 {
14 15 16 17 18 19 20 21 22 23 24 // enum { IDD = IDD_PAGEEXPORT }; protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV DECLARE_MESSAGE_MAP() public: afx_msg void OnBnClickedButtonsavefile(); afx_msg void OnBnClickedButtonexport(); }; PageExport.cpp 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 // PageExport.cpp : // #include "stdafx.h" #include "EXIMPORT.h" #include "PageExport.h" #include "afxdialogex.h" #include "..\\FaceId\\Source\\FaceId.h" #include "..\\FaceId\\Source\\FaceId_Item.h" // CPageExport IMPLEMENT_DYNAMIC(CPageExport, CDialogEx) CPageExport::CPageExport(CWnd* pParent /*=NULL*/) : CDialogEx(CPageExport::IDD, pParent) { } CPageExport::~CPageExport() { } void CPageExport::DoDataExchange(CDataExchange* pDX) { CDialogEx::DoDataExchange(pDX); } BEGIN_MESSAGE_MAP(CPageExport, CDialogEx) ON_BN_CLICKED(IDC_BUTTONSAVEFILE, &CPageExport::OnBnClickedButtonsavefile) ON_BN_CLICKED(IDC_BUTTONEXPORT, &CPageExport::OnBnClickedButtonexport) END_MESSAGE_MAP() // CPageExport // void CPageExport::OnBnClickedButtonsavefile() {
20160906170280058005.docx