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

📄 yonghujiemianview.cpp

📁 生理参数的用户界面
💻 CPP
字号:
// yonghujiemianView.cpp : implementation of the CYonghujiemianView class
//

#include "stdafx.h"
#include "yonghujiemian.h"

#include "yonghujiemianDoc.h"
#include "yonghujiemianView.h"

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

/////////////////////////////////////////////////////////////////////////////
// CYonghujiemianView

IMPLEMENT_DYNCREATE(CYonghujiemianView, CView)

BEGIN_MESSAGE_MAP(CYonghujiemianView, CView)
	//{{AFX_MSG_MAP(CYonghujiemianView)
	ON_COMMAND(ID_SHOWDIALOG1, OnShowdialog1)
	ON_COMMAND(ID_SHOWDIALOG2, OnShowdialog2)
	ON_COMMAND(ID_SHOWDIALOG3, OnShowdialog3)
	ON_COMMAND(ID_SHOWDIALOG4, OnShowdialog4)
	ON_COMMAND(ID_SHOWDIALOG5, OnShowdialog5)
	ON_COMMAND(ID_SHOWDIALOG6, OnShowdialog6)
	ON_COMMAND(ID_SHOWDIALOG7, OnShowdialog7)
	ON_COMMAND(ID_SHOWDIALOG8, OnShowdialog8)
	ON_WM_CREATE()
	//}}AFX_MSG_MAP
	// Standard printing commands
	ON_COMMAND(ID_FILE_PRINT, CView::OnFilePrint)
	ON_COMMAND(ID_FILE_PRINT_DIRECT, CView::OnFilePrint)
	ON_COMMAND(ID_FILE_PRINT_PREVIEW, CView::OnFilePrintPreview)
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CYonghujiemianView construction/destruction

CYonghujiemianView::CYonghujiemianView()
{
	// TODO: add construction code here

}

CYonghujiemianView::~CYonghujiemianView()
{
}

BOOL CYonghujiemianView::PreCreateWindow(CREATESTRUCT& cs)
{
	// TODO: Modify the Window class or styles here by modifying
	//  the CREATESTRUCT cs

	return CView::PreCreateWindow(cs);
}

/////////////////////////////////////////////////////////////////////////////
// CYonghujiemianView drawing

void CYonghujiemianView::OnDraw(CDC* pDC)
{
	CYonghujiemianDoc* pDoc = GetDocument();
	ASSERT_VALID(pDoc);
	// TODO: add draw code for native data here
}

/////////////////////////////////////////////////////////////////////////////
// CYonghujiemianView printing

BOOL CYonghujiemianView::OnPreparePrinting(CPrintInfo* pInfo)
{
	// default preparation
	return DoPreparePrinting(pInfo);
}

void CYonghujiemianView::OnBeginPrinting(CDC* /*pDC*/, CPrintInfo* /*pInfo*/)
{
	// TODO: add extra initialization before printing
}

void CYonghujiemianView::OnEndPrinting(CDC* /*pDC*/, CPrintInfo* /*pInfo*/)
{
	// TODO: add cleanup after printing
}

/////////////////////////////////////////////////////////////////////////////
// CYonghujiemianView diagnostics

#ifdef _DEBUG
void CYonghujiemianView::AssertValid() const
{
	CView::AssertValid();
}

void CYonghujiemianView::Dump(CDumpContext& dc) const
{
	CView::Dump(dc);
}

CYonghujiemianDoc* CYonghujiemianView::GetDocument() // non-debug version is inline
{
	ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CYonghujiemianDoc)));
	return (CYonghujiemianDoc*)m_pDocument;
}
#endif //_DEBUG

/////////////////////////////////////////////////////////////////////////////
// CYonghujiemianView message handlers

void CYonghujiemianView::OnShowdialog1() 
{
	// TODO: Add your command handler code here
	MYdialog.DoModal();
}

void CYonghujiemianView::OnShowdialog2() 
{
	// TODO: Add your command handler code here
	MYdialog2.DoModal();
}

void CYonghujiemianView::OnShowdialog3() 
{
	// TODO: Add your command handler code here
	MYdialog3.DoModal();
}

void CYonghujiemianView::OnShowdialog4() 
{
	// TODO: Add your command handler code here
	MYdialog4.DoModal();
}

void CYonghujiemianView::OnShowdialog5() 
{
	// TODO: Add your command handler code here
	MYdialog5.DoModal();
}


void CYonghujiemianView::OnShowdialog6() 
{
	// TODO: Add your command handler code here
	MYdialog6.DoModal();
}

void CYonghujiemianView::OnShowdialog7() 
{
	// TODO: Add your command handler code here
	MYdialog7.DoModal();
}

void CYonghujiemianView::OnShowdialog8() 
{
	// TODO: Add your command handler code here
	MYdialog8.DoModal();
}

//DEL void CYonghujiemianView::OnShowdialog9() 
//DEL {
//DEL 	// TODO: Add your command handler code here
//DEL 	
//DEL }



int CYonghujiemianView::OnCreate(LPCREATESTRUCT lpCreateStruct) 
{
	if (CView::OnCreate(lpCreateStruct) == -1)
		return -1;
	
	// TODO: Add your specialized creation code here
	
	return 0;
}

⌨️ 快捷键说明

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