📄 dblistdlg.cpp
字号:
// DBListDlg.cpp : implementation file
//
#include "stdafx.h"
#include "PROJECTPMU.h"
#include "DBListDlg.h"
#include "StationInfoDlg.h"
#include "RouteListDlg.h"
#include "RouteInfoDlg.h"
#include "ServerMessagesDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CDBListDlg dialog
CDBListDlg::CDBListDlg(CWnd* pParent /*=NULL*/)
: CDialog(CDBListDlg::IDD, pParent)
{
//{{AFX_DATA_INIT(CDBListDlg)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
void CDBListDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CDBListDlg)
// NOTE: the ClassWizard will add DDX and DDV calls here
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CDBListDlg, CDialog)
//{{AFX_MSG_MAP(CDBListDlg)
ON_BN_CLICKED(IDC_StationInfo_Button, OnStationInfoButton)
ON_BN_CLICKED(IDC_RouteList_Button, OnRouteListButton)
ON_BN_CLICKED(IDC_RouteInfo_Button, OnRouteInfoButton)
ON_BN_CLICKED(IDC_Message_Button, OnMessageButton)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CDBListDlg message handlers
void CDBListDlg::OnStationInfoButton()
{
// TODO: Add your control notification handler code here
CStationInfoDlg dlg;
dlg.DoModal();
}
void CDBListDlg::OnRouteListButton()
{
// TODO: Add your control notification handler code here
CRouteListDlg dlg;
dlg.DoModal();
}
void CDBListDlg::OnRouteInfoButton()
{
// TODO: Add your control notification handler code here
CRouteInfoDlg dlg;
dlg.DoModal();
}
void CDBListDlg::OnMessageButton()
{
// TODO: Add your control notification handler code here
CServerMessagesDlg dlg;
dlg.DoModal();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -