中间件标准版5.1git,去除基础模块

FirstStepDlg.h 1.5KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. // FirstStepDlg.h : 头文件
  2. //
  3. #pragma once
  4. #include "afxwin.h"
  5. #include "BtnST.h"
  6. #include "DialogCfgEhang.h"
  7. #include "DialogCfgSys.h"
  8. #include "DialogCfgLine.h"
  9. #include "DialogCfgFs.h"
  10. #include "DialogCfgIpo.h"
  11. // CFirstStepDlg 对话框
  12. class CFirstStepDlg : public CDialogEx
  13. {
  14. private:
  15. typedef enum
  16. {
  17. SUB_NULL_ACTIVE = 0,
  18. SUB_MW_ACTIVE,
  19. SUB_DEV_ACTIVE,
  20. SUB_LINE_ACTIVE
  21. } ACTIVE_SUB_DLG;
  22. // 构造
  23. public:
  24. CFirstStepDlg(CWnd* pParent = NULL); // 标准构造函数
  25. // 对话框数据
  26. enum { IDD = IDD_FIRSTSTEP_DIALOG };
  27. protected:
  28. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
  29. // 实现
  30. protected:
  31. HICON m_hIcon;
  32. // 生成的消息映射函数
  33. virtual BOOL OnInitDialog();
  34. virtual BOOL PreTranslateMessage(MSG* pMsg);
  35. afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
  36. afx_msg void OnPaint();
  37. afx_msg HCURSOR OnQueryDragIcon();
  38. afx_msg void OnBnClickedBtnClose();
  39. afx_msg void OnBnClickedBtnSave();
  40. afx_msg void OnBnClickedBtnMidware();
  41. afx_msg void OnBnClickedBtnDev();
  42. afx_msg void OnBnClickedBtnLine();
  43. afx_msg void OnMenuAbout();
  44. afx_msg void OnMenuDbSet();
  45. afx_msg void OnMenuDsn();
  46. DECLARE_MESSAGE_MAP()
  47. private:
  48. bool __initUI(void);
  49. void __SetActiveSubDlg(ACTIVE_SUB_DLG a_ActiveSubDlg);
  50. private:
  51. ACTIVE_SUB_DLG m_ActiveTab;
  52. CButtonST m_BtnMidWare;
  53. CButtonST m_BtnDev;
  54. CButtonST m_BtnLine;
  55. CDialogCfgSys m_DlgMidWare;
  56. CDialogCfgEhang m_DlgEhang;
  57. CDialogCfgIpo m_DlgIpo;
  58. CDialogCfgFs m_DlgFs;
  59. CDialogCfgLine m_DlgLine;
  60. CCfgDialog* m_DevDlg[3];
  61. };