querytime.h

来自「CT工作站具有打印报告、病历管理、图像处理专家词库等功能」· C头文件 代码 · 共 73 行

H
73
字号
#if !defined(AFX_QUERYTIME_H__D0F1D523_5D55_11D4_9FD5_5254ABDD2B16__INCLUDED_)
#define AFX_QUERYTIME_H__D0F1D523_5D55_11D4_9FD5_5254ABDD2B16__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000 
// QueryTime.h : header file
//

#include "bxt.h"
#include "xbtnst.h"

/////////////////////////////////////////////////////////////////////////////
// QueryTime dialog

class QueryTime : public CDialog
{
// Construction
public:
	QueryTime(CWnd* pParent = NULL);   // standard constructor
	
	void				OnOK(){};
	virtual void		OnCancel(){};
	CString				MakeDataSQL();

	void				DisAll();
// Dialog Data
	//{{AFX_DATA(QueryTime)
	enum { IDD = IDD_QUERYTIME };
	CDateTimeCtrl		m_qend;
	CDateTimeCtrl		m_qstart;
	CDateTimeCtrl		m_qmon;
	CDateTimeCtrl		m_qyear;
	int					m_radio;
	CTime				m_mon;
	CTime				m_start;
	CTime				m_end;
	CTime				m_year;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(QueryTime)
	protected:
	virtual void		DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	PCONFIG_STRUCT		m_pCfg;
	XButton				m_btnQuery;

	BOOL				NormalQuery();
	BOOL				SimpleQuery();

	// Generated message map functions
	//{{AFX_MSG(QueryTime)
	virtual BOOL		OnInitDialog();
	afx_msg void		OnRadio1();
	afx_msg void		OnRadio2();
	afx_msg void		OnRadio3();
	afx_msg void		OnRadio4();
	afx_msg void		OnButtonQuery();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_QUERYTIME_H__D0F1D523_5D55_11D4_9FD5_5254ABDD2B16__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?