📄 arom1.cpp
字号:
// Arom1.cpp : implementation file//#include "stdafx.h"#include "水箱实验.h"#include "Arom1.h"#ifdef _DEBUG#define new DEBUG_NEW#undef THIS_FILEstatic char THIS_FILE[] = __FILE__;#endif/////////////////////////////////////////////////////////////////////////////// CArom1 dialogCArom1::CArom1(CWnd* pParent /*=NULL*/) : CDialog(CArom1::IDD, pParent){ //{{AFX_DATA_INIT(CArom1) m_controlmode1 = -1; //}}AFX_DATA_INIT}void CArom1::DoDataExchange(CDataExchange* pDX){ CDialog::DoDataExchange(pDX); //{{AFX_DATA_MAP(CArom1) DDX_Radio(pDX, IDC_MAN1, m_controlmode1); //}}AFX_DATA_MAP}BEGIN_MESSAGE_MAP(CArom1, CDialog) //{{AFX_MSG_MAP(CArom1) ON_BN_CLICKED(IDC_MAN1, OnMan1) ON_BN_CLICKED(IDC_AUTO1, OnAuto1) ON_BN_CLICKED(IDC_SERIES1, OnSeries1) ON_WM_PAINT() //}}AFX_MSG_MAPEND_MESSAGE_MAP()/////////////////////////////////////////////////////////////////////////////// CArom1 message handlersvoid CArom1::OnMan1() { // TODO: Add your control notification handler code here if(IsDlgButtonChecked(IDC_MAN1)) { m_controlmode1=man_control1; } }void CArom1::OnAuto1() { // TODO: Add your control notification handler code here if(IsDlgButtonChecked(IDC_AUTO1)) { m_controlmode1=auto_control1; } }void CArom1::OnSeries1() { // TODO: Add your control notification handler code here if(IsDlgButtonChecked(IDC_SERIES1)) { m_controlmode1=series_control1; } }void CArom1::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 + -