📄 dms2dlg.h
字号:
// DMS2Dlg.h : header file
//
#if !defined(AFX_DMS2DLG_H__B58E2CD4_E0D0_11D4_BECB_E613C5AB7F74__INCLUDED_)
#define AFX_DMS2DLG_H__B58E2CD4_E0D0_11D4_BECB_E613C5AB7F74__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "LogMngr.h"
class CDMS2DlgAutoProxy;
/////////////////////////////////////////////////////////////////////////////
// CDMS2Dlg dialog
class CDMS2Dlg : public CDialog
{
DECLARE_DYNAMIC(CDMS2Dlg);
friend class CDMS2DlgAutoProxy;
// Construction
public:
CDMS2Dlg(CWnd* pParent = NULL); // standard constructor
virtual ~CDMS2Dlg();
CDatabase m_database;
CString user;
CString qx;
// Dialog Data
//{{AFX_DATA(CDMS2Dlg)
enum { IDD = IDD_DMS2_DIALOG };
CComboBox m_devsr;
CComboBox m_devs;
CStatic m_STATIC1;
CComboBox m_devsi;
CComboBox m_devso;
CListCtrl m_list;
CTime m_date;
CTime m_time;
CString m_dept;
CString m_keeper;
float m_max;
float m_number;
UINT m_state;
CString m_taker;
CString m_usage;
CTime m_date2;
CTime m_time2;
CString m_buyer;
float m_price;
CString m_tel;
CString m_provider;
float m_numberin;
float m_cur;
float m_dmax;
float m_dmin;
float m_total;
CTime m_date3;
CTime m_time3;
CString m_keeperR;
float m_numberR;
CString m_reter;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDMS2Dlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
CDMS2DlgAutoProxy* m_pAutoProxy;
HICON m_hIcon;
BOOL CanExit();
// Generated message map functions
//{{AFX_MSG(CDMS2Dlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnClose();
virtual void OnOK();
virtual void OnCancel();
afx_msg void OnDestroy();
afx_msg void OnBtnDoadd();
afx_msg void OnClickListDev(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnBtnViewlog();
afx_msg void OnBtnDiadd();
afx_msg void OnButtonInfoin();
afx_msg void OnButtonDrve();
afx_msg void OnBtnDevadd();
afx_msg void OnBtnDevdel();
afx_msg void OnBtnDevupd();
afx_msg void OnBtnDevcode();
afx_msg void OnBtnDradd();
afx_msg void OnBtnDevalert();
afx_msg void OnBtnInfoneed();
afx_msg void OnBtnViewprt();
afx_msg void OnBtnInfoout();
afx_msg void OnBtnInforet();
afx_msg void OnButtonModpsw();
afx_msg void Onaboutbox();
afx_msg void OnBtnDo();
afx_msg void OnBtnDr();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
public:
CDMS2Dlg *theapp;
void RefreshData();//显示LIST列表的成员函数
void RefreshDatainfoin();
void Setup(_ConnectionPtr cnnt,CLogMngr* pl)//日志文件初始化函数
{
m_DBCnt = cnnt;//保存数据库的连接指针
m_log = pl;//保存操作类型变量的指针
}
/**/
private:
CFont m_fMyFont;
int ii;
protected:
void yin();
void yin2();
void Initdlgout();
void Initdlgin();
void InitDlog();
_ConnectionPtr m_DBCnt;
CLogMngr* m_log,m_logMngr;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DMS2DLG_H__B58E2CD4_E0D0_11D4_BECB_E613C5AB7F74__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -