91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

本程序是基于mfc開發的學生信息管理系統,具有增刪改查的功能,還有學生信息列表功能。對于學習mfc相關控件的學習有很大的幫助。絕對超值

資源截圖

代碼片段和文件信息

//?AddStuInf.cpp?:?implementation?file
//

#include?“stdafx.h“
#include?“StudentMIS.h“
#include?“AddStuInf.h“

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

/////////////////////////////////////////////////////////////////////////////
//?AddStuInf?dialog


AddStuInf::AddStuInf(CWnd*?pParent?/*=NULL*/)
:?CDialog(AddStuInf::IDD?pParent)
{
//{{AFX_DATA_INIT(AddStuInf)
//?NOTE:?the?ClassWizard?will?add?member?initialization?here
//}}AFX_DATA_INIT
}


void?AddStuInf::DoDataExchange(CDataExchange*?pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(AddStuInf)
//?NOTE:?the?ClassWizard?will?add?DDX?and?DDV?calls?here
//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(AddStuInf?CDialog)
//{{AFX_MSG_MAP(AddStuInf)
ON_BN_CLICKED(IDC_BUTTON1?OnButton1)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
//?AddStuInf?message?handlers

void?AddStuInf::OnButton1()?
{
//獲取父窗口
CWnd*?p_w=this->GetParent();
//?TODO:?Add?your?control?notification?handler?code?here
//這是獲取操縱List控件IDC_LIST1的指針??
????CListCtrl?*pList=(CListCtrl?*)p_w->GetDlgItem(IDC_LIST1);??
????//這里是求出現在List控件里面有多少項,為了我們要插入到末尾,找到現時末尾的那個位置是多少??
????//比如現在有3列,那么我們就應該在第3列插入??
????int?nCount=pList->GetItemCount();??
????//此乃WIN32字符串,為了配合下面的GetDlgItemText的函數??
????CString?str;??
????//把編輯框IDC_EDIT1,也就是“學號”中的內容,仍到這個字符串,之后拆入到最后一行,其他如此類推??
????GetDlgItemText(IDC_EDIT1str);??
????pList->InsertItem(nCountstr);??
????GetDlgItemText(IDC_EDIT2str);??
????pList->SetItemText(nCount1str);??
????GetDlgItemText(IDC_EDIT3str);??
????pList->SetItemText(nCount2str);
????GetDlgItemText(IDC_EDIT4str);??
????pList->SetItemText(nCount3str);
????GetDlgItemText(IDC_EDIT5str);??
????pList->SetItemText(nCount4str);
????GetDlgItemText(IDC_EDIT6str);??
????pList->SetItemText(nCount5str);
}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2018-01-03?20:53??StudentMIS\
?????文件????????2079??2017-11-05?18:47??StudentMIS\AddStuInf.cpp
?????文件????????1212??2017-11-05?18:35??StudentMIS\AddStuInf.h
?????目錄???????????0??2017-11-05?22:09??StudentMIS\Debug\
?????文件???????11948??2017-11-05?18:48??StudentMIS\Debug\AddStuInf.obj
?????文件???????12663??2017-11-05?20:33??StudentMIS\Debug\EditStuInf.obj
?????文件??????105473??2017-11-05?18:09??StudentMIS\Debug\StdAfx.obj
?????文件?????1372234??2017-11-05?22:09??StudentMIS\Debug\StudentMIS.exe
?????文件?????1909960??2017-11-05?22:09??StudentMIS\Debug\StudentMIS.ilk
?????文件???????12319??2017-11-05?20:56??StudentMIS\Debug\StudentMIS.obj
?????文件?????5455476??2017-11-05?18:09??StudentMIS\Debug\StudentMIS.pch
?????文件?????2786304??2017-11-05?22:09??StudentMIS\Debug\StudentMIS.pdb
?????文件????????9616??2017-11-05?20:51??StudentMIS\Debug\StudentMIS.res
?????文件???????44268??2017-11-05?22:09??StudentMIS\Debug\StudentMISDlg.obj
?????文件??????214016??2018-01-03?20:53??StudentMIS\Debug\vc60.idb
?????文件??????364544??2017-11-05?22:09??StudentMIS\Debug\vc60.pdb
?????文件????????3148??2017-11-05?20:31??StudentMIS\EditStuInf.cpp
?????文件????????1222??2017-11-05?19:12??StudentMIS\EditStuInf.h
?????文件????????3651??2017-11-05?18:06??StudentMIS\ReadMe.txt
?????目錄???????????0??2017-11-05?18:06??StudentMIS\res\
?????文件????????1054??2017-11-05?19:10??StudentMIS\resource.h
?????文件????????1078??2017-11-05?18:06??StudentMIS\res\StudentMIS.ico
?????文件?????????402??2017-11-05?18:06??StudentMIS\res\StudentMIS.rc2
?????文件?????????212??2017-11-05?18:06??StudentMIS\StdAfx.cpp
?????文件?????????999??2017-11-05?18:06??StudentMIS\StdAfx.h
?????文件???????36668??2017-11-05?20:51??StudentMIS\StudentMIS.aps
?????文件????????2651??2018-01-03?20:53??StudentMIS\StudentMIS.clw
?????文件????????2086??2017-11-05?18:06??StudentMIS\StudentMIS.cpp
?????文件????????4389??2017-11-05?22:10??StudentMIS\StudentMIS.dsp
?????文件?????????526??2017-11-05?18:06??StudentMIS\StudentMIS.dsw
?????文件????????1368??2017-11-05?18:06??StudentMIS\StudentMIS.h
............此處省略6個文件信息

評論

共有 條評論