.h"
# include "math.h"
# include "Setting.h"
В
# ifdef _DEBUG
# define new DEBUG_NEW
# undef THIS_FILE
static char THIS_FILE [] = __ FILE__;
# endif
В
//////////////////////////////////////////// /////////////////////////////////
// CAboutDlg dialog used for App About
В
class CAboutDlg: public CDialog
{
public:
CAboutDlg ();
// Dialog Data ​​p>
// {{AFX_DATA (CAboutDlg)
enum {IDD = IDD_ABOUTBOX};
//}} AFX_DATA
В
// ClassWizard generated virtual function overrides
// {{AFX_VIRTUAL (CAboutDlg)
protected:
virtual void DoDataExchange (CDataExchange * pDX);// DDX/DDV support
//}} AFX_VIRTUAL
// Implementation
protected:
// {{AFX_MSG (CAboutDlg)
//}} AFX_MSG
DECLARE_MESSAGE_MAP ()
};
В
CAboutDlg :: CAboutDlg (): CDialog (CAboutDlg :: IDD)
{
// {{AFX_DATA_INIT (CAboutDlg)
//}} AFX_DATA_INIT
}
В
void CAboutDlg :: DoDataExchange (CDataExchange * pDX)
{
CDialog :: DoDataExchange (pDX);
// {{AFX_DATA_MAP (CAboutDlg)
//}} AFX_DATA_MAP
}
В
BEGIN_MESSAGE_MAP (CAboutDlg, CDialog)
// {{AFX_MSG_MAP (CAboutDlg)
//}} AFX_MSG_MAP
END_MESSAGE_MAP ()
В
//////////////////////////////////////////// /////////////////////////////////
// CKurs_LipinDlg dialog
В
CKurs_LipinDlg :: CKurs_LipinDlg (CWnd * pParent/* = NULL * /)
: CDialog (CKurs_LipinDlg :: IDD, pParent)
{
// {{AFX_DATA_INIT (CKurs_LipinDlg)
m_len = _T ("");
//}} AFX_DATA_INIT
// Note that LoadIcon does not require a subsequent DestroyIcon in Win32
m_hIcon = AfxGetApp () -> LoadIcon (IDR_MAINFRAME);
}
В
void CKurs_LipinDlg :: DoDataExchange (CDataExchange * pDX)
{
CDialog :: DoDataExchange (pDX);
// {{AFX_DATA_MAP (CKurs_LipinDlg)
DDX_Control (pDX, IDC_LIST1, m_list1);
DDX_Control (pDX, IDC_STATIC1, m_label);
DDX_Text (pDX, IDC_STATIC1, m_len);
//}} AFX_DATA_MAP
}
В
BEGIN_MESSAGE_MAP (CKurs_L...