資源簡介
MFC對話框實現系統的啟動界面和登錄界面的設計

代碼片段和文件信息
//?Login.cpp?:?implementation?file
//
#include?“stdafx.h“
#include?“TestSys.h“
#include?“Login.h“
#include?“TestSysDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CLogin?dialog
CLogin::CLogin(CWnd*?pParent?/*=NULL*/)
:?CDialog(CLogin::IDD?pParent)
{
//{{AFX_DATA_INIT(CLogin)
//?NOTE:?the?ClassWizard?will?add?member?initialization?here
//}}AFX_DATA_INIT
}
void?CLogin::DoDataExchange(CDataExchange*?pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CLogin)
//?NOTE:?the?ClassWizard?will?add?DDX?and?DDV?calls?here
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CLogin?CDialog)
//{{AFX_MSG_MAP(CLogin)
ON_BN_CLICKED(IDC_logbt?Onlogbt)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
//?CLogin?message?handlers
BOOL?CLogin::OnInitDialog()?
{
CDialog::OnInitDialog();
//?TODO:?Add?extra?initialization?here
return?TRUE;??//?return?TRUE?unless?you?set?the?focus?to?a?control
??????????????//?EXCEPTION:?OCX?Property?Pages?should?return?FALSE
}
void?CLogin::Onlogbt()?
{
//?TODO:?Add?your?control?notification?handler?code?here
//在此處加入輸入密碼判斷程序,若密碼正確,則可用下面兩條語句進入系統的主頁面
CTestSysDlg?dlg;
dlg.DoModal();
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????12318??2013-04-02?11:34??TestSys\Debug\Login.obj
?????文件??????11362??2013-04-01?11:30??TestSys\Debug\StartUp.obj
?????文件?????105562??2013-04-01?10:35??TestSys\Debug\StdAfx.obj
?????文件????1638445??2013-04-25?10:40??TestSys\Debug\TestSys.exe
?????文件?????192728??2013-04-25?10:40??TestSys\Debug\TestSys.ilk
?????文件??????13513??2013-04-02?11:34??TestSys\Debug\TestSys.obj
?????文件????5576928??2013-04-01?10:35??TestSys\Debug\TestSys.pch
?????文件?????353280??2013-04-25?10:40??TestSys\Debug\TestSys.pdb
?????文件????1275728??2013-04-25?10:40??TestSys\Debug\TestSys.res
?????文件??????22453??2013-04-01?10:35??TestSys\Debug\TestSysDlg.obj
?????文件?????205824??2013-04-25?10:40??TestSys\Debug\vc60.idb
?????文件?????372736??2013-04-02?11:34??TestSys\Debug\vc60.pdb
?????文件???????1432??2013-04-02?11:34??TestSys\Login.cpp
?????文件???????1212??2013-04-02?11:34??TestSys\Login.h
?????文件???????3597??2013-03-30?15:28??TestSys\ReadMe.txt
?????文件?????884016??2013-03-30?15:43??TestSys\res\12-1-2.bmp
?????文件?????768054??2013-04-25?10:40??TestSys\res\12-3.bmp
?????文件?????884016??2013-04-01?14:58??TestSys\res\12-4-2-1.bmp
?????文件?????884016??2013-04-01?16:07??TestSys\res\12-4-2-3.bmp
?????文件?????884014??2013-03-31?10:15??TestSys\res\12-4.bmp
?????文件?????504734??2013-04-25?10:40??TestSys\res\12.bmp
?????文件???????1270??2013-03-31?10:15??TestSys\res\bitmap2.bmp
?????文件???????1270??2013-04-01?11:16??TestSys\res\bitmap3.bmp
?????文件???????1078??2013-03-30?15:28??TestSys\res\TestSys.ico
?????文件????????399??2013-03-30?15:28??TestSys\res\TestSys.rc2
?????文件????????957??2013-04-25?10:40??TestSys\resource.h
?????文件???????1824??2013-04-01?11:30??TestSys\StartUp.cpp
?????文件???????1240??2013-03-30?15:42??TestSys\StartUp.h
?????文件????????209??2013-03-30?15:28??TestSys\StdAfx.cpp
?????文件???????1076??2013-04-01?10:35??TestSys\StdAfx.h
............此處省略20個文件信息
- 上一篇:求AOE網絡關鍵路徑
- 下一篇:從問題到程序-程序設計與C語言引論
評論
共有 條評論