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