📄 clientsellview.h
字号:
//{{AFX_INCLUDES()
#include "datagrid.h"
//}}AFX_INCLUDES
#if !defined(AFX_CLIENTSELLVIEW_H__9EBE6C17_9CB4_46FB_B598_4D8C241D9707__INCLUDED_)
#define AFX_CLIENTSELLVIEW_H__9EBE6C17_9CB4_46FB_B598_4D8C241D9707__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ClientSellView.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CClientSellView form view
#ifndef __AFXEXT_H__
#include <afxext.h>
#endif
#include "clientMainDoc.h"
class CClientSellView : public CFormView
{
protected:
//CClientSellView(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CClientSellView)
// Form Data
public:
//{{AFX_DATA(CClientSellView)
enum { IDD = IDD_CLIENTMAIN_SELL };
CButton m_btnPrint;
CButton m_btnQuery;
CComboBox m_cmbMID;
CEdit m_edtOID;
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;
CString m_strMID;
CString m_strName;
long m_nQuantity;
CDataGrid m_grdViewAll;
CString m_dateEnd;
CString m_dateStart;
CString m_strOID;
//}}AFX_DATA
// Attributes
public:
CClientMainDoc* GetDocument();
_bstr_t m_strSql;
_bstr_t m_strVSql; // 用来打开对应的视图
_bstr_t m_strPSql;
VARIANT m_vBookMark; // 用来标志当前的记录位置
// Operations
public:
CClientSellView();
virtual ~CClientSellView();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CClientSellView)
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:
//virtual ~CClientSellView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
//{{AFX_MSG(CClientSellView)
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()
};
#ifndef _DEBUG // debug version in clientMainView.cpp
inline CClientMainDoc* CClientSellView::GetDocument()
{ return (CClientMainDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CLIENTSELLVIEW_H__9EBE6C17_9CB4_46FB_B598_4D8C241D9707__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -