#if !defined(AFX_DLG_CORP_USER_H__CEE8799E_7B02_4A25_A7DC_12FC616F9844__INCLUDED_)
#define AFX_DLG_CORP_USER_H__CEE8799E_7B02_4A25_A7DC_12FC616F9844__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DLG_Corp_User.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// DLG_Corp_User dialog
#include "..\public\reportctrl\ReportCtrl.h"
typedef CTypedPtrList<CPtrList, ANS_Corp_UserData2*>  CUser;

class CUserDlg;
class DLG_Corp_User : public CDialog
{
public:
	CUserDlg  *          m_pDlg;
	CUser                m_User;
	ANS_Corp_User2        m_UserReq;
	long                 m_lModifyCount;
protected:
	CImageList m_Image;
	ANS_Corp_UserData2 *  m_pUserData;

// Construction
public:
	long FindSMSNum();
	BOOL FindSMSNum(const TCHAR *pSMSNum, POSITION exPos);
	BOOL FindUserName(const TCHAR *pName, POSITION exPos);
	BOOL FindLoginName(const TCHAR *pLoginName, POSITION exPos);
	void SetParam(ANS_Corp_User2 User, ANS_Corp_UserData2 *pUserData);
	long GetCurrentSelected();
	DLG_Corp_User(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(DLG_Corp_User)
	enum { IDD = IDD_CORP_USER };
	CEdit	m_E_FindMsg;
	CReportCtrl	m_wndList;
	CString	m_strSMSNum;
	CString	m_strSMSUsed;
	CString	m_strTotal;
	CString	m_strCorpName;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(DLG_Corp_User)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(DLG_Corp_User)
	virtual BOOL OnInitDialog();
	afx_msg void OnDblclkCorpUserList(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnCorpUserSee();
	afx_msg void OnCorpUserAdd();
	afx_msg void OnCorpUserResetpasswd();
	afx_msg void OnCorpUserSdk();
	afx_msg void OnCorpUserFind();
	afx_msg void OnCorpUserDel();
	afx_msg void OnCorpUserSendmsg();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DLG_CORP_USER_H__CEE8799E_7B02_4A25_A7DC_12FC616F9844__INCLUDED_)