資源簡介
附件是VC操作SQLSERVER數據庫的參考源程序,程序直接能運行
代碼片段和文件信息
//?About.cpp?:?implementation?file
//?Download?by?http://www.NewXing.com
#include?“stdafx.h“
#include?“Student.h“
#include?“About.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CAbout?dialog
CAbout::CAbout(CWnd*?pParent?/*=NULL*/)
:?CDialog(CAbout::IDD?pParent)
{
//{{AFX_DATA_INIT(CAbout)
//?NOTE:?the?ClassWizard?will?add?member?initialization?here
//}}AFX_DATA_INIT
}
void?CAbout::DoDataExchange(CDataExchange*?pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CAbout)
//?NOTE:?the?ClassWizard?will?add?DDX?and?DDV?calls?here
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CAbout?CDialog)
//{{AFX_MSG_MAP(CAbout)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
//?CAbout?message?handlers
//DEL?HBRUSH?CAbout::OnCtlColor(CDC*?pDC?CWnd*?pWnd?UINT?nCtlColor)?
//DEL?{
//DEL? HBRUSH?hbr?=?CDialog::OnCtlColor(pDC?pWnd?nCtlColor);
//DEL? if(nCtlColor==?CTLCOLOR_STATIC)
//DEL? m_hbrush=CreateSolidBrush(RGB(000));
//DEL? {
//DEL? pDC->SetBkMode(TRANSPARENT);
//DEL?????????//此處設置字體的顏色
//DEL? pDC->SetTextColor((RGB(155155255)));
//DEL? return?m_hbrush;
//DEL? }
//DEL?
//DEL?}
//DEL?void?CAbout::OnbtnEMAIL()?
//DEL?{
//DEL? ::ShellExecute(NULL“open““mailto:zhangmim_cn@sina.com“NULLNULLSW_SHOWNORMAL);
//DEL?
//DEL?}
BOOL?CAbout::OnInitDialog()?
{
CDialog::OnInitDialog();
m_wndlink1.SubclassDlgItem(IDC_ADDRESSthis);
m_wndlink2.m_link=_T(“mailto:zhangmim_cn@sina.com“);
m_wndlink2.SubclassDlgItem(IDC_EMAILthis);
return?TRUE;??//?return?TRUE?unless?you?set?the?focus?to?a?control
??????????????//?EXCEPTION:?OCX?Property?Pages?should?return?FALSE
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
????.......????????77??2002-04-24?16:51??www.NewXing.com\ReadMe.txt
????.......???????512??2002-04-28?20:42??www.NewXing.com\代碼使用幫助.txt
?????文件???????1341??2013-12-02?04:43??www.NewXing.com\About.h
?????文件???????1257??2013-12-02?04:43??www.NewXing.com\Choice.h
?????文件???????1246??2013-12-02?04:43??www.NewXing.com\Class.h
?????文件???????1257??2013-12-02?04:43??www.NewXing.com\Course.h
?????文件??????39416??2013-12-02?04:43??www.NewXing.com\excel9.h
?????文件???????1813??2013-12-02?04:43??www.NewXing.com\FrmMain.h
?????文件??????18257??2013-12-02?04:43??www.NewXing.com\htmlhelp.h
?????文件????????808??2013-12-02?04:43??www.NewXing.com\Hyprli
?????文件???????1669??2013-12-02?04:43??www.NewXing.com\IStudent.h
?????文件???????1227??2013-12-02?04:43??www.NewXing.com\OldPass.h
?????文件????????775??2013-12-02?04:43??www.NewXing.com\Operation.h
?????文件???????1824??2013-12-02?04:43??www.NewXing.com\Query.h
?????文件???????5012??2013-12-02?04:43??www.NewXing.com\Resource.h
?????文件???????1243??2013-12-02?04:43??www.NewXing.com\SetPass1.h
?????文件???????1261??2013-12-02?04:43??www.NewXing.com\SetPassWord.h
?????文件???????1723??2013-12-02?04:43??www.NewXing.com\Statli
?????文件???????1190??2013-12-02?04:43??www.NewXing.com\StdAfx.h
?????文件???????1584??2013-12-02?04:43??www.NewXing.com\Student.h
?????文件???????1763??2013-12-02?04:43??www.NewXing.com\StudentDlg.h
?????文件???????1246??2013-12-02?04:43??www.NewXing.com\Teach.h
?????文件???????1279??2013-12-02?04:43??www.NewXing.com\Teaching.h
?????文件???????1872??2013-12-02?04:43??www.NewXing.com\About.cpp
?????文件???????1021??2013-12-02?04:43??www.NewXing.com\Choice.cpp
?????文件???????1012??2013-12-02?04:43??www.NewXing.com\Class.cpp
?????文件???????1021??2013-12-02?04:43??www.NewXing.com\Course.cpp
?????文件?????147311??2013-12-02?04:43??www.NewXing.com\excel9.cpp
?????文件???????5103??2013-12-02?04:43??www.NewXing.com\FrmMain.cpp
?????文件???????3866??2013-12-02?04:43??www.NewXing.com\IStudent.cpp
............此處省略26個文件信息
- 上一篇:c 操作sqlite數據庫.cpp
- 下一篇:c++語法查詢工具
評論
共有 條評論