123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104 |
- #if !defined(AFX_ShangPin_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)
- #define AFX_ShangPin_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // ShangPin.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // ShangPin form view
- #ifndef __AFXEXT_H__
- #include <afxext.h>
- #endif
- #include "MyEdit.h"
- class ShangPin : public MyFormView
- {
- CArray<CStringArray, CStringArray>m_List1array;
- CString m_oldspid;
- DWORD m_autoid;
- protected:
- ShangPin(); // protected constructor used by dynamic creation
- DECLARE_DYNCREATE(ShangPin)
- // Form Data
- public:
- //{{AFX_DATA(ShangPin)
- enum { IDD = IDD_DLGShangPin };
- CComboBox m_combostatus;
- CNumEdit m_editctrl3;
- CNumEdit m_editctrl2;
- CNumEdit m_editctrl1;
- CMyEdit m_SPNameEdit;
- CMyEdit m_SPDanWeiEdit;
- CComboBox m_combosplb;
- CSortListCtrl2 m_List1;
- CStatic m_static1;
- CString m_spbz;
- CString m_spdanwei; //商品单位
- CString m_spid;
- CString m_spjiaga1; //商品成本
- CString m_spjiage2; //商品卖价
- CString m_spname; //名称(禁止标点符号)
- CString m_spjiage3;
- int m_radio1;
- //}}AFX_DATA
- // Attributes
- public:
- // Operations
- public:
- void AutoId();
- BOOL IsExist();
- void GetData();
- void ListSelChange();
- void ClearCtrl();
- void FillGrid(CString str);
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(ShangPin)
- public:
- virtual void OnInitialUpdate();
- virtual BOOL PreTranslateMessage(MSG* pMsg);
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- virtual ~ShangPin();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- // Generated message map functions
- //{{AFX_MSG(ShangPin)
- afx_msg void OnBUTsave();
- afx_msg void OnBUTdel();
- afx_msg void OnBUTclose();
- afx_msg void OnClickList2(NMHDR* pNMHDR, LRESULT* pResult);
- afx_msg void OnBUTadd();
- afx_msg void OnSelchangeCOMBOsplb();
- afx_msg void OnRadio1();
- afx_msg void OnRadio2();
- afx_msg void OnRadio9();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- public:
- int m_etProductWidth;
- int m_etProductHeight;
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_ShangPin_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)
|