#pragma once // LayerStatesDialog dialog class LayerStatesDialog : public CDialog { DECLARE_DYNAMIC(LayerStatesDialog) OdDbDatabase* m_pDb; public: LayerStatesDialog(OdDbDatabase*, CWnd* pParent = NULL); // standard constructor virtual ~LayerStatesDialog(); // Dialog Data #ifdef AFX_DESIGN_TIME enum { IDD = IDD_DIALOG_LAYER_STATES }; #endif virtual BOOL OnInitDialog(); protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support DECLARE_MESSAGE_MAP() public: afx_msg void OnBnClickedNew(); afx_msg void OnBnClickedDelete(); afx_msg void OnBnClickedUpdate(); afx_msg void OnBnClickedExport(); afx_msg void OnBnClickedImport(); afx_msg void OnBnClickedRestore(); afx_msg void OnBnClickedClose(); CListCtrl m_List; };