📄 dlg_caesar.h
字号:
#if !defined(AFX_DLG_CAESAR_H__B7CA3071_EF00_4B32_B745_70D06A58B0CF__INCLUDED_)
#define AFX_DLG_CAESAR_H__B7CA3071_EF00_4B32_B745_70D06A58B0CF__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Dlg_Caesar.h : header file
//
#include "FileOperator.h"
#include "Dict.h"
/////////////////////////////////////////////////////////////////////////////
// Dlg_Caesar dialog
class Dlg_Caesar : public CDialog
{
// Construction
public:
Dlg_Caesar(CWnd* pParent = NULL); // standard constructor
char * DeCipher(char * x,int k);
// Dialog Data
//{{AFX_DATA(Dlg_Caesar)
enum { IDD = IDD_CAESAR_DIALOG };
CButton m_openp;
CButton m_openc;
CStatic m_fp;
CStatic m_ssc;
CStatic m_ssp;
CButton m_string;
CButton m_file;
CStatic m_fc;
CEdit m_PFP;
CEdit m_CFP;
CEdit m_SC;
CEdit m_SP;
int m_s;
int m_t;
CString m_sc;
CString m_sp;
CString m_cfpath;
CString m_pfpath;
CString m_plain;
CString m_cipher;
CFileOperator file;
CDict Dict;
long m_time;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(Dlg_Caesar)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
int key;
// Generated message map functions
//{{AFX_MSG(Dlg_Caesar)
virtual BOOL OnInitDialog();
afx_msg void OnButtonEXIT();
afx_msg void OnRADIOString();
afx_msg void OnRADIOFile();
afx_msg void OnOpenCipherButton();
afx_msg void OnOpenPlainButton();
afx_msg void Setdict();
afx_msg bool Search(char x[]);
afx_msg void OnDecipherButton();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DLG_CAESAR_H__B7CA3071_EF00_4B32_B745_70D06A58B0CF__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -