repuploaddlg.h

来自「一个电视台专用的信息管理软件源代码」· C头文件 代码 · 共 85 行

H
85
字号
#if !defined(AFX_REPUPLOADDLG_H__4C6DAC46_FBC3_40F2_B587_F58EFBC109A3__INCLUDED_)
#define AFX_REPUPLOADDLG_H__4C6DAC46_FBC3_40F2_B587_F58EFBC109A3__INCLUDED_

#include "ServerPC.h"	// Added by ClassView
#include "News.h"	// Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
//



/////////////////////////////////////////////////////////////////////////////
// CRepUploadDlg dialog
class CReporterDlg;

class CRepUploadDlg : public CDialog
{
// Construction
public:
	CString ColumnName;
	void Upload();
	CServerPC ServerPC;
	void GetzrAuditList();

	CStringArray allRoles;
	CStringArray allChannels;
	CStringArray allColumns;
	CStringArray allServers;
	int m_ChannelID;
	int m_UserID;
	int m_FileSize;
	unsigned short m_Port;
	CString m_FileName;
	CString m_FilePath ;
	CString m_ServerIP;
	CString m_ServerPath ;
	
	CRepUploadDlg(CWnd* pParent = NULL);   // standard constructor
	BOOL UploadFile(int &FileSize);


// Dialog Data
	//{{AFX_DATA(CRepUploadDlg)
	enum { IDD = IDD_REP_UPLOAD };
	CProgressCtrl	m_Progress;
	CEdit	m_edtTitle;
	CComboBox	m_cmbZRAudit;
	CComboBox	m_cmbUPFormat;
	CComboBox	m_cmbUPColumn;
	CString	m_editUPFileSel;
	CString	m_strTitle;
	CString	m_strDesc;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CRepUploadDlg)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CRepUploadDlg)
	afx_msg void OnUploadBtnup();
	virtual BOOL OnInitDialog();
	afx_msg void OnUploadBtnselfile();
	afx_msg void OnSelchangeUploadCmbcolumn();
	afx_msg void OnUploadBtnAgentup();
	afx_msg void OnBtncancelRinfo();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_REPUPLOADDLG_H__4C6DAC46_FBC3_40F2_B587_F58EFBC109A3__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?