123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 |
- #if !defined(AFX_Account_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)
- #define AFX_Account_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif
- #ifndef __AFXEXT_H__
- #include <afxext.h>
- #endif
- class Account : public CFormView
- {
- CArray<CStringArray, CStringArray>m_List1array;
- BOOL m_bAddNew;
- protected:
- Account();
- DECLARE_DYNCREATE(Account)
- public:
-
- enum { IDD = IDD_DLGAccount };
- CComboBox m_comboname;
- CSortListCtrl2 m_List1;
- CStatic m_static1;
- CString m_account;
- CString m_psw;
- CString m_psw2;
-
- public:
- public:
- void SetRights(CString rights);
- CString GetRights();
- BOOL IsExist(CString account,CString name);
- void GetData();
- void ListSelChange();
- void ClearCtrl();
- void FillGrid();
-
-
- public:
- virtual void OnInitialUpdate();
- protected:
- virtual void DoDataExchange(CDataExchange* pDX);
-
- protected:
- virtual ~Account();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
-
-
- afx_msg void OnBUTsave();
- afx_msg void OnBUTdel();
- afx_msg void OnBUTclose();
- afx_msg void OnClickList2(NMHDR* pNMHDR, LRESULT* pResult);
- afx_msg void OnBUTadd();
- afx_msg void OnBUTbm1();
- afx_msg void OnBUTbm6();
- afx_msg void OnBUTbm2();
- afx_msg void OnBUTbm3();
- afx_msg void OnBUTbm4();
- afx_msg void OnBUTbm5();
-
- DECLARE_MESSAGE_MAP()
- };
- #endif
|