用户登录界面设计


在vc6.0的环境中,用代码编写了一个客户登录界面,希望对大家有帮助哟!
资源截图
代码片段和文件信息
// CEdit_1.cpp : Defines the class behaviors for the application.
//

#include “stdafx.h“
#include “CEdit_1.h“
#include “CEdit_1Dlg.h“

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CCEdit_1App

BEGIN_MESSAGE_MAP(CCEdit_1App CWinApp)
//{{AFX_MSG_MAP(CCEdit_1App)
// NOTE - the ClassWizard will add and remove mapping macros here.
//    DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG
ON_COMMAND(ID_HELP CWinApp::onhelp)
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CCEdit_1App construction

CCEdit_1App::CCEdit_1App()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}

/////////////////////////////////////////////////////////////////////////////
// The one and only CCEdit_1App object

CCEdit_1App theApp;

/////////////////////////////////////////////////////////////////////////////
// CCEdit_1App initialization

BOOL CCEdit_1App::InitInstance()
{
AfxEnableControlContainer();

// Standard initialization
// If you are not using these features and wish to reduce the size
//  of your final executable you should remove from the following
//  the specific initialization routines you do not need.

#ifdef _AFXDLL
Enable3dControls(); // Call this when using MFC in a shared DLL
#else
Enable3dControlsStatic(); // Call this when linking to MFC statically
#endif

CCEdit_1Dlg dlg;
m_pMainWnd = &dlg;
int nResponse = dlg.DoModal();
if (nResponse == IDOK)
{
// TODO: Place code here to handle when the dialog is
//  dismissed with OK
}
else if (nResponse == IDCANCEL)
{
// TODO: Place code here to handle when the dialog is
//  dismissed with Cancel
}

// Since the dialog has been closed return FALSE so that we exit the
//  application rather than start the application‘s message pump.
return FALSE;
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2011-04-15 14:13  code
     目录           0  2012-03-13 21:34  codeCEdit_1
     文件       20940  2012-03-13 15:50  codeCEdit_1CEdit_1.aps
     文件        1233  2012-03-13 21:33  codeCEdit_1CEdit_1.clw
     文件        2077  2011-04-15 14:13  codeCEdit_1CEdit_1.cpp
     文件        4181  2011-04-15 14:13  codeCEdit_1CEdit_1.dsp
     文件         537  2011-04-15 14:13  codeCEdit_1CEdit_1.dsw
     文件        1335  2011-04-15 14:13  codeCEdit_1CEdit_1.h
     文件       50176  2012-03-13 21:34  codeCEdit_1CEdit_1.ncb
     文件       48640  2012-03-13 21:34  codeCEdit_1CEdit_1.opt
     文件         539  2012-03-13 19:34  codeCEdit_1CEdit_1.plg
     文件        5435  2011-04-15 14:13  codeCEdit_1CEdit_1.rc
     文件        4661  2012-03-13 15:59  codeCEdit_1CEdit_1Dlg.cpp
     文件        1390  2011-04-15 14:13  codeCEdit_1CEdit_1Dlg.h
     目录           0  2012-03-13 15:59  codeCEdit_1Debug
     文件      106575  2012-03-13 19:34  codeCEdit_1DebugCEdit_1.exe
     文件      191560  2012-03-13 19:34  codeCEdit_1DebugCEdit_1.ilk
     文件       14176  2012-03-13 15:43  codeCEdit_1DebugCEdit_1.obj
     文件     6869072  2012-03-13 15:43  codeCEdit_1DebugCEdit_1.pch
     文件      353280  2012-03-13 15:59  codeCEdit_1DebugCEdit_1.pdb
     文件        2620  2012-03-13 15:43  codeCEdit_1DebugCEdit_1.res
     文件        2430  2012-03-13 15:43  codeCEdit_1DebugCEdit_1.sbr
     文件       28127  2012-03-13 19:34  codeCEdit_1DebugCEdit_1Dlg.obj
     文件        4572  2012-03-13 19:34  codeCEdit_1DebugCEdit_1Dlg.sbr
     文件      105746  2012-03-13 15:43  codeCEdit_1DebugStdAfx.obj
     文件     1375004  2012-03-13 15:43  codeCEdit_1DebugStdAfx.sbr
     文件      205824  2012-03-13 19:34  codeCEdit_1Debugvc60.idb
     文件      364544  2012-03-13 15:59  codeCEdit_1Debugvc60.pdb
     文件        3597  2011-04-15 14:13  codeCEdit_1ReadMe.txt
     目录           0  2011-04-15 14:13  codeCEdit_1
es
     文件         731  2011-04-15 14:13  codeCEdit_1Resource.h
............此处省略4个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)