You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
68 lines
1.4 KiB
C++
68 lines
1.4 KiB
C++
// SaveLineEditSetting.cpp : 实现文件
|
|
//
|
|
|
|
#include "stdafx.h"
|
|
#include "SaveLineEditSetting.h"
|
|
#include "afxdialogex.h"
|
|
#include "Globe.h"
|
|
|
|
// CSaveLineEditSetting 对话框
|
|
|
|
IMPLEMENT_DYNAMIC(CSaveLineEditSetting, CBCGPDialog)
|
|
|
|
CSaveLineEditSetting::CSaveLineEditSetting(CWnd* pParent /*=NULL*/)
|
|
: CBCGPDialog(CSaveLineEditSetting::IDD, pParent)
|
|
{
|
|
EnableVisualManagerStyle(TRUE, TRUE);
|
|
|
|
saveStatus = 0;
|
|
}
|
|
|
|
CSaveLineEditSetting::~CSaveLineEditSetting()
|
|
{
|
|
}
|
|
|
|
void CSaveLineEditSetting::DoDataExchange(CDataExchange* pDX)
|
|
{
|
|
CBCGPDialog::DoDataExchange(pDX);
|
|
}
|
|
|
|
|
|
BEGIN_MESSAGE_MAP(CSaveLineEditSetting, CBCGPDialog)
|
|
ON_BN_CLICKED(IDC_BTN_SAVEEDIT, &CSaveLineEditSetting::OnBnClickedBtnSaveedit)
|
|
ON_BN_CLICKED(IDC_BTN_CONTINUEEDIT, &CSaveLineEditSetting::OnBnClickedBtnContinueedit)
|
|
ON_BN_CLICKED(IDC_BTN_CANCELEDIT, &CSaveLineEditSetting::OnBnClickedBtnCanceledit)
|
|
END_MESSAGE_MAP()
|
|
|
|
int CSaveLineEditSetting::GetSaveStatus()
|
|
{
|
|
return saveStatus;
|
|
}
|
|
|
|
// CSaveLineEditSetting 消息处理程序
|
|
|
|
|
|
void CSaveLineEditSetting::OnBnClickedBtnSaveedit()
|
|
{
|
|
// TODO: 在此添加控件通知处理程序代码
|
|
saveStatus = 1;
|
|
OnOK();
|
|
}
|
|
|
|
|
|
void CSaveLineEditSetting::OnBnClickedBtnContinueedit()
|
|
{
|
|
// TODO: 在此添加控件通知处理程序代码
|
|
saveStatus = 0;
|
|
OnOK();
|
|
}
|
|
|
|
|
|
void CSaveLineEditSetting::OnBnClickedBtnCanceledit()
|
|
{
|
|
// TODO: 在此添加控件通知处理程序代码
|
|
saveStatus = -1;
|
|
|
|
OnOK();
|
|
}
|