CorpSms/DLG_User_Inport2.h
2025-02-27 16:58:16 +08:00

78 lines
2.0 KiB
C++

#if !defined(AFX_DLG_USER_INPORT_H__ACD53297_1D40_4A26_ABC7_C03F613558C3__INCLUDED_)
#define AFX_DLG_USER_INPORT_H__ACD53297_1D40_4A26_ABC7_C03F613558C3__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DLG_User_Inport2.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// DLG_User_Inport2 dialog
#include "..\public\SortList\SortList.h"
#include "DLG_User_ModifyP.h"
typedef CTypedPtrList<CPtrList, PAddress*> CAddress;
class CFGAddress;
class CFPAddress;
class DLG_User_Inport2 : public CDialog
{
public:
BOOL m_bInport;
long m_lAddressType;
CAddress m_User;
BOOL m_bReMobile;
BOOL m_bExportAll;
CString m_strName;
protected:
CAdoRecordSet * m_pAdoRS;
TCHAR m_szGroupID[32];
TCHAR m_szLocal[128];
// Construction
public:
void SetOutportName( CString strName);
BOOL User_Export();
void InitList();
void SetInport(CAdoRecordSet * pAdoRS,const TCHAR * szGroupID,long lAddressType,BOOL bExportAll);
DLG_User_Inport2(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(DLG_User_Inport2)
enum { IDD = IDD_USER_INPORT2 };
CButton m_B_ReMobile;
CComboBox m_C_RecordSplit;
CComboBox m_C_FieldSplit;
CButton m_B_Tips;
CEdit m_E_FileName;
CSortList m_L_List;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(DLG_User_Inport2)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(DLG_User_Inport2)
virtual BOOL OnInitDialog();
virtual void OnOK();
afx_msg void OnUserInportSelall();
afx_msg void OnUserInportClear();
afx_msg void OnUserInportGetfile();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DLG_USER_INPORT_H__ACD53297_1D40_4A26_ABC7_C03F613558C3__INCLUDED_)