home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / pserv.cpl / pserv-2.4.exe / source / PageStartup.h < prev    next >
C/C++ Source or Header  |  2005-01-05  |  2KB  |  71 lines

  1. #if !defined(AFX_PAGESTARTUP_H__82E2D77D_3271_492C_8363_0A5F27B6E596__INCLUDED_)
  2. #define AFX_PAGESTARTUP_H__82E2D77D_3271_492C_8363_0A5F27B6E596__INCLUDED_
  3.  
  4. #if _MSC_VER > 1000
  5. #pragma once
  6. #endif // _MSC_VER > 1000
  7. // PageStartup.h : header file
  8. //
  9.  
  10. /////////////////////////////////////////////////////////////////////////////
  11. // CPageStartup dialog
  12.  
  13. #include "cservice.h"
  14.  
  15. class CPageStartup : public CPropertyPage
  16. {
  17.     DECLARE_DYNCREATE(CPageStartup)
  18.  
  19. // Construction
  20. public:
  21.     CPageStartup();
  22.     ~CPageStartup();
  23.  
  24.     void SetService(CService* instance);
  25.  
  26. // Dialog Data
  27.     //{{AFX_DATA(CPageStartup)
  28.     enum { IDD = IDD_SERVICE_STARTUP_PAGE };
  29.     CEdit    m_ecServiceName;
  30.     CEdit    m_ecPassword2;
  31.     CButton    m_btAllowServiceToInteractWithDesktop;
  32.     CButton    m_btLogonAsUser;
  33.     CButton    m_btLogonAsSystem;
  34.     CEdit    m_ecPassword;
  35.     CEdit    m_ecUserName;
  36.     int        m_dwStartupType;
  37.     CString    m_strDescription;
  38.     CString    m_strDisplayName;
  39.     CString    m_strBinaryPathName;
  40.     CString    m_strServiceName;
  41.     //}}AFX_DATA
  42.  
  43.  
  44. // Overrides
  45.     // ClassWizard generate virtual function overrides
  46.     //{{AFX_VIRTUAL(CPageStartup)
  47.     protected:
  48.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  49.     //}}AFX_VIRTUAL
  50.  
  51. // Implementation
  52. protected:
  53.     CService* m_pService;
  54.     void IOnBrowseImagePath();
  55.     void OnSaveData(CDataExchange* pDX);
  56.     void OnLoadData(CDataExchange* pDX);
  57.     // Generated message map functions
  58.     //{{AFX_MSG(CPageStartup)
  59.     afx_msg void OnLogonAsUser();
  60.     afx_msg void OnLogonSystemAccount();
  61.     afx_msg void OnBrowseImagePath();
  62.     //}}AFX_MSG
  63.     DECLARE_MESSAGE_MAP()
  64.  
  65. };
  66.  
  67. //{{AFX_INSERT_LOCATION}}
  68. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  69.  
  70. #endif // !defined(AFX_PAGESTARTUP_H__82E2D77D_3271_492C_8363_0A5F27B6E596__INCLUDED_)
  71.