1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- // SelMemberCardFund.cpp : implementation file
- //
- #include "stdafx.h"
- #include "ylgl.h"
- #include "SelMemberCardFund.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // SelMemberCardFund dialog
- SelMemberCardFund::SelMemberCardFund(CWnd* pParent /*=NULL*/)
- : CDialog(SelMemberCardFund::IDD, pParent)
- {
- //{{AFX_DATA_INIT(SelMemberCardFund)
- m_radio1 = 0;
- m_mode=0;
- //}}AFX_DATA_INIT
- }
- void SelMemberCardFund::DoDataExchange(CDataExchange* pDX)
- {
- CDialog::DoDataExchange(pDX);
- //{{AFX_DATA_MAP(SelMemberCardFund)
- DDX_Radio(pDX, IDC_RADIO1, m_radio1);
- //}}AFX_DATA_MAP
- }
- BEGIN_MESSAGE_MAP(SelMemberCardFund, CDialog)
- //{{AFX_MSG_MAP(SelMemberCardFund)
- //}}AFX_MSG_MAP
- END_MESSAGE_MAP()
- /////////////////////////////////////////////////////////////////////////////
- // SelMemberCardFund message handlers
- void SelMemberCardFund::OnOK()
- {
- // TODO: Add extra validation here
- UpdateData();
- CDialog::OnOK();
- }
- BOOL SelMemberCardFund::OnInitDialog()
- {
- CDialog::OnInitDialog();
-
- // TODO: Add extra initialization here
- if(m_mode==1)
- {
- SetWindowText("´òÓ¡Ñ¡Ôñ");
- GetDlgItem(IDC_RADIO1)->SetWindowText("Ã÷ϸ±í");
- GetDlgItem(IDC_RADIO2)->SetWindowText("Åɹ¤µ¥");
- }
- return TRUE; // return TRUE unless you set the focus to a control
- // EXCEPTION: OCX Property Pages should return FALSE
- }
|