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.
66 lines
1.5 KiB
66 lines
1.5 KiB
#ifndef __LG__REPORT__SETUP__DLG__H__INCLUDED__
|
|
#define __LG__REPORT__SETUP__DLG__H__INCLUDED__
|
|
|
|
#pragma once
|
|
|
|
#include "LgReportSetupSettings.h"
|
|
|
|
class CLgReportSetupDlg : public CDialog
|
|
{
|
|
// Construction
|
|
public:
|
|
CLgReportSetupDlg(CWnd* pParent = NULL); // standard constructor
|
|
virtual ~CLgReportSetupDlg(){}
|
|
|
|
public:
|
|
BOOL DoModal( HWND hParentWnd, CLgReportSettings& settings );
|
|
|
|
public:
|
|
// Dialog Data
|
|
//{{AFX_DATA(CLgReportSetupDlg)
|
|
enum { IDD = IDD_REPORT_SETUP_DLG };
|
|
CSpinButtonCtrl m_SpinAccessPort;
|
|
CEdit m_EditAccessName;
|
|
CButton m_CheckAccessEnable;
|
|
CEdit m_EditAccessPort;
|
|
CSpinButtonCtrl m_SpinSitePort;
|
|
CEdit m_EditSitePort;
|
|
CEdit m_EditSiteName;
|
|
CEdit m_EditSiteAddress;
|
|
CListCtrl m_ListSite;
|
|
//}}AFX_DATA
|
|
|
|
|
|
// Overrides
|
|
// ClassWizard generated virtual function overrides
|
|
//{{AFX_VIRTUAL(CLgReportSetupDlg)
|
|
public:
|
|
virtual BOOL DestroyWindow();
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
//}}AFX_VIRTUAL
|
|
|
|
// Implementation
|
|
protected:
|
|
|
|
// Generated message map functions
|
|
//{{AFX_MSG(CLgReportSetupDlg)
|
|
virtual BOOL OnInitDialog();
|
|
afx_msg void OnButtonSiteAdd();
|
|
afx_msg void OnButtonSiteDelete();
|
|
afx_msg void OnItemchangedListSite(NMHDR* pNMHDR, LRESULT* pResult);
|
|
afx_msg void OnChangeEditSite();
|
|
virtual void OnOK();
|
|
afx_msg void OnCheckAccess();
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
|
|
private:
|
|
CLgReportSettings m_Settings;
|
|
|
|
private:
|
|
BOOL m_bChangedByList;
|
|
BOOL m_bChangedByEdit;
|
|
};
|
|
|
|
#endif
|