📄 dlgxsdj.h
字号:
#include "myfunction.h"
#include "ListCtrlPop.h"
#include "GeneralEdit.h"
#include "ListXSDJ.h"
#include "WhiteFrame.h"
#include "LineEdit.h"
#include "DrawXSDJ.h"
#if !defined(AFX_DLGXSDJ_H__502E2B68_B762_11D7_A240_5254AB3E4F7E__INCLUDED_)
#define AFX_DLGXSDJ_H__502E2B68_B762_11D7_A240_5254AB3E4F7E__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DlgXSDJ.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CDlgXSDJ dialog
#define IDD_DIALOG_XSDJ 135
#define MYMESSAGE_EDIT_KHID WM_USER +200
#define MYMESSAGE_EDIT_KHNAME WM_USER +201
#define MYMESSAGE_XSDJ_SETTHEFOCUS WM_USER+33
#include "DrawDlg.h"
class CDlgXSDJ;
class CDrawXSDJ;
class CDrawXSDJ : public CDrawDlg
{
public:
CListCtrl* GetListCtrl();
CDrawXSDJ(CDlgXSDJ* dlg);
virtual ~CDrawXSDJ();
virtual void PrintDlg(CDC* pDC, CPrintInfo* pInfo);
virtual void PrintPageHeader(CDC* pDC, CPrintInfo* pInfo);
CDlgXSDJ* parent;
};
class CDlgXSDJ : public CDialog
{
// Construction
public:
CDlgXSDJ(bool isxs,CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CDlgXSDJ)
enum { IDD = IDD_DIALOG_XSDJ };
CButton m_btnOk;
CGeneralEdit m_editKhName;
CEdit m_editPh;
CComboBox m_comboJsfs;
CGeneralEdit m_editKhId;
CDateTimeCtrl m_tcRq;
CComboBox m_comboJsr;
CString m_strPh;
//}}AFX_DATA
protected:
CStringList* m_strlistKh;
CWhiteFrame m_whiteframe;
LRunSql m_runsql;
CListCtrlPop m_popList;
bool m_bXs;
CFont m_font;
CFont m_headfont;
CWhiteFrame* wf;
CString m_sXsPh;
CDrawXSDJ* m_draw;
friend class CDrawXSDJ ;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDlgXSDJ)
public:
virtual BOOL PreTranslateMessage(MSG* pMsg);
virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
virtual BOOL DestroyWindow();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
public:
CString ChanShengXSDJPH();
bool CheckKh();
CListXSDJ* m_plistXSDJ;
bool InitBaseInfo();
bool InitStringLists();
protected:
bool InitnListXSDJ();
// Generated message map functions
//{{AFX_MSG(CDlgXSDJ)
virtual BOOL OnInitDialog();
virtual void OnOK();
virtual void OnCancel();
afx_msg void OnButton1();
afx_msg void OnMove(int x, int y);
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnButtonOk();
afx_msg void OnDrawItem(int nIDCtl, LPDRAWITEMSTRUCT lpDrawItemStruct);
afx_msg void OnButtonPrint();
//}}AFX_MSG
afx_msg void SetTheFocus();
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DLGXSDJ_H__502E2B68_B762_11D7_A240_5254AB3E4F7E__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -