📄 materialinfo.h
字号:
#if !defined(AFX_MATERIALINFO_H__C6AC83D4_525F_4EBB_9C8B_6D3E69843911__INCLUDED_)
#define AFX_MATERIALINFO_H__C6AC83D4_525F_4EBB_9C8B_6D3E69843911__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MaterialInfo.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CMaterialInfo dialog
class CMaterialInfo : public CDialog
{
// Construction
public:
CMaterialInfo(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CMaterialInfo)
enum { IDD = IDD_MATERIALINFO_DIALOG };
CComboBox m_providerCombo;
CComboBox m_storeHouseCombo;
CListCtrl m_list;
CString m_materialID;
CString m_materialName;
CString m_standard;
CString m_model;
CString m_unit;
int m_qualityGuarantee;
CString m_colorType;
CString m_qualityLevel;
int m_taxRate;
int m_loseRate;
CString m_storeHouse;
CString m_provider;
float m_planPrice;
float m_standardPrice;
CString m_remark;
CWnd* tx_materialID;
CWnd* tx_materialName;
CWnd* tx_standard;
CWnd* tx_model;
CWnd* tx_unit;
CWnd* tx_qualityGuarantee;
CWnd* tx_colorType;
CWnd* tx_qualityLevel;
CWnd* tx_taxRate;
CWnd* tx_loseRate;
CWnd* tx_storeHouse;
CWnd* tx_provider;
CWnd* tx_planPrice;
CWnd* tx_standardPrice;
CWnd* tx_remark;
CWnd* tx_numMax;
CWnd* tx_numMin;
CWnd* bt_add;
CWnd* bt_delete;
CWnd* bt_modify;
CWnd* bt_save;
int flag;
int m_numMax;
int m_numMin;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMaterialInfo)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
public:
void Refresh();
protected:
// Generated message map functions
//{{AFX_MSG(CMaterialInfo)
afx_msg void OnAdd();
afx_msg void OnDelete();
afx_msg void OnModify();
afx_msg void OnSave();
afx_msg void OnExit();
virtual BOOL OnInitDialog();
afx_msg void OnClickList1(NMHDR* pNMHDR, LRESULT* pResult);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MATERIALINFO_H__C6AC83D4_525F_4EBB_9C8B_6D3E69843911__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -