| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- // FirstStepDlg.h : 头文件
- //
- #pragma once
- #include "afxwin.h"
- #include "BtnST.h"
- #include "DialogCfgEhang.h"
- #include "DialogCfgSys.h"
- #include "DialogCfgLine.h"
- #include "DialogCfgFs.h"
- #include "DialogCfgIpo.h"
- // CFirstStepDlg 对话框
- class CFirstStepDlg : public CDialogEx
- {
- private:
- typedef enum
- {
- SUB_NULL_ACTIVE = 0,
- SUB_MW_ACTIVE,
- SUB_DEV_ACTIVE,
- SUB_LINE_ACTIVE
- } ACTIVE_SUB_DLG;
- // 构造
- public:
- CFirstStepDlg(CWnd* pParent = NULL); // 标准构造函数
- // 对话框数据
- enum { IDD = IDD_FIRSTSTEP_DIALOG };
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
- // 实现
- protected:
- HICON m_hIcon;
- // 生成的消息映射函数
- virtual BOOL OnInitDialog();
- virtual BOOL PreTranslateMessage(MSG* pMsg);
- afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
- afx_msg void OnPaint();
- afx_msg HCURSOR OnQueryDragIcon();
- afx_msg void OnBnClickedBtnClose();
- afx_msg void OnBnClickedBtnSave();
- afx_msg void OnBnClickedBtnMidware();
- afx_msg void OnBnClickedBtnDev();
- afx_msg void OnBnClickedBtnLine();
- afx_msg void OnMenuAbout();
- afx_msg void OnMenuDbSet();
- afx_msg void OnMenuDsn();
- DECLARE_MESSAGE_MAP()
- private:
- bool __initUI(void);
- void __SetActiveSubDlg(ACTIVE_SUB_DLG a_ActiveSubDlg);
- private:
- ACTIVE_SUB_DLG m_ActiveTab;
- CButtonST m_BtnMidWare;
- CButtonST m_BtnDev;
- CButtonST m_BtnLine;
- CDialogCfgSys m_DlgMidWare;
- CDialogCfgEhang m_DlgEhang;
- CDialogCfgIpo m_DlgIpo;
- CDialogCfgFs m_DlgFs;
- CDialogCfgLine m_DlgLine;
- CCfgDialog* m_DevDlg[3];
- };
|