#if !defined(AFX_VALVESPECDLG_H__5F68886F_E6AF_474A_8A33_60B5317AD83F__INCLUDED_) #define AFX_VALVESPECDLG_H__5F68886F_E6AF_474A_8A33_60B5317AD83F__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // ValveSpecDlg.h : header file // ///////////////////////////////////////////////////////////////////////////// // CValveSpecDlg dialog #include "Resource.h" #include "WDGRID.h" class CValveSpecDlg : public CDialog { // Construction public: CValveSpecDlg(CWnd* pParent = NULL); // standard constructor // Dialog Data //{{AFX_DATA(CValveSpecDlg) enum { IDD = IDD_VALVE_SPEC }; CListBox m_listValve; int m_iCurIndex; //}}AFX_DATA int m_iOld; WDGrid m_grid; DList m_lstValve; // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CValveSpecDlg) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: void OpenSlide(); void SaveDbf(); void UpdateGrid(); void GetValveSpecList(); // Generated message map functions //{{AFX_MSG(CValveSpecDlg) virtual BOOL OnInitDialog(); afx_msg void OnButtonAdd(); afx_msg void OnPaint(); afx_msg void OnSelchangeListMat(); afx_msg void OnButtonRemove(); virtual void OnOK(); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_VALVESPECDLG_H__5F68886F_E6AF_474A_8A33_60B5317AD83F__INCLUDED_)