71 lines
1.8 KiB
C++
71 lines
1.8 KiB
C++
#if !defined(AFX_DLG_USER_INPORTK_H__907361C9_CF7A_4088_AC4B_6EF114AA3CCE__INCLUDED_)
|
|
#define AFX_DLG_USER_INPORTK_H__907361C9_CF7A_4088_AC4B_6EF114AA3CCE__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
// DLG_User_InportK.h : header file
|
|
//
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// DLG_User_InportK dialog
|
|
#include "..\public\SortList\SortList.h"
|
|
|
|
class CFKAddress;
|
|
class DLG_User_InportK : public CDialog
|
|
{
|
|
public:
|
|
BOOL m_bInport;
|
|
CListCtrl * m_pList;
|
|
BOOL m_bReMobile;
|
|
|
|
protected:
|
|
CFKAddress * m_pFKAddress;
|
|
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(CFKAddress * pFKAddress,CListCtrl * pList,BOOL bInport );
|
|
DLG_User_InportK(CWnd* pParent = NULL); // standard constructor
|
|
|
|
// Dialog Data
|
|
//{{AFX_DATA(DLG_User_InportK)
|
|
enum { IDD = IDD_USER_INPORTK };
|
|
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_InportK)
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
//}}AFX_VIRTUAL
|
|
|
|
// Implementation
|
|
protected:
|
|
|
|
// Generated message map functions
|
|
//{{AFX_MSG(DLG_User_InportK)
|
|
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_INPORTK_H__907361C9_CF7A_4088_AC4B_6EF114AA3CCE__INCLUDED_)
|