-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDlgAdd.h
46 lines (36 loc) · 874 Bytes
/
DlgAdd.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#pragma once
#include "afxwin.h"
// CDlgAdd 窗体视图
class CDlgAdd : public CFormView
{
DECLARE_DYNCREATE(CDlgAdd)
protected:
CDlgAdd(); // 动态创建所使用的受保护的构造函数
virtual ~CDlgAdd();
public:
enum { IDD = IDD_DIALOG_ADD };
#ifdef _DEBUG
virtual void AssertValid() const;
#ifndef _WIN32_WCE
virtual void Dump(CDumpContext& dc) const;
#endif
#endif
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
DECLARE_MESSAGE_MAP()
private:
CString m_editSp;//商品名
CString m_editSupplier;//供应商
int m_price3;
int m_price2;
int m_num3;
int m_num2;
CComboBox m_comb2;
public:
virtual void OnInitialUpdate();
afx_msg void OnCbnSelchangeCombo2();
afx_msg void OnBnClickedButtonAdd1();
afx_msg void OnBnClickedButtonCancel1();
afx_msg void OnBnClickedButtonAdd2();
afx_msg void OnBnClickedButtonCancel2();
};