⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ~rightbackup.~h

📁 实时监控
💻 ~H
字号:
#if !defined(AFX_RIGHTBACKUP_H__9B3EB085_A7B7_4E37_84FE_9790A0E0DB3C__INCLUDED_)
#define AFX_RIGHTBACKUP_H__9B3EB085_A7B7_4E37_84FE_9790A0E0DB3C__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// RightBackup.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CRightBackup dialog
#include "../utils/filter_accel.h"
#include "../utils/GridStatic.h"
#include "../utils/label.h"
#include "../utils/TransButton.h"
#include "../utils/transck.h"
#include "../utils/TransCK.h"
#include "../utils/TransGroup.h"
#include "../utils/update_data.h"
#include "../utils/Separator.h"
#include "em_dlg.h"
#include "net_opt.h"
#include "notif_bk.h"

class CRightBackup : public em_dlg<accel_dlg<CDialog> >
{
	TREC_BACKUPTIME opt;
	int recv_sec;
	int total_sec;
	
	virtual void on_join();
	virtual void on_leave();
	
	CString get_alias();

	MSG1(on_bk_begin);
	MSG1(on_bk_finished);
	MSG1(on_bk_failed);
	MSG1(on_bk_canceled);
	MSG1(on_bk_progress);
	
	MSG1(on_logged_out);
	bool backuping;
	
	void reset_state();
// Construction
public:
	CRightBackup(CWnd* pParent = NULL);   // standard constructor

	virtual bool can_leave();
	
// Dialog Data
	//{{AFX_DATA(CRightBackup)
	enum { IDD = IDD_RIGHT_BACKUP };
	CLabel	m_recvd;
	CSeparator	m_s;
	CProgressCtrl	m_prog_bk;
	CComboBox	m_cbwhich;
	CComboBox	m_cbchannel;
	CTransButton	m_cancel;
	CTransButton	m_btn_browse;
	CTransButton	m_backup;
	CLabel	m_title;
	CLabel	m_percent;
	CLabel	m_8;
	CLabel	m_7;
	CLabel	m_5;
	CTransGroup	m_4;
	CLabel	m_3;
	CTransGroup	m_2;
	CLabel	m_1;
	int		m_channel;
	int		m_which;
	CTime	m_bkdate;
	CString	m_bkdir;
	CTime	m_from;
	CTime	m_to;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CRightBackup)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	LRESULT on_update_data(WPARAM, LPARAM);
	// Generated message map functions
	//{{AFX_MSG(CRightBackup)
	virtual BOOL OnInitDialog();
	afx_msg void OnBackup();
	afx_msg void OnBrowse();
	afx_msg void OnSelchangeWhich();
	afx_msg void OnSelchangeChannel();
	afx_msg void OnBtnCancel();
	afx_msg void OnTimer(UINT nIDEvent);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_RIGHTBACKUP_H__9B3EB085_A7B7_4E37_84FE_9790A0E0DB3C__INCLUDED_)

⌨️ 快捷键说明

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