| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 |
- #if !defined(AFX_LoginReg2_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)
- #define AFX_LoginReg2_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // LoginReg2.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // LoginReg2 form view
- #ifndef __AFXEXT_H__
- #include <afxext.h>
- #endif
- class LoginReg2 : public MyFormView
- {
- CString m_curname;
- BOOL m_bInit;
- CString m_scurdate;
- CString m_scurdate2;
- CArray<CStringArray, CStringArray>m_List1array;
- protected:
- CString GetWeekName(CString date);
- LoginReg2(); // protected constructor used by dynamic creation
- DECLARE_DYNCREATE(LoginReg2)
- // Form Data
- public:
- //{{AFX_DATA(LoginReg2)
- enum { IDD = IDD_DLGLoginReg2 };
- CSortListCtrl3 m_List1;
- CStatic m_static1;
- CSpinButtonCtrl m_spinday;
- CSpinButtonCtrl m_spinmonth;
- CSpinButtonCtrl m_spinyear;
- UINT m_year;
- UINT m_month;
- //}}AFX_DATA
- // Attributes
- public:
- // Operations
- public:
- int GetWeekPos(CString weekname);
- int FindName(CString name);
- void GetTimeRange();
- void ShowLoginData();
- void FillGrid(BOOL bStatus=0);
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(LoginReg2)
- public:
- virtual void OnInitialUpdate();
- virtual BOOL PreTranslateMessage(MSG* pMsg);
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- virtual ~LoginReg2();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- // Generated message map functions
- //{{AFX_MSG(LoginReg2)
- afx_msg void OnBUTclose();
- afx_msg void OnChangeEDITyear();
- afx_msg void OnChangeEDITmonth();
- afx_msg void OnBUTmoney();
- afx_msg void OnBUTmoney5();
- afx_msg void OnClickList2(NMHDR* pNMHDR, LRESULT* pResult);
- afx_msg void OnButton5();
- //}}AFX_MSG
- afx_msg void OnCustomdrawList ( NMHDR* pNMHDR, LRESULT* pResult );
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_LoginReg2_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)
|