📄 buymaterialview.h
字号:
//{{AFX_INCLUDES()
#include "datagrid.h"
//}}AFX_INCLUDES
#if !defined(AFX_BUYMATERIALVIEW_H__A1956158_CA29_4E85_8E4D_CC5BDF623F69__INCLUDED_)
#define AFX_BUYMATERIALVIEW_H__A1956158_CA29_4E85_8E4D_CC5BDF623F69__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// BuyMaterialView.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CBuyMaterialView form view
#ifndef __AFXEXT_H__
#include <afxext.h>
#endif
class CBuyMaterialView : public CFormView
{
protected:
//CBuyMaterialView(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CBuyMaterialView)
// Form Data
public:
//{{AFX_DATA(CBuyMaterialView)
enum { IDD = IDD_MATERIAL_BUY };
CButton m_btnPrint;
CButton m_btnQuery;
CComboBox m_cmbOID;
CButton m_btnViewAll;
CButton m_btnPrev;
CButton m_btnNext;
CButton m_btnModify;
CButton m_btnLast;
CButton m_btnFirst;
CButton m_btnFind;
CButton m_btnDel;
CButton m_btnCancel;
CButton m_btnAddNew;
long m_nNumber;
long m_nOOS;
CString m_datePlane;
CString m_dateStock;
CDataGrid m_grdViewAll;
CString m_strOID;
CString m_strMID;
BOOL m_blnStock;
//}}AFX_DATA
// Attributes
public:
_bstr_t m_strSql; // 用来打开记录集的字符串
_bstr_t m_strVSql; // 用来打开对应的视图
_bstr_t m_strPSql;
VARIANT m_vBookMark; // 用来标志当前的记录位置
// Operations
public:
CBuyMaterialView();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CBuyMaterialView)
public:
virtual void OnInitialUpdate();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void OnActivateView(BOOL bActivate, CView* pActivateView, CView* pDeactiveView);
//}}AFX_VIRTUAL
// Implementation
protected:
public:
virtual ~CBuyMaterialView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
//{{AFX_MSG(CBuyMaterialView)
afx_msg void OnBtnFind();
afx_msg void OnBtnAdd();
afx_msg void OnBtnModify();
afx_msg void OnBtnDelete();
afx_msg void OnBtnCancel();
afx_msg void OnBtnFirst();
afx_msg void OnBtnPrevious();
afx_msg void OnBtnNext();
afx_msg void OnBtnLast();
afx_msg void OnBtnView();
afx_msg void OnBtnQuery();
afx_msg void OnBtnPrint();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_BUYMATERIALVIEW_H__A1956158_CA29_4E85_8E4D_CC5BDF623F69__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -