common.h

来自「这学期刚学密码学」· C头文件 代码 · 共 69 行

H
69
字号
#if !defined(AFX_COMMON_H__860E6C09_E568_4EDA_9D13_DD275DF24438__INCLUDED_)
#define AFX_COMMON_H__860E6C09_E568_4EDA_9D13_DD275DF24438__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Common.h : header file
//
#include "BigNumber.h"
/////////////////////////////////////////////////////////////////////////////
// CCommon dialog

class CCommon : public CPropertyPage
{
	DECLARE_DYNCREATE(CCommon)

// Construction
public:
	CCommon();
	~CCommon();

	unsigned long iCount, *iLength;
	int IsEncrypt, SameCipher, CipherEmpty;
	CBigNumber P, Q, N, E, D, EUL;
// Dialog Data
	//{{AFX_DATA(CCommon)
	enum { IDD = IDD_COMMON };
	CEdit	m_CLTR;
	CEdit	m_Showtime;
	CEdit	m_Q;
	CEdit	m_P;
	CEdit	m_N;
	CEdit	m_E;
	CEdit	m_D;
	CEdit	m_CLT;
	CComboBox	m_KEYLEN;
	CEdit	m_CIT;
	int		m_keylen;
	CString	m_cit;
	CString	m_clt;
	//}}AFX_DATA


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

// Implementation
protected:
	// Generated message map functions
	//{{AFX_MSG(CCommon)
	afx_msg void OnGeneratekys();
	afx_msg void OnEncrypt();
	afx_msg void OnDecrypt();
	afx_msg void OnClear();
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

};

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

#endif // !defined(AFX_COMMON_H__860E6C09_E568_4EDA_9D13_DD275DF24438__INCLUDED_)

⌨️ 快捷键说明

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