basicauthdlg.cpp

来自「Vc.Net入门与提高源码」· C++ 代码 · 共 43 行

CPP
43
字号
// BasicAuthDlg.cpp : implementation file
//
// Copyright (c) Microsoft Corporation.  All rights reserved.
//
// This source code is only intended as a supplement to the
// Microsoft Classes Reference and related electronic
// documentation provided with the library.
// See these sources for detailed information regarding the
// Microsoft C++ Libraries products.

#include "stdafx.h"
#include "HttpClient.h"
#include "BasicAuthDlg.h"


// CBasicAuthDlg dialog

IMPLEMENT_DYNAMIC(CBasicAuthDlg, CDialog)
CBasicAuthDlg::CBasicAuthDlg(CWnd* pParent /*=NULL*/)
	: CDialog(CBasicAuthDlg::IDD, pParent)
	, m_username(_T(""))
	, m_password(_T(""))
{
}

CBasicAuthDlg::~CBasicAuthDlg()
{
}

void CBasicAuthDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	DDX_Text(pDX, IDC_USERNAME, m_username);
	DDX_Text(pDX, IDC_PASSWORD, m_password);
}


BEGIN_MESSAGE_MAP(CBasicAuthDlg, CDialog)
END_MESSAGE_MAP()


// CBasicAuthDlg message handlers

⌨️ 快捷键说明

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