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

📄 viewgroup.cpp

📁 使用MFC界面连SQL2000实现管理操作
💻 CPP
字号:
// ViewGroup.cpp : implementation file
//

#include "stdafx.h"
#include "数据库实践.h"
#include "ViewGroup.h"
#include "GoodsInforView.h"
#include "goodsPosView.h"
#include "GoodsSellView.h"
#include "EmployeeInforView.h"
#include "EmployeeJobView.h"


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

/////////////////////////////////////////////////////////////////////////////
// ViewGroup dialog


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


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


BEGIN_MESSAGE_MAP(ViewGroup, CDialog)
	//{{AFX_MSG_MAP(ViewGroup)
	ON_BN_CLICKED(IDC_BUTTON1, OnGoodsInforView)
	ON_BN_CLICKED(IDC_BUTTON2, OnGoodsPosView)
	ON_BN_CLICKED(IDC_BUTTON3, OnGoodsSellView)
	ON_BN_CLICKED(IDC_BUTTON4, OnEmployeeInforView)
	ON_BN_CLICKED(IDC_BUTTON5, OnEmployeeJobView)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// ViewGroup message handlers

void ViewGroup::OnGoodsInforView() 
{
	// TODO: Add your control notification handler code here
	GoodsInforView giv;
	giv.DoModal();
	
}

void ViewGroup::OnGoodsPosView() 
{
	// TODO: Add your control notification handler code here
	goodsPosView gpv;
	gpv.DoModal();
	
}

void ViewGroup::OnGoodsSellView() 
{
	// TODO: Add your control notification handler code here
	GoodsSellView gsv;
	gsv.DoModal();
	
}

void ViewGroup::OnEmployeeInforView() 
{
	// TODO: Add your control notification handler code here
	EmployeeInforView eiv;
	eiv.DoModal();
	
}

void ViewGroup::OnEmployeeJobView() 
{
	// TODO: Add your control notification handler code here
	EmployeeJobView ejv;
	ejv.DoModal();
	
}

⌨️ 快捷键说明

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