88 lines
2.5 KiB
C++
88 lines
2.5 KiB
C++
#if !defined(AFX_DLG_CORP_FILE_H__DAB86021_CA35_42BC_B1C4_BF353A83BD38__INCLUDED_)
|
|
#define AFX_DLG_CORP_FILE_H__DAB86021_CA35_42BC_B1C4_BF353A83BD38__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
// DLG_Corp_File.h : header file
|
|
//
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// DLG_Corp_File dialog
|
|
#include "..\public\reportctrl\ReportCtrl.h"
|
|
|
|
class DLG_Corp_File : public CDialog
|
|
{
|
|
public:
|
|
CDialog * m_pDlg;
|
|
long m_lDlgType;
|
|
ANS_Corp_File m_FileReq;
|
|
ANS_Corp_FileData * m_pFileData;
|
|
|
|
CFile m_UpFile;
|
|
long m_lUpAllSize;
|
|
long m_lUpUpSize;
|
|
long m_lUpFileID;
|
|
CString m_strUpFileName;
|
|
|
|
CFile m_DownFile;
|
|
long m_lDownAllSize;
|
|
long m_lDownUpSize;
|
|
long m_lDownFileID;
|
|
CString m_strDownFileName;
|
|
CString m_strDownFilePath;
|
|
CString m_strDownRarFile;
|
|
long m_lFileType;
|
|
|
|
|
|
CImageList m_Image;
|
|
// Construction
|
|
public:
|
|
BOOL SendFrame(unsigned char lFuncType, unsigned char *pFrame, unsigned long lFrameLen);
|
|
void GetCurrentPath(TCHAR *pPath);
|
|
void EnableCtrl( BOOL b );
|
|
BOOL UpFileNext();
|
|
long GetCurrentSelected();
|
|
void SetListText( ANS_Corp_FileData FileData , long lType);
|
|
BOOL ProcessSocket(Socket_Head *pHead);
|
|
void SetParam(ANS_Corp_File File, ANS_Corp_FileData *pFileData,long lDlgType);
|
|
DLG_Corp_File(CWnd* pParent = NULL); // standard constructor
|
|
|
|
// Dialog Data
|
|
//{{AFX_DATA(DLG_Corp_File)
|
|
enum { IDD = IDD_CORP_FILE };
|
|
CProgressCtrl m_P_GDT;
|
|
CReportCtrl m_wndList;
|
|
CString m_strCorpName;
|
|
CString m_strCorpID;
|
|
//}}AFX_DATA
|
|
|
|
|
|
// Overrides
|
|
// ClassWizard generated virtual function overrides
|
|
//{{AFX_VIRTUAL(DLG_Corp_File)
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
//}}AFX_VIRTUAL
|
|
|
|
// Implementation
|
|
protected:
|
|
|
|
// Generated message map functions
|
|
//{{AFX_MSG(DLG_Corp_File)
|
|
virtual BOOL OnInitDialog();
|
|
afx_msg void OnCorpFileAdd();
|
|
afx_msg void OnDblclkCorpFileList(NMHDR* pNMHDR, LRESULT* pResult);
|
|
afx_msg void OnCorpFileModify();
|
|
afx_msg void OnCorpFileDel();
|
|
afx_msg void OnCorpFileUpload();
|
|
afx_msg void OnCorpFileDownload();
|
|
//}}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_FILE_H__DAB86021_CA35_42BC_B1C4_BF353A83BD38__INCLUDED_)
|