📄 dlgattman.cpp
字号:
// DlgAttMan.cpp : implementation file
//
#include "stdafx.h"
#include "Demo_airline.h"
#include "DlgAttMan.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CDlgAttMan dialog
CDlgAttMan::CDlgAttMan(CWnd* pParent /*=NULL*/)
: CDialog(CDlgAttMan::IDD, pParent)
{
//{{AFX_DATA_INIT(CDlgAttMan)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
void CDlgAttMan::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CDlgAttMan)
DDX_Control(pDX, IDC_PIC, m_Pic);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CDlgAttMan, CDialog)
//{{AFX_MSG_MAP(CDlgAttMan)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CDlgAttMan message handlers
BOOL CDlgAttMan::OnInitDialog()
{
CDialog::OnInitDialog();
if(m_Pic.Load("D:\\workspace\\Demo_airline\\Debug\\data\\demo1.JPG"))
m_Pic.Draw();
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 + -