www.pudn.com > endecipher.rar > Dlg_Des.h


#if !defined(AFX_DLG_DES_H__5F2A9C20_539D_4CF1_AA89_CE38FC4B4A63__INCLUDED_) 
#define AFX_DLG_DES_H__5F2A9C20_539D_4CF1_AA89_CE38FC4B4A63__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
// Dlg_Des.h : header file 
// 
 
#include "FileOperator.h" 
#include "Des.h" 
 
///////////////////////////////////////////////////////////////////////////// 
// CDlg_Des dialog 
 
class CDlg_Des : public CDialog 
{ 
// Construction 
public: 
	CDlg_Des(CWnd* pParent = NULL);   // standard constructor 
	 
	char * Encipher(CString a); 
	char * Decipher(CString a); 
 
// Dialog Data 
	//{{AFX_DATA(CDlg_Des) 
	enum { IDD = IDD_DIALOG_DES }; 
	CFileOperator file; 
	CStatic	m_fp; 
	CStatic	m_fc; 
	CButton	m_file; 
	CStatic	m_sp; 
	CStatic	m_sc; 
	CButton	m_string; 
	CEdit	m_ps; 
	CEdit	m_cs; 
	CEdit	m_pfp; 
	CEdit	m_cfp; 
	CButton	m_openpf; 
	CButton	m_opencf; 
	CString	m_cfpath; 
	CString	m_pfpath; 
	CString	m_cstring; 
	CString	m_pstring; 
	int		m_t; 
	CString	m_key; 
	CDes des; 
	//}}AFX_DATA 
 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CDlg_Des) 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
 
	// Generated message map functions 
	//{{AFX_MSG(CDlg_Des) 
	afx_msg void OnRadioS(); 
	afx_msg void OnRadioF(); 
	afx_msg void OnBUTTONEncipher(); 
	afx_msg void OnBUTTONDecipher(); 
	afx_msg void OnBUTTONOpenP(); 
	afx_msg void OnBUTTONOpenC(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_DLG_DES_H__5F2A9C20_539D_4CF1_AA89_CE38FC4B4A63__INCLUDED_)