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

📄 reccing.cpp

📁 CT工作站具有打印报告、病历管理、图像处理专家词库等功能
💻 CPP
字号:
// Reccing.cpp : implementation file
//

#include "stdafx.h"
#include "bxt.h"
#include "Reccing.h"
#include "bxtdlg.h"

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

/////////////////////////////////////////////////////////////////////////////
// Reccing dialog


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


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


BEGIN_MESSAGE_MAP(Reccing, CDialog)
	//{{AFX_MSG_MAP(Reccing)
	ON_BN_CLICKED(IDC_BUTTON2, OnButton2)
	ON_BN_CLICKED(IDC_BUTTON3, OnButton3)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// Reccing message handlers

void Reccing::OnButton2() 
{
	//char filename[100];
	//sprintf(filename,"%s","c:\\test.jpg");
	if( ((CBxtDlg*)AfxGetMainWnd())->geninfo->m_isnew ) 
	{
		return;
	}
	((CBxtDlg*)AfxGetMainWnd())->rec->SendMessage(WX_RECONE,0,0);
	//(((CBxtDlg*)AfxGetMainWnd())->rec)->SendMessage(WX_RECONE,0,(LPARAM)filename);
}

void
Reccing::OnButton3() 
{
	if ( ((CBxtDlg*)AfxGetMainWnd())->rec->CapturedNum>1 )
	{
		CString picpath;
		picpath	= ((CBxtDlg *)AfxGetMainWnd())->m_workingpath ;
		//picpath	+= m_id;
		picpath	+= "\\";
		((CBxtDlg *)AfxGetMainWnd())->imgpcs->refresh(picpath.GetBuffer(picpath.GetLength()));
		((CBxtDlg *)AfxGetMainWnd())->m_m.SelectTab(1);
		((CBxtDlg *)AfxGetMainWnd())->TabSelChange(IDC_TAB1,0);
	}
}

⌨️ 快捷键说明

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