www.pudn.com > endecipher.rar > Dlg_Caeser.h
#if !defined(AFX_DLG_CAESER_H__D28F6545_B5E2_452B_8F93_078D7F978824__INCLUDED_)
#define AFX_DLG_CAESER_H__D28F6545_B5E2_452B_8F93_078D7F978824__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Dlg_Caeser.h : header file
//
#include "FileOperator.h" //Îļþ²Ù×÷
/////////////////////////////////////////////////////////////////////////////
// CDlg_Caeser dialog
class CDlg_Caeser : public CDialog
{
// Construction
public:
CDlg_Caeser(CWnd* pParent = NULL); // standard constructor
char * Encipher(CString a,int k);
char * Decipher(CString a,int k);
// Dialog Data
//{{AFX_DATA(CDlg_Caeser)
enum { IDD = IDD_DIALOG_CASEAR };
CButton m_openp;
CButton m_openc;
CStatic m_sp;
CStatic m_sc;
CStatic m_fp;
CStatic m_fc;
CEdit m_FC;
CEdit m_FP;
CButton m_File;
CButton m_String;
CEdit m_SP;
CEdit m_SC;
CString m_key;
CString m_cipher;
CString m_plain;
int m_t;
CString m_path_read;
CString m_path_write;
CFileOperator file;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDlg_Caeser)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CDlg_Caeser)
afx_msg void OnBUTTONEncipher();
afx_msg void OnRadioF();
afx_msg void OnRadioS();
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_CAESER_H__D28F6545_B5E2_452B_8F93_078D7F978824__INCLUDED_)