64 lines
1.6 KiB
C++
64 lines
1.6 KiB
C++
#if !defined(AFX_PIPEMATSPECDLG_H__F4372D55_B77B_47E8_B8F2_75E4D53AB6BD__INCLUDED_)
|
|
#define AFX_PIPEMATSPECDLG_H__F4372D55_B77B_47E8_B8F2_75E4D53AB6BD__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
// PipeMatSpecDlg.h : header file
|
|
//
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CPipeMatSpecDlg dialog
|
|
#include "Resource.h"
|
|
#include "WDGrid.h"
|
|
//#include "NewListCtrl.h"
|
|
|
|
class CPipeMatSpecDlg : public CDialog
|
|
{
|
|
// Construction
|
|
public:
|
|
CPipeMatSpecDlg(CWnd* pParent = NULL); // standard constructor
|
|
|
|
// Dialog Data
|
|
//{{AFX_DATA(CPipeMatSpecDlg)
|
|
enum { IDD = IDD_PIPE_MAT_SPEC };
|
|
CListBox m_listMat;
|
|
// CNewListCtrl m_listCtrl; // cet 2010.9.7 del 更换控件类
|
|
WDGrid m_listCtrl; // cet 2010.9.7 add
|
|
CString m_csMat;
|
|
CString m_csNew;
|
|
int m_iNewSpec;
|
|
//}}AFX_DATA
|
|
|
|
|
|
// Overrides
|
|
// ClassWizard generated virtual function overrides
|
|
//{{AFX_VIRTUAL(CPipeMatSpecDlg)
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
//}}AFX_VIRTUAL
|
|
|
|
// Implementation
|
|
protected:
|
|
|
|
void WriteData();
|
|
|
|
// Generated message map functions
|
|
//{{AFX_MSG(CPipeMatSpecDlg)
|
|
virtual BOOL OnInitDialog();
|
|
afx_msg void OnSelchangeListMat();
|
|
virtual void OnOK();
|
|
afx_msg void OnButtonAdd();
|
|
afx_msg void OnButtonAdd2();
|
|
afx_msg void OnButtonDel();
|
|
afx_msg void OnButtonRemove();
|
|
afx_msg void OnButtonDim();
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
};
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|
|
|
#endif // !defined(AFX_PIPEMATSPECDLG_H__F4372D55_B77B_47E8_B8F2_75E4D53AB6BD__INCLUDED_)
|