⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 salecontract.h

📁 基于VC+SQL SERVER环境开发的企业商品销售系统.完整的数据库和原代码
💻 H
字号:
#if !defined(AFX_SALECONTRACT_H__6EA65746_53E2_4C01_924B_962A0419FC5E__INCLUDED_)
#define AFX_SALECONTRACT_H__6EA65746_53E2_4C01_924B_962A0419FC5E__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SaleContract.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CSaleContract dialog

class CSaleContract : public CDialog
{
// Construction
public:
	CSaleContract(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CSaleContract)
	enum { IDD = IDD_SALECONTRACT_DIALOG };
	CComboBox	m_payConditionCombo;
	CComboBox	m_transportTypeCombo;
	CComboBox	m_sellorCombo;
	CComboBox	m_contractTypeCombo;
	CComboBox	m_clientCombo;
	CComboBox	m_departmentCombo;
	CComboBox	m_saleTypeCombo;
	CComboBox	m_planIDCombo;
	CListCtrl	m_contractList;
	CString	m_planID;
	COleDateTime	m_formDate;
	CString	m_saleType;
	CString	m_department;
	CString	m_clientName;
	CString	m_contractType;
	CString	m_seller;
	CString	m_companyContractPerson;
	CString	m_transportType;
	CString	m_consignmentAddress;
	CString	m_clientContractPerson;
	CString	m_payCondition;
	float	m_subscription;
	COleDateTime	m_contractEndDate;
	CString	m_remark;
	CString	m_contractID;
	CString contractID;
	
	CWnd* bt_firstPage;
	CWnd* bt_prevPage;
	CWnd* bt_nextPage;
	CWnd* bt_lastPage;
	CWnd* bt_add;
	CWnd* bt_save;
	CWnd* bt_modify;
	CWnd* bt_delete;
	CWnd* bt_addLine;
	CWnd* bt_deleteLine;
	CWnd* bt_checked;
	CWnd* bt_cancellaion;

	CWnd* 	tx_planID;
	CWnd* 	tx_formDate;
	CWnd* 	tx_saleType;
	CWnd* 	tx_department;
	CWnd* 	tx_clientName;
	CWnd* 	tx_contractType;
	CWnd* 	tx_seller;
	CWnd* 	tx_companyContractPerson;
	CWnd* 	tx_transportType;
	CWnd* 	tx_consignmentAddress;
	CWnd* 	tx_clientContractPerson;
	CWnd* 	tx_payCondition;
	CWnd* 	tx_subscription;
	CWnd* 	tx_contractEndDate;
	CWnd* 	tx_remark;
	CWnd* 	tx_contractID;

	

	_RecordsetPtr m_psaleContractRecordset;
	int flag;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSaleContract)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CSaleContract)
	virtual BOOL OnInitDialog();
	afx_msg void OnFirstPage();
	afx_msg void OnPrevPage();
	afx_msg void OnNextPage();
	afx_msg void OnLastPage();
	afx_msg void OnNew();
	afx_msg void OnModify();
	afx_msg void OnDelete();
	afx_msg void OnAddLine();
	afx_msg void OnDeleteLine();
	afx_msg void OnSave();
	afx_msg void OnExit();
	afx_msg void OnClickContractList(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnKillfocusQuoteID();
	afx_msg void Onauditing();
	afx_msg void OnCancellation();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_SALECONTRACT_H__6EA65746_53E2_4C01_924B_962A0419FC5E__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -