authenticationdlg.cpp.svn-base
来自「wince c++ 下 开发的 rss 阅读器源代码」· SVN-BASE 代码 · 共 91 行
SVN-BASE
91 行
/**
* AuthenticationDlg.cpp
*
* Copyright (C) 2008 David Andrs <pda@jasnapaka.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
#include "StdAfx.h"
#include "prssr.h"
#include "AuthenticationDlg.h"
#ifdef MYDEBUG
#undef THIS_FILE
static TCHAR THIS_FILE[] = _T(__FILE__);
#include "debug/crtdbg.h"
#define new MYDEBUG_NEW
#endif
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CAuthenticationPg dialog
CAuthenticationPg::CAuthenticationPg()
: CPropertyPage(CAuthenticationPg::IDD)
{
//{{AFX_DATA_INIT(CAuthenticationPg)
m_strSite = _T("");
m_strRealm = _T("");
m_strPassword = _T("");
m_strUserName = _T("");
m_bSavePassword = FALSE;
//}}AFX_DATA_INIT
}
void CAuthenticationPg::DoDataExchange(CDataExchange* pDX)
{
LOG0(5, "CAuthenticationPg::DoDataExchange()");
CPropertyPage::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CAuthenticationPg)
DDX_Text(pDX, IDC_SITE, m_strSite);
DDX_Text(pDX, IDC_REALM, m_strRealm);
DDX_Control(pDX, IDC_USERNAME, m_ctlUserName);
DDX_Control(pDX, IDC_PASSWORD, m_ctlPassword);
DDX_Text(pDX, IDC_PASSWORD, m_strPassword);
DDX_Text(pDX, IDC_USERNAME, m_strUserName);
DDX_Check(pDX, IDC_SAVE_PASSWORD, m_bSavePassword);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CAuthenticationPg, CPropertyPage)
//{{AFX_MSG_MAP(CAuthenticationPg)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CAuthenticationPg message handlers
BOOL CAuthenticationPg::OnInitDialog() {
LOG0(3, "CAuthenticationPg::OnInitDialog()");
CPropertyPage::OnInitDialog();
return TRUE;
}
void CAuthenticationPg::UpdateControls() {
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?