Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

62 lines
1.6 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1998 - 1998
  6. //
  7. // File: newsub.h
  8. //
  9. //--------------------------------------------------------------------------
  10. #if !defined(AFX_NEWSUB_H__A1B96B93_6A82_11D1_8560_00C04FC31FD3__INCLUDED_)
  11. #define AFX_NEWSUB_H__A1B96B93_6A82_11D1_8560_00C04FC31FD3__INCLUDED_
  12. #if _MSC_VER >= 1000
  13. #pragma once
  14. #endif // _MSC_VER >= 1000
  15. // newsub.h : header file
  16. //
  17. /////////////////////////////////////////////////////////////////////////////
  18. // CDlgNewSubnet dialog
  19. class CDlgNewSubnet : public CACSDialog
  20. {
  21. // Construction
  22. public:
  23. CDlgNewSubnet(CWnd* pParent = NULL); // standard constructor
  24. // Dialog Data
  25. //{{AFX_DATA(CDlgNewSubnet)
  26. enum { IDD = IDD_NEWSUBNET };
  27. CString m_strSubnetName;
  28. //}}AFX_DATA
  29. // Overrides
  30. // ClassWizard generated virtual function overrides
  31. //{{AFX_VIRTUAL(CDlgNewSubnet)
  32. protected:
  33. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  34. //}}AFX_VIRTUAL
  35. public:
  36. void SetNameList(CStrArray* pNames) { m_pNameList = pNames;};
  37. // Implementation
  38. protected:
  39. CStrArray* m_pNameList;
  40. // Implementation
  41. protected:
  42. // Generated message map functions
  43. //{{AFX_MSG(CDlgNewSubnet)
  44. afx_msg void OnChangeEditsubnetname();
  45. virtual void OnOK();
  46. //}}AFX_MSG
  47. DECLARE_MESSAGE_MAP()
  48. };
  49. //{{AFX_INSERT_LOCATION}}
  50. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  51. #endif // !defined(AFX_NEWSUB_H__A1B96B93_6A82_11D1_8560_00C04FC31FD3__INCLUDED_)