// MemStatConfigDlg.h : Çì´õ ÆÄÀÏ // #pragma once #include #include #include "ServiceScriptInfo.h" #include "afxwin.h" // CServiceInstallerDlg ´ëÈ­ »óÀÚ class CServiceInstallerDlg : public CDialog { // »ý¼º public: CServiceInstallerDlg(CWnd* pParent = NULL); // Ç¥ÁØ »ý¼ºÀÚ // ´ëÈ­ »óÀÚ µ¥ÀÌÅÍ enum { IDD = IDD_MEMSTATCONFIG_DIALOG }; protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV Áö¿ø // ±¸Çö protected: HICON m_hIcon; // ¸Þ½ÃÁö ¸Ê ÇÔ¼ö¸¦ »ý¼ºÇß½À´Ï´Ù. virtual BOOL OnInitDialog(); afx_msg void OnSysCommand(UINT nID, LPARAM lParam); afx_msg void OnPaint(); afx_msg HCURSOR OnQueryDragIcon(); DECLARE_MESSAGE_MAP() public: afx_msg void OnBnClickedBtnInstall(); afx_msg void OnBnClickedBtnUninstall(); afx_msg void OnBnClickedOk(); void DispCurStatus(); CString m_strEditExplaination; CString m_strNowStatus; CServiceScriptInfo m_info; int m_nComboIdx; CString m_strServiceName; CComboBox m_comboService; CComboBox m_comboServiceType; afx_msg void OnCbnSelchangeComboService(); void InitServiceCombo(void); BOOL InstallService( int nAppNum, int nServiceType = 0 ); BOOL UnInstallService( int nAppNum ); afx_msg void OnCbnSelchangeComboServiceType(); int m_nServiceType; };