📄 mydlgbrowse.h
字号:
//{{AFX_INCLUDES()
#include "datagrid.h"
//}}AFX_INCLUDES
#if !defined(AFX_MYDLGBROWSE_H__98C53853_D64B_476F_B2EB_EF5908621281__INCLUDED_)
#define AFX_MYDLGBROWSE_H__98C53853_D64B_476F_B2EB_EF5908621281__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MyDlgBrowse.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CMyDlgBrowse dialog
class CMyDlgBrowse : public CDialog
{
// Construction
public:
void InitHospital();
void InitDate();
int InitDataGrid(CString str);
CMyDlgBrowse(CWnd* pParent = NULL); // standard constructor
_RecordsetPtr p_recordset;
_ConnectionPtr p_connection;
_RecordsetPtr p_rec;
bool b_ShowAll;
bool b_Date;
bool b_Hospital;
CString str_Date;
CString str_Hospital;
CString str_Rst;
// Dialog Data
//{{AFX_DATA(CMyDlgBrowse)
enum { IDD = IDD_DIALOG_BROWSE };
CStatic m_Static_Text;
CComboBox m_Combo_Hospital;
CComboBox m_Combo_Date;
CButton m_Check_Hospital;
CButton m_Check_Date;
CDataGrid m_DataGrid;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMyDlgBrowse)
public:
virtual void OnFinalRelease();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CMyDlgBrowse)
afx_msg void OnButtonRefresh();
afx_msg void OnCheckDate();
afx_msg void OnCheckHospital();
virtual BOOL OnInitDialog();
afx_msg void OnRadioAll();
afx_msg void OnButtonDelAll();
afx_msg void OnButtonDel();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
// Generated OLE dispatch map functions
//{{AFX_DISPATCH(CMyDlgBrowse)
// NOTE - the ClassWizard will add and remove member functions here.
//}}AFX_DISPATCH
DECLARE_DISPATCH_MAP()
DECLARE_INTERFACE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MYDLGBROWSE_H__98C53853_D64B_476F_B2EB_EF5908621281__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -