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

📄 dlgkqconfirm.h

📁 用户管理系统
💻 H
字号:
#if !defined(AFX_DLGKQCONFIRM_H__6774EC29_A3A3_4A06_9FED_F60499A83420__INCLUDED_)
#define AFX_DLGKQCONFIRM_H__6774EC29_A3A3_4A06_9FED_F60499A83420__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CDlgKqConfirm form view

#ifndef __AFXEXT_H__
#include <afxext.h>
#endif
#include "datawin\listdoc.H"
#include "ado\ado.H"
#include "ado\Adocommand.H"
#include "DateEdit\DateEdit.H"
#include "Other\bsColorComboBox.H"
#include "DlgInputCtrl.H"
#include "MyMdi.H"
#include "StringSQL.H"
#include "DlgKqCopyto.H"
#include "DlgKqProjectMaster.H"
class CDlgKqConfirm : public CFormView
{
public:
//考勤结构
	class CProject
	{
    protected:
	public:		
		void Reset();
        CString  sCode;                 //考勤编号
		long     lNo;
		CString  sBegin;                //开始时间
		BOOL     bBeginenabled;         //有效
        CString  sQD;                   //迟到时间
        BOOL     bQDenabled;            //有效
        CString  sZT;                   //早退时间
        BOOL     bZTenabled;            //有效
        CString  sKG;                   //扩工时间
        BOOL     bKGenabled;            //有效
		BOOL     bLong;                 //通宵班
    };
//文档导入后格式
	class CInputTxt 
	{
	public:		
	    char         m_szCode[7];
		COleDateTime m_tDate;
    };
   	vector <CInputTxt> m_Txt;      //文档内容 
   	vector <CProject>  m_Project;  //考勤计划
    void _Restore();

protected:
	CDlgKqConfirm();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(CDlgKqConfirm)
    CListDoc m_MasterDoc;
	CAdoConnection *m_pConnection;
	CKvipApp *m_pApp;
	CAdoRecordSet m_RecordSet;
    CListDoc m_ListDoc;
    CListDoc m_RightDoc;
	CString _IsProject(CString &sCode, CString &sPro);
	BOOL _GetProject(CString &sPro, long lNo, CProject &Project);
// Form Data
public:
	//{{AFX_DATA(CDlgKqConfirm)
	enum { IDD = IDD_KQ_CONFIRM };
	CButton	m_btDtx;
	CListCtrlBase m_Right;
	CComboBox	m_Dep;
	CReportCtrl	m_Left;
	CButton	m_btSave;
	CButton	m_btRetrieve;
	CButton	m_btInput;
	CDateEdit	m_edDate;
	CDlgKqProjectMaster m_Master;
	//}}AFX_DATA

// Attributes
public:
    void SetState(int nState);

// Operations
public:
	void SetCheck(int nItem, CString pState, BOOL bModify=false);
	void _InputProject();

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

// Implementation
protected:
	virtual ~CDlgKqConfirm();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	// Generated message map functions
	//{{AFX_MSG(CDlgKqConfirm)
	afx_msg void OnDblclkMaster(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnRetrieve();
	afx_msg void OnSave(WPARAM nExit);
	afx_msg void OnCancel();
	afx_msg void OnSelchangeDep();
	afx_msg void OnClose();
	afx_msg void OnInput();
	afx_msg void OnItemchangedLeft(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnClickMaster(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnDtx();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

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

#endif // !defined(AFX_DLGKQCONFIRM_H__6774EC29_A3A3_4A06_9FED_F60499A83420__INCLUDED_)

⌨️ 快捷键说明

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