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

📄 kaoqingdlg.h

📁 access dao 数据库
💻 H
字号:
// kaoqingDlg.h : 头文件
//

#pragma once
#include "afxcmn.h"
#include "afxwin.h"
#include "XPButton.h"
#include "afxdao.h"
#include "oderefdlg.h"
#include "inputrecordset.h"
#include "addpersondlg.h"
#include "addunitdlg.h"
#include "reportdlg.h"

// CkaoqingDlg 对话框
class CkaoqingDlg : public CDialog
{
// 构造
public:
	CkaoqingDlg(CWnd* pParent = NULL);	// 标准构造函数

// 对话框数据
	enum { IDD = IDD_KAOQING_DIALOG };

	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV 支持


// 实现
protected:
	HICON m_hIcon;

	// 生成的消息映射函数
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	DECLARE_MESSAGE_MAP()
public:
	CListCtrl sharelist;
	afx_msg void OnSize(UINT nType, int cx, int cy);
	//CStatic chshh;
	CXPButton sumallbt;
	//CXPButton checkbymonthbt;
	//CXPButton savetoexcelbt;
	CXPButton closebt;
	CXPButton personrgbt;
	CXPButton unitrgbt;
	//CXPButton newtablebt;
	CXPButton addbt;
	CXPButton modibt;
	CXPButton nomodibt;
	CXPButton searchbt;
	CXPButton deletebt;
protected:
//	virtual void OnOK();
public:
	afx_msg void OnBnClickedButton9();
protected:
//	virtual void OnCancel();
public:
	afx_msg void OnBnClickedButton5();
//	afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
	CDaoDatabase kaoqingbu;
	//CComboBox choosetablecombo;
	//CString personname;
	CComboBox monthcombo;
	CComboBox workunitcombo;
	double workdays;
	//CComboBox personcodecombo;
	//CComboBox personnamecombo;
	//afx_msg void OnCbnEditchangeCombo5();
	//int refreshcombo(bool condition);
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
	//void refreshcombo2(void);
	//afx_msg void OnNMThemeChangedCombo5(NMHDR *pNMHDR, LRESULT *pResult);
	CEdit personcodeet;
	CEdit personnameet;
	CEdit workdayset;
	void refreshcombo(void);
	afx_msg void OnEnChangeEdit1();
	//bool already;
	coderefdlg* cdlg;
	afx_msg void OnEnChangeEdit3();
	CString personcode;
	CString personname;
	bool isvalidnumber(CString nstr);
	afx_msg void OnBnClickedButton2();
	afx_msg void OnBnClickedButton3();
	afx_msg void OnBnClickedButton4();
	afx_msg void OnBnClickedButton12();
	afx_msg void OnBnClickedButton7();
	CComboBox jobcombo;
	CString month;
	CString unit;
	CString job;
	CComboBox yearcombo;
	CString year;
	afx_msg void OnCbnSelchangeCombo2();
	long refreshlist(bool condition);
	inputrecordset filllistrec;
	addpersondlg addp;
	
	
	int focus2;
	afx_msg void OnNMDblclkList1(NMHDR *pNMHDR, LRESULT *pResult);
	long sharelistindex;
	long id;
	CXPButton showallbt;
	afx_msg void OnBnClickedButton14();
	afx_msg void OnBnClickedButton6();
	addunitdlg addunit;
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	afx_msg void OnBnSetfocusButton5();
	afx_msg void OnBnKillfocusButton5();
	afx_msg void OnBnSetfocusButton6();
	afx_msg void OnBnKillfocusButton6();
	afx_msg void OnBnSetfocusButton2();
	afx_msg void OnBnKillfocusButton2();
	afx_msg void OnBnSetfocusButton3();
	afx_msg void OnBnKillfocusButton3();
	afx_msg void OnBnSetfocusButton4();
	afx_msg void OnBnKillfocusButton4();
	afx_msg void OnBnSetfocusButton7();
	afx_msg void OnBnKillfocusButton7();
	afx_msg void OnBnSetfocusButton14();
	afx_msg void OnBnKillfocusButton14();
	
	//CButton choosetwobt;
	//afx_msg void OnBnClickedStatic2();
	afx_msg void OnBnClickedButton10();
	CEdit workdayset2;
	double workdays2;
	afx_msg void OnBnSetfocusButton10();
	afx_msg void OnBnKillfocusButton10();
	CString hejistr;
	CStatic hejist;
	int addormodi;
	void closerefdlg(void);
	int x;
	BOOL useall;
	afx_msg void OnNMRclickList1(NMHDR *pNMHDR, LRESULT *pResult);
};

⌨️ 快捷键说明

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