Files
envi-code/SourceCode/Code2026/tg_shs/shs_TwtPump/ValveSpecDlg.h
T

59 lines
1.5 KiB
C++
Raw Normal View History

2026-09-28 15:28:50 +08:00
#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<CBlockStruct> 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_)