choose.cpp
来自「同学的毕业设计。基于Hpc密码的选择重传协议的数据传输。希望能供大家参考。谢谢 」· C++ 代码 · 共 60 行
CPP
60 行
// Choose.cpp : implementation file
//
#include "stdafx.h"
#include "TestServer.h"
#include "Choose.h"
#include "TestServerDlg.h"
#include "FILEencrypt.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CChoose dialog
CChoose::CChoose(CWnd* pParent /*=NULL*/)
: CDialog(CChoose::IDD, pParent)
{
//{{AFX_DATA_INIT(CChoose)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
void CChoose::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CChoose)
// NOTE: the ClassWizard will add DDX and DDV calls here
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CChoose, CDialog)
//{{AFX_MSG_MAP(CChoose)
ON_BN_CLICKED(IDC_BUTTON_FILE, OnButtonFile)
ON_BN_CLICKED(IDC_BUTTON_HPCBACKN, OnButtonHpcbackn)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CChoose message handlers
void CChoose::OnButtonFile()
{
// TODO: Add your control notification handler code here
CFILEencrypt dlg;
dlg.DoModal();
}
void CChoose::OnButtonHpcbackn()
{
CTestServerDlg dlg;
dlg.DoModal();
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?