📄 contract.h
字号:
#if !defined(AFX_CONTRACT_H__E52F5C7C_68B4_4FEA_9E54_77B2E3D98CF3__INCLUDED_)
#define AFX_CONTRACT_H__E52F5C7C_68B4_4FEA_9E54_77B2E3D98CF3__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Contract.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CContract dialog
class CContract : public CDialog
{
// Construction
public:
CContract(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CContract)
enum { IDD = IDD_CONTRACT_DIALOG };
CComboBox m_thirdStaffCombo;
CComboBox m_ourStaffCombo;
CComboBox m_clientStaffCombo;
CComboBox m_clientNameCombo;
CListCtrl m_list;
CString m_contractID;
CString m_contractName;
COleDateTime m_formDate;
CString m_productName;
CString m_standard;
CString m_model;
CString m_unit;
float m_total;
CString m_clientName;
CString m_clientStaff;
CString m_ourStaff;
CString m_thirdStaff;
COleDateTime m_effectiveDate;
COleDateTime m_endDate;
CString m_remark;
CWnd* tx_contractID;
CWnd* tx_contractName;
CWnd* tx_formDate;
CWnd* tx_productName;
CWnd* tx_standard;
CWnd* tx_model;
CWnd* tx_unit;
CWnd* tx_total;
CWnd* tx_clientName;
CWnd* tx_clientStaff;
CWnd* tx_ourStaff;
CWnd* tx_thirdStaff;
CWnd* tx_effectiveDate;
CWnd* tx_endDate;
CWnd* tx_remark;
CWnd* bt_add;
CWnd* bt_delete;
CWnd* bt_modify;
CWnd* bt_save;
CWnd* bt_cancelation;
int flag;
int is_search;
//}}AFX_DATA
public:
void Refresh();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CContract)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CContract)
afx_msg void OnClickList1(NMHDR* pNMHDR, LRESULT* pResult);
virtual BOOL OnInitDialog();
afx_msg void OnAdd();
afx_msg void OnDelete();
afx_msg void OnModify();
afx_msg void OnSave();
afx_msg void OnCancelation();
afx_msg void OnExit();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CONTRACT_H__E52F5C7C_68B4_4FEA_9E54_77B2E3D98CF3__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -