mirror of https://github.com/tongzx/nt5src
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.
58 lines
987 B
58 lines
987 B
#ifndef MANAGEVIRTUALIPSPAGE_H
|
|
#define MANAGEVIRTUALIPSPAGE_H
|
|
|
|
#include "stdafx.h"
|
|
|
|
#include "resource.h"
|
|
|
|
#include "MNLBUIData.h"
|
|
|
|
class ManageVirtualIPSPage : public CPropertyPage
|
|
{
|
|
public:
|
|
enum
|
|
{
|
|
IDD = IDD_MANAGE_VIRTUAL_IPS_PAGE,
|
|
};
|
|
|
|
ManageVirtualIPSPage( ClusterData* p_clusterData,
|
|
UINT ID = ManageVirtualIPSPage::IDD );
|
|
|
|
// member controls
|
|
CIPAddressCtrl clusterIP;
|
|
|
|
CIPAddressCtrl virtualIP;
|
|
|
|
CButton addVirtualIP;
|
|
|
|
CButton removeVirtualIP;
|
|
|
|
CListBox virtualIPSList;
|
|
|
|
// overrides of CPropertyPage
|
|
virtual void DoDataExchange( CDataExchange* pDX );
|
|
|
|
virtual BOOL OnInitDialog();
|
|
|
|
virtual void OnOK();
|
|
|
|
// message handlers
|
|
afx_msg void OnAddVirtualIP();
|
|
|
|
afx_msg void OnRemoveVirtualIP();
|
|
|
|
protected:
|
|
ClusterData* m_clusterData;
|
|
|
|
void
|
|
SetControlData();
|
|
|
|
void
|
|
ReadControlData();
|
|
|
|
|
|
DECLARE_MESSAGE_MAP()
|
|
|
|
};
|
|
|
|
#endif
|