⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 querydlg.h

📁 用Visual C++ 开发的项目管理系统
💻 H
字号:
//{{AFX_INCLUDES()
#include "datagrid1.h"
//}}AFX_INCLUDES
#if !defined(AFX_QUERYDLG_H__1EF16B0E_21B8_47D2_BC64_1402F74D0DFE__INCLUDED_)
#define AFX_QUERYDLG_H__1EF16B0E_21B8_47D2_BC64_1402F74D0DFE__INCLUDED_

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

#include "LendInfoDlg.h"
#include "columns.h"
#include "column.h"
#define QueryCount 8
/////////////////////////////////////////////////////////////////////////////
// CQueryDlg dialog

class CQueryDlg : public CDialog
{
// Construction
public:
	CString CStringToDate(CString &str);   //把输入的字符串格式转换成正确日期格式
	void SetColumnWidth(CDataGrid & ProControl,short count,float  *WidthArray,CString * strTitle);
	CString     m_cProName;        //所选的工程名字
	CString     m_cEfilePath;   //所选的电子文件ID
	CString     m_FileName;      //档案文件名称
	CStatic     m_StartTime;
	CEdit       m_EStartTime;       //编辑框起始时间
	CQueryDlg(CWnd* pParent = NULL);   // standard constructor
	CString  m_cQueryMode[QueryCount];	
    _RecordsetPtr m_RecordQuery;  //查询记录集
	_RecordsetPtr m_RecordEFile;   //电子文档记录集
	_RecordsetPtr m_RecordFile;    //项目档案记录集
	_RecordsetPtr m_RecordName;   //项目人员记录集
	CFont         m_font;           //设置编辑框的字体
// Dialog Data
	//{{AFX_DATA(CQueryDlg)
	enum { IDD = IDD_DLG_QUERY };
	CButtonST	m_BtnVarietyControl;
	CButtonST	m_BtnQueryControl;
	CButtonST	m_BtnOpenControl;
	CButtonST	m_BtnExitControl;
	CButtonST	m_BtnBorrowControl;
	CComboBox	m_QModeControl;
	CString	    m_cQName;
	CDataGrid	m_ProInfoGridControl;
	CDataGrid	m_NameGridControl;
	CDataGrid	m_FileGridControl;
	CDataGrid	m_EFileGridControl;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CQueryDlg)
	afx_msg void OnBtnVariety();
	virtual BOOL OnInitDialog();
	afx_msg void OnBtnQuery();
	afx_msg void OnSelchangeComboQuerymode();
	afx_msg void OnSelChangeDatagridProinfo(short FAR* Cancel);
	afx_msg void OnBtnExit();
	afx_msg void OnBtnOpen();
	afx_msg void OnBtnBorrow();
	afx_msg void OnRowColChangeDatagridProinfo(VARIANT FAR* LastRow, short LastCol);
	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_QUERYDLG_H__1EF16B0E_21B8_47D2_BC64_1402F74D0DFE__INCLUDED_)

⌨️ 快捷键说明

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