📄 arom2.cpp
字号:
// Arom2.cpp : implementation file//#include "stdafx.h"#include "水箱实验.h"#include "Arom2.h"#ifdef _DEBUG#define new DEBUG_NEW#undef THIS_FILEstatic char THIS_FILE[] = __FILE__;#endif/////////////////////////////////////////////////////////////////////////////// CArom2 dialogCArom2::CArom2(CWnd* pParent /*=NULL*/) : CDialog(CArom2::IDD, pParent){ //{{AFX_DATA_INIT(CArom2) m_controlmode2 = -1; //}}AFX_DATA_INIT}void CArom2::DoDataExchange(CDataExchange* pDX){ CDialog::DoDataExchange(pDX); //{{AFX_DATA_MAP(CArom2) DDX_Radio(pDX, IDC_MAN2, m_controlmode2); //}}AFX_DATA_MAP}BEGIN_MESSAGE_MAP(CArom2, CDialog) //{{AFX_MSG_MAP(CArom2) ON_BN_CLICKED(IDC_AUTO2, OnAuto2) ON_BN_CLICKED(IDC_MAN2, OnMan2) ON_BN_CLICKED(IDC_SERIES2, OnSeries2) ON_WM_PAINT() //}}AFX_MSG_MAPEND_MESSAGE_MAP()/////////////////////////////////////////////////////////////////////////////// CArom2 message handlersvoid CArom2::OnAuto2() { // TODO: Add your control notification handler code here if(IsDlgButtonChecked(IDC_MAN2)) { m_controlmode2=man_control2; }}void CArom2::OnMan2() { // TODO: Add your control notification handler code here if(IsDlgButtonChecked(IDC_AUTO2)) { m_controlmode2=auto_control2; } }void CArom2::OnSeries2() { // TODO: Add your control notification handler code here if(IsDlgButtonChecked(IDC_SERIES2)) { m_controlmode2=series_control2; }}void CArom2::OnPaint() { CPaintDC dc(this); // device context for painting // TODO: Add your message handler code here // Do not call CDialog::OnPaint() for painting messages}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -