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

📄 maindlg.cpp

📁 学生成绩管理系统,实现增加删除修改保存等功能
💻 CPP
字号:
// MainDlg.cpp : implementation file
//

#include "stdafx.h"
#include "StuManage.h"
#include "MainDlg.h"
#include "MmxgDlg.h"
#include "XyszDlg.h"
#include "ZyszDlg.h"
#include "BjszDlg.h"
#include "StuxxDlg.h"
#include "TechxxDlg.h"
#include "TestxxDlg.h"
#include "CjlrDlg.h"
#include "CjhzDlg.h"
#include "CjcxDlg.h"
#include "HelpDlg.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CMainDlg dialog


CMainDlg::CMainDlg(CWnd* pParent /*=NULL*/)
	: CDialog(CMainDlg::IDD, pParent)
{
	//{{AFX_DATA_INIT(CMainDlg)
		// NOTE: the ClassWizard will add member initialization here
	//}}AFX_DATA_INIT
}


void CMainDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CMainDlg)
		// NOTE: the ClassWizard will add DDX and DDV calls here
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CMainDlg, CDialog)
	//{{AFX_MSG_MAP(CMainDlg)
	ON_BN_CLICKED(IDC_XGMM_BUTTON, OnXgmmButton)
	ON_BN_CLICKED(IDC_CANCEL_BUTTON, OnCancelButton)
	ON_BN_CLICKED(IDC_XYSZ_BUTTON, OnXyszButton)
	ON_BN_CLICKED(IDC_ZYSZ_BUTTON, OnZyszButton)
	ON_BN_CLICKED(IDC_BJSZ_BUTTON, OnBjszButton)
	ON_BN_CLICKED(IDC_XSXX_BUTTON, OnXsxxButton)
	ON_BN_CLICKED(IDC_JSXX_BUTTON, OnJsxxButton)
	ON_BN_CLICKED(IDC_KSXX_BUTTON, OnKsxxButton)
	ON_BN_CLICKED(IDC_CJLR_BUTTON, OnCjlrButton)
	ON_BN_CLICKED(IDC_CJHZ_BUTTON, OnCjhzButton)
	ON_BN_CLICKED(IDC_CJCX_BUTTON, OnCjcxButton)
	ON_BN_CLICKED(IDC_ABOUT_BUTTON, OnAboutButton)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CMainDlg message handlers

void CMainDlg::OnXgmmButton() 
{
	// TODO: Add your control notification handler code here
	CMmxgDlg m_mmxg;
	m_mmxg.DoModal();
}

void CMainDlg::OnCancelButton() 
{
	// TODO: Add your control notification handler code here
	OnOK();
}

void CMainDlg::OnXyszButton() 
{
	// TODO: Add your control notification handler code here
	CXyszDlg m_xysz;
	m_xysz.DoModal();
}

void CMainDlg::OnZyszButton() 
{
	// TODO: Add your control notification handler code here
	CZyszDlg m_zysz;
	m_zysz.DoModal();
}

void CMainDlg::OnBjszButton() 
{
	// TODO: Add your control notification handler code here
	CBjszDlg m_bjsz;
	m_bjsz.DoModal();
}

void CMainDlg::OnXsxxButton() 
{
	// TODO: Add your control notification handler code here
	CStuxxDlg m_stuxx;
	m_stuxx.DoModal();
}

void CMainDlg::OnJsxxButton() 
{
	// TODO: Add your control notification handler code here
	CTechxxDlg m_techxx;
	m_techxx.DoModal();
}

void CMainDlg::OnKsxxButton() 
{
	// TODO: Add your control notification handler code here
	CTestxxDlg m_testxx;
	m_testxx.DoModal();
}

void CMainDlg::OnCjlrButton() 
{
	// TODO: Add your control notification handler code here
	CCjlrDlg m_cjlr;
	m_cjlr.DoModal();
}

void CMainDlg::OnCjhzButton() 
{
	// TODO: Add your control notification handler code here
	CCjhzDlg m_cjhz;
	m_cjhz.DoModal();
}

void CMainDlg::OnCjcxButton() 
{
	// TODO: Add your control notification handler code here
	CCjcxDlg m_cjcx;
	m_cjcx.DoModal();
}

void CMainDlg::OnAboutButton() 
{
	// TODO: Add your control notification handler code here
	CHelpDlg m_help;
	m_help.DoModal();
}

⌨️ 快捷键说明

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