📄 mainfrm.h
字号:
// MainFrm.h : interface of the CMainFrame class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_MAINFRM_H__4907B26A_1806_47F2_B0FE_8592922CA66F__INCLUDED_)
#define AFX_MAINFRM_H__4907B26A_1806_47F2_B0FE_8592922CA66F__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CMainFrame : public CFrameWnd
{
protected: // create from serialization only
CMainFrame();
DECLARE_DYNCREATE(CMainFrame)
// Attributes
public:
CString connectip;//连接服务器的IP
////////////////////////////////////////
int login;//登陆人的等级
//0为未登陆
//1为超级用户
//2为选课用户
//3为增加学生用户
//4为增加课程用户
//5为增加教师用户
//6为打印报表用户
//7为教师授课
//8为修改成绩用户
////////////////////////////////////////
CSplitterWnd m_wndSplitter;
void Changepage(int page);//更换页面
int pagenow;//现在的页面号
CView *pview;//现在的页面句柄
//////操作智多星
COleVariant close;
CAgentCtlCharacterEx m_charClip;
CAgentCtlEx m_agent;
void Agenttalk(CString text);
bool officeinstall;
//////
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMainFrame)
public:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
virtual BOOL DestroyWindow();
protected:
virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CMainFrame();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
protected:
//{{AFX_MSG(CMainFrame)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnLogging();
afx_msg void OnUnlog();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MAINFRM_H__4907B26A_1806_47F2_B0FE_8592922CA66F__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -