📄 barprint.cpp
字号:
// BarPrint.cpp : implementation file
//
#include "stdafx.h"
#include "falcon_jxc.h"
#include "BarPrint.h"
#include "RptDlgSpjhxm.h"
#include "RptDlgSpdbxm.h"
#include "RptDlgSpxsmx.h"
#include "RptDlgSpxsph.h"
#include "RptDlgGhsxsph.h"
#include "RptDlgBmxsyj.h"
#include "RptDlgYyyxsyj.h"
#include "dlgdhhy.h"
#include "mainfrm.h"
#include "falcon_jxcview.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CBarPrint dialog
IMPLEMENT_DYNCREATE(CBarPrint, CDialog)
CBarPrint::CBarPrint(CWnd* pParent /*=NULL*/)
: CDialog(CBarPrint::IDD, pParent)
{
//{{AFX_DATA_INIT(CBarPrint)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
void CBarPrint::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CBarPrint)
// NOTE: the ClassWizard will add DDX and DDV calls here
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CBarPrint, CDialog)
//{{AFX_MSG_MAP(CBarPrint)
ON_BN_CLICKED(IDC_BUTTON1, OnButton1)
ON_BN_CLICKED(IDC_BUTTON2, OnButton2)
ON_BN_CLICKED(IDC_BUTTON5, OnButton5)
ON_BN_CLICKED(IDC_BUTTON6, OnButton6)
ON_BN_CLICKED(IDC_BUTTON7, OnButton7)
ON_BN_CLICKED(IDC_BUTTON8, OnButton8)
ON_BN_CLICKED(IDC_BUTTON14, OnButton14)
ON_BN_CLICKED(IDC_BUTTON15, OnButton15)
ON_BN_CLICKED(IDC_BUTTON16, OnButton16)
ON_BN_CLICKED(IDC_BUTTON18, OnButton18)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CBarPrint message handlers
void CBarPrint::OnButton1()
{
CMainFrame* pwnd=(CMainFrame*)AfxGetApp()->m_pMainWnd;
CFALCON_JXCView* pView=(CFALCON_JXCView*)pwnd->GetActiveView();
pView->OnRptSpjhmx();
}
void CBarPrint::OnButton2()
{
// TODO: Add your control notification handler code here
CMainFrame* pwnd=(CMainFrame*)AfxGetApp()->m_pMainWnd;
CFALCON_JXCView* pView=(CFALCON_JXCView*)pwnd->GetActiveView();
pView->RptSpdbmx();
}
void CBarPrint::OnButton5()
{
CMainFrame* pwnd=(CMainFrame*)AfxGetApp()->m_pMainWnd;
CFALCON_JXCView* pView=(CFALCON_JXCView*)pwnd->GetActiveView();
pView->RptSpxsmx() ;
}
void CBarPrint::OnButton6()
{
CMainFrame* pwnd=(CMainFrame*)AfxGetApp()->m_pMainWnd;
CFALCON_JXCView* pView=(CFALCON_JXCView*)pwnd->GetActiveView();
pView->RptSpxsph();
}
void CBarPrint::OnButton7()
{
CMainFrame* pwnd=(CMainFrame*)AfxGetApp()->m_pMainWnd;
CFALCON_JXCView* pView=(CFALCON_JXCView*)pwnd->GetActiveView();
pView->RptGhsxsph() ;
}
void CBarPrint::OnButton8()
{
CMainFrame* pwnd=(CMainFrame*)AfxGetApp()->m_pMainWnd;
CFALCON_JXCView* pView=(CFALCON_JXCView*)pwnd->GetActiveView();
pView->RptBmxsyj() ;
}
void CBarPrint::OnButton14()
{
CMainFrame* pwnd=(CMainFrame*)AfxGetApp()->m_pMainWnd;
CFALCON_JXCView* pView=(CFALCON_JXCView*)pwnd->GetActiveView();
pView->RptYyyxsyj() ;
}
void CBarPrint::OnButton15()
{
// TODO: Add your control notification handler code here
}
void CBarPrint::OnButton16()
{
// TODO: Add your control notification handler code here
CMainFrame* pwnd=(CMainFrame*)AfxGetApp()->m_pMainWnd;
CFALCON_JXCView* pView=(CFALCON_JXCView*)pwnd->GetActiveView();
pView->OnRptSpkcpd();
}
void CBarPrint::OnButton18()
{
CMainFrame* pwnd=(CMainFrame*)AfxGetApp()->m_pMainWnd;
CFALCON_JXCView* pView=(CFALCON_JXCView*)pwnd->GetActiveView();
pView->OnRptYsys();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -