dir.cpp
来自「CAM控制软件源代码 非常好的一个程序」· C++ 代码 · 共 62 行
CPP
62 行
// Dir.cpp : implementation file
//
#include "stdafx.h"
#include "Programa.h"
#include "Dir.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CDir
IMPLEMENT_DYNCREATE(CDir, CView)
CDir::CDir()
{
}
CDir::~CDir()
{
}
BEGIN_MESSAGE_MAP(CDir, CView)
//{{AFX_MSG_MAP(CDir)
// NOTE - the ClassWizard will add and remove mapping macros here.
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CDir drawing
void CDir::OnDraw(CDC* pDC)
{
CProgramaDoc* pDoc = GetDocument();
die=pDoc->cuchilla;
// TODO: add draw code here
}
/////////////////////////////////////////////////////////////////////////////
// CDir diagnostics
#ifdef _DEBUG
void CDir::AssertValid() const
{
CView::AssertValid();
}
void CDir::Dump(CDumpContext& dc) const
{
CView::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CDir message handlers
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?