75 lines
1.9 KiB
C++
75 lines
1.9 KiB
C++
#if !defined(AFX_DLG_User_InportC_H__907361C9_CF7A_4088_AC4B_6EF114AA3CCE__INCLUDED_)
|
|
#define AFX_DLG_User_InportC_H__907361C9_CF7A_4088_AC4B_6EF114AA3CCE__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
// DLG_User_InportC.h : header file
|
|
//
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// DLG_User_InportC dialog
|
|
#include "..\public\SortList\SortList.h"
|
|
|
|
class CFCAddress;
|
|
class CFSAddress;
|
|
class DLG_User_InportC : public CDialog
|
|
{
|
|
public:
|
|
BOOL m_bInport;
|
|
CListCtrl * m_pList;
|
|
BOOL m_bReMobile;
|
|
|
|
protected:
|
|
long m_lExportType;
|
|
CWnd * m_pParent;
|
|
CFCAddress * m_pFCAddress;
|
|
CFSAddress * m_pFSAddress;
|
|
CAdoRecordSet m_AdoRS;
|
|
TCHAR m_szLocal[128];
|
|
|
|
// Construction
|
|
public:
|
|
long ReadLine(CFile *file, char * pSplit,char *szBuf, long lLen);
|
|
BOOL User_Inport();
|
|
BOOL User_Export();
|
|
void InitList();
|
|
void SetInport(CListCtrl * pList,BOOL bInport, long lType );
|
|
DLG_User_InportC(CWnd* pParent = NULL); // standard constructor
|
|
|
|
// Dialog Data
|
|
//{{AFX_DATA(DLG_User_InportC)
|
|
enum { IDD = IDD_USER_INPORTC };
|
|
CButton m_B_Tips;
|
|
CSortList m_L_List;
|
|
CEdit m_E_FileName;
|
|
CButton m_B_ReMobile;
|
|
CComboBox m_C_RecordSplit;
|
|
CComboBox m_C_FieldSplit;
|
|
//}}AFX_DATA
|
|
|
|
|
|
// Overrides
|
|
// ClassWizard generated virtual function overrides
|
|
//{{AFX_VIRTUAL(DLG_User_InportC)
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
//}}AFX_VIRTUAL
|
|
|
|
// Implementation
|
|
protected:
|
|
|
|
// Generated message map functions
|
|
//{{AFX_MSG(DLG_User_InportC)
|
|
virtual BOOL OnInitDialog();
|
|
virtual void OnOK();
|
|
afx_msg void OnUserInportkGetfile();
|
|
//}}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_InportC_H__907361C9_CF7A_4088_AC4B_6EF114AA3CCE__INCLUDED_)
|