?? viewgroup.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 + -