You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
1.1 KiB
C++

#pragma once
#include "MyBttom.h"
class CDlgWorkRecord : public CDialogEx
{
DECLARE_DYNAMIC(CDlgWorkRecord)
public:
CDlgWorkRecord(CWnd* pParent = NULL); // 标准构造函数
virtual ~CDlgWorkRecord();
CString GetSelDate();
bool CheckCurSelIdx();
enum { IDD = IDD_WORK_RECORD_DLG };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
virtual BOOL OnInitDialog();
afx_msg void OnMcnSelchangecalendar(NMHDR *pNMHDR, LRESULT *pResult);
afx_msg void OnBnClickedSearchBtn();
afx_msg void OnNMClickList(NMHDR *pNMHDR, LRESULT *pResult);
DECLARE_MESSAGE_MAP()
private:
CMyBottom m_SearchBtn;
CMyBottom m_ToExcelBtn;
CMyBottom m_RecoverScanParBtn;
CMonthCalCtrl m_montCtrl;
CListCtrl m_RecordList;
CListCtrl m_RecordInfoList;
CString m_SearchNumber;
int m_CurSelIdx;//当前选中的索引值
public:
afx_msg void OnBnClickedToExcelBtn();
};