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

📄 dlgwlz.h

📁 这是一个信息管理系统的源代码
💻 H
字号:
#if !defined(AFX_DLGWLZ_H__BAF76DD1_FDF1_4769_B738_5AAAA0F111E6__INCLUDED_)
#define AFX_DLGWLZ_H__BAF76DD1_FDF1_4769_B738_5AAAA0F111E6__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CDlgWLZ dialog
#include "DrawDlg.h"
#include "WhiteRect.h"
#include "myfunction.h"
#include "GeneralEdit.h"
#include "ListCtrlPop.h"
#include "WhiteFrame.h"
#include "LineEdit.h"
#define MYMESSAGE_XSDJ_SETTHEFOCUS WM_USER+33
class CDrawWLZ;
class CDlgWLZ : public CDialog
{
// Construction
public:
	bool CalculateAndShowResult();
	bool InitStringList();
	int RefreshRKTHJZList(int i);
	int RefreshRKTHList(int i);
	int RefreshRKJZList(int i);
	int RefreshRKList(int i);
	int RefreshXSTHJZList(int i);
	int RefreshXSJZList(int i);
	int RefreshXSTHList(int i);
	int RefreshXSList(int i);
	bool RefreshListView();
	bool InitListView();
	bool InitBaseInfo();
	CDlgWLZ(bool iskh,CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CDlgWLZ)
	enum { IDD = IDD_DIALOG_WLZ };
	CButton	m_btnQuery;
	CLineEdit	m_editQk;
	CLineEdit	m_editYsfk;
	CDateTimeCtrl	m_tcRqUp;
	CDateTimeCtrl	m_tcRqDown;
	CGeneralEdit	m_editName;
	CGeneralEdit	m_editId;
	CListCtrl	m_list;
	//}}AFX_DATA
	CString				m_strQk;
	CString				m_strYsfk;
	CFont				m_font;
	CFont				m_headfont;

	bool				m_bKh;
	CString				m_strOldId;
	CString				m_strId;

	CListCtrlPop		m_popList;
	CStringList*		m_strlist;

	CString				m_strOldRqUp;
	CString				m_strOldRqDown;
	CString				m_strRqUp;
	CString				m_strRqDown;

	double				m_dxs_ws;
	double				m_dxsth_wf;
	double				m_dxs_ys;
	double				m_drk_wf;
	double				m_drk_yf;
	double				m_drkth_ws;

	CWhiteRect			m_whiteframe;
	CWhiteFrame			m_wfId;
	CWhiteFrame			m_wfName;
	CWhiteFrame			m_wfRqDown;
	CWhiteFrame			m_wfRqUp;

	LRunSql				m_runsql;	
	
	CDrawWLZ*			m_draw;
	friend class CDrawWLZ;
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDlgWLZ)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	virtual BOOL DestroyWindow();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CDlgWLZ)
	virtual void OnOK();
	virtual BOOL OnInitDialog();
	afx_msg void OnButtonPrint();
	afx_msg void OnButtonQuery();
	virtual void OnCancel();
	afx_msg void OnMove(int x, int y);
	//}}AFX_MSG
	afx_msg void SetTheFocus();
	DECLARE_MESSAGE_MAP()
};


class CDrawWLZ : public CDrawDlg  
{
public:
	CListCtrl* GetListCtrl();
	CDrawWLZ(CDlgWLZ* dlg);
	virtual ~CDrawWLZ();
	virtual void PrintDlg(CDC* pDC, CPrintInfo* pInfo);
	virtual void PrintPageHeader(CDC* pDC, CPrintInfo* pInfo);

	CDlgWLZ*				parent;
};

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

#endif // !defined(AFX_DLGWLZ_H__BAF76DD1_FDF1_4769_B738_5AAAA0F111E6__INCLUDED_)
#include "DrawDlg.h"

⌨️ 快捷键说明

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