📄 dialogstat.h
字号:
//{{AFX_INCLUDES()
#include "adodc.h"
#include "datagrid.h"
//}}AFX_INCLUDES
#if !defined(AFX_DIALOGSTAT_H__ED49CC9A_CD54_4254_B071_D64562363792__INCLUDED_)
#define AFX_DIALOGSTAT_H__ED49CC9A_CD54_4254_B071_D64562363792__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DialogSTAT.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CDialogSTAT dialog
class CDialogSTAT : public CDialog
{
// Construction
public:
CDialogSTAT(CWnd* pParent = NULL); // standard constructor
//声明一个ADO记录集
_RecordsetPtr m_pRecordset;
void QueryStuID();
void QueryCouID();
// Dialog Data
//{{AFX_DATA(CDialogSTAT)
enum { IDD = IDD_DIALOG_STAT };
CDataGrid m_DataL;
CAdodc m_AdoL;
CAdodc m_AdoR;
CDataGrid m_DataR;
int m_AvgL;
int m_NotPassL;
int m_AvgR;
int m_NotPassR;
CString m_CouID;
CString m_StuID;
int m_CouNum;
int m_StuNum;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDialogSTAT)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CDialogSTAT)
virtual BOOL OnInitDialog();
afx_msg void OnButtonOK();
afx_msg void OnButtonGoback();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//引入全局变量theApp
extern CYDMSApp theApp;
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DIALOGSTAT_H__ED49CC9A_CD54_4254_B071_D64562363792__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -