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

📄 current_infor.cpp

📁 用Visual C++编写的地震记录显示程序
💻 CPP
字号:
// current_infor.cpp : implementation file
//

#include "stdafx.h"
#include "showsgy.h"
#include "current_infor.h"

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

/////////////////////////////////////////////////////////////////////////////
// current_infor dialog


current_infor::current_infor(CWnd* pParent /*=NULL*/)
	: CDialog(current_infor::IDD, pParent)
{
	//{{AFX_DATA_INIT(current_infor)
	m_InputFile = _T("");
	m_Inlines = _T("");
	m_Xlines = _T("");
	m_Nz = _T("");
	m_mode = _T("");
	//}}AFX_DATA_INIT
}


void current_infor::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(current_infor)
	DDX_Control(pDX, IDC_ListMainInfo, m_LISTADDMAININFO);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(current_infor, CDialog)
	//{{AFX_MSG_MAP(current_infor)
	ON_WM_SHOWWINDOW()
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// current_infor message handlers

void current_infor::OnShowWindow(BOOL bShow, UINT nStatus) 
{
	CDialog::OnShowWindow(bShow, nStatus);
	
	// TODO: Add your message handler code here
	m_LISTADDMAININFO.AddString(m_InputFile);	
	m_LISTADDMAININFO.AddString(m_Inlines);
	m_LISTADDMAININFO.AddString(m_Xlines);
	m_LISTADDMAININFO.AddString(m_Nz);
	m_LISTADDMAININFO.AddString(m_mode);
}

⌨️ 快捷键说明

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