a
This commit is contained in:
@@ -0,0 +1,67 @@
|
||||
// DailLogin.cpp : implementation file
|
||||
//
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "geomative.h"
|
||||
#include "DialDeleteTaskOption.h"
|
||||
|
||||
#ifdef _DEBUG
|
||||
#define new DEBUG_NEW
|
||||
#undef THIS_FILE
|
||||
static char THIS_FILE[] = __FILE__;
|
||||
#endif
|
||||
extern int g_iUILanguage;
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// CDialDeleteTaskOption dialog
|
||||
|
||||
CDialDeleteTaskOption::CDialDeleteTaskOption(CWnd* pParent /*=NULL*/)
|
||||
: CDialog(CDialDeleteTaskOption::IDD, pParent)
|
||||
{
|
||||
//{{AFX_DATA_INIT(CDialDeleteTaskOption)
|
||||
m_DeleteCloud = FALSE;
|
||||
m_DeleteLocal = FALSE;
|
||||
//}}AFX_DATA_INIT
|
||||
}
|
||||
|
||||
BEGIN_MESSAGE_MAP(CDialDeleteTaskOption, CDialog)
|
||||
//{{AFX_MSG_MAP(CDialDeleteTaskOption)
|
||||
ON_BN_CLICKED(ID_OPTION_CANCEL, OnOptionCancel)
|
||||
ON_BN_CLICKED(ID_OPTION_OK, OnOptionOk)
|
||||
//}}AFX_MSG_MAP
|
||||
END_MESSAGE_MAP()
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// CDialDeleteTaskOption message handlers
|
||||
BOOL CDialDeleteTaskOption::OnInitDialog()
|
||||
{
|
||||
CDialog::OnInitDialog();
|
||||
if (LANG_ENUS == g_iUILanguage)
|
||||
{
|
||||
GetDlgItem(IDC_OPTION_CLOUD)->SetWindowText(_T("Delete Cloud server task"));
|
||||
GetDlgItem(IDC_OPTION_LOCAL)->SetWindowText(_T("Delete local task"));
|
||||
GetDlgItem(ID_OPTION_OK)->SetWindowText(_T("Ok"));
|
||||
GetDlgItem(ID_OPTION_CANCEL)->SetWindowText(_T("Cancel"));
|
||||
|
||||
}
|
||||
// TODO: 在此添加额外的初始化
|
||||
|
||||
return TRUE; // return TRUE unless you set the focus to a control
|
||||
// 异常: OCX 属性页应返回 FALSE
|
||||
}
|
||||
|
||||
void CDialDeleteTaskOption::OnOptionCancel()
|
||||
{
|
||||
// TODO: Add your control notification handler code here
|
||||
//GetParent()->SendMessage(WM_CLOSE, NULL, NULL);
|
||||
SendMessage(WM_CLOSE, NULL, NULL);
|
||||
}
|
||||
|
||||
void CDialDeleteTaskOption::OnOptionOk()
|
||||
{
|
||||
// TODO: Add your control notification handler code here
|
||||
|
||||
m_DeleteCloud = IsDlgButtonChecked(IDC_OPTION_CLOUD);
|
||||
m_DeleteLocal = IsDlgButtonChecked(IDC_OPTION_LOCAL);
|
||||
|
||||
CDialog::OnOK();
|
||||
}
|
||||
Reference in New Issue
Block a user