47 lines
935 B
C++
47 lines
935 B
C++
// BandwidthDlg.cpp : 구현 파일입니다.
|
|
//
|
|
|
|
#include "stdafx.h"
|
|
#include "ConsoleApp.h"
|
|
#include "BandwidthDlg.h"
|
|
#include ".\bandwidthdlg.h"
|
|
|
|
|
|
// CBandwidthDlg 대화 상자입니다.
|
|
|
|
IMPLEMENT_DYNAMIC(CBandwidthDlg, CDialog)
|
|
CBandwidthDlg::CBandwidthDlg(CWnd* pParent /*=NULL*/)
|
|
: CDialog(CBandwidthDlg::IDD, pParent)
|
|
, m_sPath(_T(""))
|
|
, m_nLevel(0)
|
|
{
|
|
}
|
|
|
|
CBandwidthDlg::~CBandwidthDlg()
|
|
{
|
|
}
|
|
|
|
void CBandwidthDlg::DoDataExchange(CDataExchange* pDX)
|
|
{
|
|
CDialog::DoDataExchange(pDX);
|
|
DDX_Text(pDX, IDC_EDT_PATH, m_sPath);
|
|
DDX_Control(pDX, IDC_CBO_LEVEL, m_cboLevel);
|
|
}
|
|
|
|
|
|
BEGIN_MESSAGE_MAP(CBandwidthDlg, CDialog)
|
|
END_MESSAGE_MAP()
|
|
|
|
|
|
// CBandwidthDlg 메시지 처리기입니다.
|
|
|
|
BOOL CBandwidthDlg::OnInitDialog()
|
|
{
|
|
CDialog::OnInitDialog();
|
|
|
|
m_cboLevel.SetCurSel(m_nLevel);
|
|
|
|
return TRUE; // return TRUE unless you set the focus to a control
|
|
// 예외: OCX 속성 페이지는 FALSE를 반환해야 합니다.
|
|
}
|