#pragma once // CA3 对话框 class CA3 : public CDialog { DECLARE_DYNAMIC(CA3) public: CA3(CWnd* pParent = NULL); // 标准构造函数 virtual ~CA3(); // 对话框数据 enum { IDD = IDD_A3_DIALOG }; protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持 DECLARE_MESSAGE_MAP() public: virtual BOOL OnInitDialog(); afx_msg void OnBnClickedBtngetsp(); afx_msg void OnBnClickedBtnsetsp(); afx_msg void OnBnClickedBtngetgraysp(); afx_msg void OnBnClickedBtnsetgraysp(); afx_msg void OnBnClickedBtngetuvsp(); afx_msg void OnBnClickedBtnsetuvsp(); afx_msg void OnBnClickedBtngetcolorsp(); afx_msg void OnBnClickedBtnsetcolorsp(); private: void OnGetOrSetSp(bool get, int type); public: afx_msg void OnGetOrSetSleepTime(bool get, int type); void UpdateSleepTime(bool get); void OnBnClickedBtngetsleeptime(); afx_msg void OnBnClickedBtnsetsleeptime(); afx_msg void OnBnClickedBtngetcolorsp2(); afx_msg void OnBnClickedBtnsetcolorsp2(); };