📄 errdialog.cpp
字号:
/*
File: ErrDialog.cpp : implementation file
*/
#include "stdafx.h"
#include "dbporter.h"
#include "ErrDialog.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CErrDialog dialog
CErrDialog::CErrDialog(CWnd* pParent /*=NULL*/)
: CDialog(CErrDialog::IDD, pParent)
{
//{{AFX_DATA_INIT(CErrDialog)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
void CErrDialog::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CErrDialog)
DDX_Control(pDX, IDC_ERRLIST, m_ErrList);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CErrDialog, CDialog)
//{{AFX_MSG_MAP(CErrDialog)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CErrDialog message handlers
BOOL CErrDialog::OnInitDialog()
{
CDialog::OnInitDialog();
int c=m_pErrors->GetSize();
for(int i=0;i<c;i++)
{
m_ErrList.AddString(m_pErrors->GetAt(i));
}
return TRUE;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -