📄 query.h
字号:
//{{AFX_INCLUDES()
#include "RecImage.h" // Added by ClassView
#include "msflexgrid.h"
//}}AFX_INCLUDES
#if !defined(AFX_QUERY_H__8EEC95A3_5CC1_11D4_9FD5_5254ABDD2B16__INCLUDED_)
#define AFX_QUERY_H__8EEC95A3_5CC1_11D4_9FD5_5254ABDD2B16__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Query.h : header file
//
#include "dr.h"
#include "sql.h"
#include "sqlext.h"
#include "recimage.h"
/////////////////////////////////////////////////////////////////////////////
// Query dialog
class Query : public CDialog
{
// Construction
public:
CString m_device,m_id,m_hospid,m_bedid,m_class;
CString m_name,m_sex,m_checkstyle,m_checkpos,m_checkdate;
int m_age;
RecImage *therec;
int m_selpic;
Query(CWnd* pParent = NULL); // standard constructor
CDR rs;
// Dialog Data
//{{AFX_DATA(Query)
enum { IDD = IDD_QUERY };
CRichEditCtrl m_rich;
CMSFlexGrid m_grd;
CString m_doctor;
CString m_illname;
CString m_result;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(Query)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
afx_msg void QueryRun(WPARAM wParm,LPARAM lParm);
// Implementation
protected:
void ShowCurrentRecordInfo();
BOOL DeleteDir(char *path);
afx_msg void SetRecordID(WPARAM wParm, LPARAM lParm);
char m_currentid[20];
// Generated message map functions
//{{AFX_MSG(Query)
virtual BOOL OnInitDialog();
afx_msg void OnButtonDeleterecord();
virtual void OnOK();
virtual void OnCancel();
afx_msg void OnClickMsflexgrid1();
afx_msg void OnButtonPrintReport();
afx_msg void OnButtonPrintReport2();
afx_msg void OnButtonDealWithImage();
afx_msg void OnButton5();
afx_msg void OnButton14();
DECLARE_EVENTSINK_MAP()
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_QUERY_H__8EEC95A3_5CC1_11D4_9FD5_5254ABDD2B16__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -