1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- #pragma once
- #include "afxcmn.h"
- #include "afxwin.h"
- class CDlgShowNetShareInfo : public CDialog
- {
- DECLARE_DYNAMIC(CDlgShowNetShareInfo)
- public:
- CDlgShowNetShareInfo(CWnd* pParent = NULL);
- virtual ~CDlgShowNetShareInfo();
- enum { IDD = DLG_SHOWNETSHAREINFO };
- protected:
- virtual void DoDataExchange(CDataExchange* pDX);
- virtual void OnOK();
- virtual void OnCancel();
- DECLARE_MESSAGE_MAP()
- public:
- virtual BOOL OnInitDialog();
- virtual BOOL DestroyWindow();
- public:
- void InitCobCtrl();
- void InitListCtrl();
- void FillDataIntoList();
-
- CListCtrl m_list;
- CComboBox m_cob;
- int m_nCurSel;
- BOOL m_bItemChang;
-
-
- CString m_strbranchid;
-
- CString m_strsharedirectory;
-
- int m_nDiskSafeCapacity;
-
- int m_nDiskChangeCapacity;
-
- int m_nPriority;
-
- afx_msg void OnBnClickedSave();
- afx_msg void OnBnClickedAddnetshareinfo();
- afx_msg void OnEnChangeBranchname();
- afx_msg void OnEnChangeSharedirectory();
- afx_msg void OnEnChangeEnablecapacity();
- afx_msg void OnEnChangeChangecapacity();
- afx_msg void OnEnChangePriority();
- afx_msg void OnBnClickedEnabledirectory();
- afx_msg void OnCbnSelchangePhototype();
- afx_msg void OnNMClickNetshareinfo(NMHDR *pNMHDR, LRESULT *pResult);
- afx_msg void OnBnClickedDelete();
- };
|