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

📄 menudlg.cpp

📁 库存管理系统
💻 CPP
字号:
// MenuDlg.cpp : implementation file
//

#include "stdafx.h"
#include "库存管理系统.h"
#include "库存管理系统Dlg.h"
#include "MenuDlg.h"
#include "UserManageDlg.h"
#include "GoodsImport_ImDlg.h"
#include "GoodsImport_2.h"
#include "GoodsImport_3.h"
#include "GoodsImport_4.h"
#include "Dialog_test.h"

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

/////////////////////////////////////////////////////////////////////////////
// CMenuDlg dialog


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


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


BEGIN_MESSAGE_MAP(CMenuDlg, CDialog)
	//{{AFX_MSG_MAP(CMenuDlg)
	ON_COMMAND(Menu_Exit, OnMenuExit)
	ON_COMMAND(Menu_About, OnMenuAbout)
	ON_COMMAND(Menu_User_Manage, OnUserManage)
	ON_COMMAND(MENU_GoodsImport_IM, OnGoodsImportIM)
	ON_COMMAND(MENU_goods_2, Ongoods2)
	ON_COMMAND(MENU_goods_4, Ongoods4)
	ON_COMMAND(MENU_goods_3, Ongoods3)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CMenuDlg message handlers

void CMenuDlg::OnMenuExit() 
{
	// TODO: Add your command handler code here
	CDialog::OnOK();
	CAboutDlg dlg;
	dlg.DoModal();
}

void CMenuDlg::OnMenuAbout() 
{
	// TODO: Add your command handler code here
	CAboutDlg dlg;
	dlg.DoModal();
}

void CMenuDlg::OnUserManage() 
{
	// TODO: Add your command handler code here
	CUserManageDlg dlg;
	dlg.DoModal();
	
}

void CMenuDlg::OnGoodsImportIM() 
{
	// TODO: Add your command handler code here
	CGoodsImport_ImDlg dlg;
	dlg.DoModal();
}

void CMenuDlg::Ongoods2() 
{
	// TODO: Add your command handler code here
     CGoodsImport_2 dlg;
	dlg.DoModal();
	
}

void CMenuDlg::Ongoods4() 
{
	// TODO: Add your command handler code here
	CGoodsImport_4 dlg;
	dlg.DoModal();
}

void CMenuDlg::Ongoods3() 
{
	// TODO: Add your command handler code here
	CGoodsImport_3 dlg;
	dlg.DoModal();
	
}

BOOL CMenuDlg::OnInitDialog() 
{
	CDialog::OnInitDialog();
	
	// TODO: Add extra initialization here
	this->ShowWindow(SW_MAXIMIZE);
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}

⌨️ 快捷键说明

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