📄 queryattenddlg.h
字号:
#if !defined(AFX_QUERYATTENDDLG_H__57D20969_1AC7_4468_9B20_E55F4169B31C__INCLUDED_)
#define AFX_QUERYATTENDDLG_H__57D20969_1AC7_4468_9B20_E55F4169B31C__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// QueryAttendDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CQueryAttendDlg dialog
#include "StudentInfoDlg.h"
#include "TerminalCtrl.h"
#include "TerminalData.h"
#include "SetDlg.h"
#include "MatchDlg.h"
#include "EditCourseDlg.h"
#include "DevconnectDlg.h"
#include "ConfigTimePage.h"
#include "ConfigAttendPage.h"
#include "SysSetSheet.h"
#include "CourseDlg.h"
class CQueryAttendDlg : public CDialog
{
// Construction
public:
// CString m_strAttendTime;
void InsertToItem2(CString sAttendType,CString strCourseName,CString sWeekday,CString sDayTime);
int CompareSchedule(long iTime,long lUptime,long lDowntime);
CString GetCourseName(int iWeekday,CString strHour,CString strMinute,CString ClassName);
void QueryAttendInfo(long lAttId,CString ClassName);
void InsertToItem(CString tempId,CString sName,CString sDepartName,CString sClassName,CString tempCount);
void QueryStudentInfo();
void InitCtrlData();
CQueryAttendDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CQueryAttendDlg)
enum { IDD = IDD_DIALOG_QUERY_ATTEND };
CListCtrl m_listQAttend;
CListCtrl m_listQStudent;
CDateTimeCtrl m_dtpDown;
CDateTimeCtrl m_dtpUp;
CButton m_checkTime;
CComboBox m_cQClass;
CComboBox m_cQDepart;
CString m_strAttendTime;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CQueryAttendDlg)
public:
virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CQueryAttendDlg)
afx_msg void OnBtnDepartset();
afx_msg void OnBtnStudent();
afx_msg void OnBtnClassrooom();
afx_msg void OnBtnCourse();
afx_msg void OnBtnAttendManage();
afx_msg void OnBtnTerminalCtrl();
afx_msg void OnBtnTerminalData();
afx_msg void OnBtnClassSet();
virtual BOOL OnInitDialog();
afx_msg void OnSelchangeComboQdepart();
afx_msg void OnSelchangeComboQclass();
afx_msg void OnClickListQstudent(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnRclickListQattend(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnClose();
afx_msg void OnCheckTime();
afx_msg void OnChangeEditAttendtime();
afx_msg void OnBtnQuery();
afx_msg void OnBtnLookcourse();
virtual void OnOK();
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnRclickListQstudent(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnDel();
afx_msg void OnDelall();
afx_msg void OnDeldetail();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_QUERYATTENDDLG_H__57D20969_1AC7_4468_9B20_E55F4169B31C__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -