📄 findother.h
字号:
#if !defined(AFX_FINDOTHER_H__E51B595B_24A1_455E_A1FA_2A67BC60B01A__INCLUDED_)
#define AFX_FINDOTHER_H__E51B595B_24A1_455E_A1FA_2A67BC60B01A__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// FindOther.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CFindOther dialog
#include <afxdao.h>
class CFindOther : public CDialog
{
// Construction
public:
CFindOther(CWnd* pParent = NULL); // standard constructor
CDaoDatabase *m_pDatabase;
CDaoRecordset *m_pRecordset;
CString m_strTableName; //存放正在操作的数据库表的名字
CString m_ID; //资产ID
CStringArray m_saKeeper; //保管人员
CUIntArray m_uaKeeper;
CStringArray m_saDepartment; //部门
CUIntArray m_uaDepartment;
CStringArray m_saDepositary; //存放地点
CUIntArray m_uaDepositary;
CStringArray m_saAddType; //增加方式
CUIntArray m_uaAddType;
CStringArray m_saSort; //资产类别
CUIntArray m_uaSort;
bool flag; //用于标识数据库访问语句的写法
public:
void Refresh(CString str);
CString IdToString(int ID,int Index);
// Dialog Data
//{{AFX_DATA(CFindOther)
enum { IDD = IDD_FIND_OTHER };
CComboBox m_CtrlCBUseInfo;
CComboBox m_CtrlCBType;
CComboBox m_CtrlCBSort;
CComboBox m_CtrlCBPosition;
CComboBox m_CtrlCBName;
CListCtrl m_CtrlList;
CComboBox m_CtrlCBAddType;
CComboBox m_CtrlCBDepartment;
CComboBox m_CtrlCBKeeper;
CComboBox m_CtrlCBInterID;
CComboBox m_CtrlCBAssetID;
CString m_strAssetID;
BOOL m_CKAddType;
BOOL m_CKAssetID;
BOOL m_CKDepartment;
BOOL m_CKInDate;
BOOL m_CKInterID;
BOOL m_CKKeeper;
BOOL m_CKLFDate;
BOOL m_CKName;
BOOL m_CKPosition;
BOOL m_CKSort;
BOOL m_CKType;
BOOL m_CKUseInfo;
BOOL m_CKYearNum;
CTime m_InDate1;
CTime m_InDate2;
CString m_strInterID;
CTime m_LFDate1;
CTime m_LFDate2;
CString m_strName;
CString m_strType;
CString m_strUseInfo;
int m_nYearNum1;
int m_nYearNum2;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CFindOther)
public:
virtual int DoModal();
virtual BOOL DestroyWindow();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CFindOther)
virtual BOOL OnInitDialog();
afx_msg void OnFdorCkname();
afx_msg void OnFdorCkassetid();
afx_msg void OnFdorCksort();
afx_msg void OnFdorCktype();
afx_msg void OnFdorCklfdate();
afx_msg void OnFdorCkindate();
afx_msg void OnFdorCkyearnum();
afx_msg void OnFdorCkaddtype();
afx_msg void OnFdorCkuseinfo();
afx_msg void OnFdorCkdepartment();
afx_msg void OnFdorCkinterid();
afx_msg void OnFdorCkposition();
afx_msg void OnFdorCkkeeper();
afx_msg void OnChangeFdorYearnum1();
afx_msg void OnChangeFdorYearnum2();
afx_msg void OnFdorFind();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_FINDOTHER_H__E51B595B_24A1_455E_A1FA_2A67BC60B01A__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -