1 |
// ResultDialog.cpp : implementation file |
/* |
2 |
// |
* Developed by Torben H. Nielsen |
3 |
|
*/ |
4 |
|
|
5 |
#include "stdafx.h" |
#include "stdafx.h" |
6 |
#include "h6-udlånssystem.h" |
#include "h6-udlånssystem.h" |
62 |
void ResultDialog::LoadResults(void) |
void ResultDialog::LoadResults(void) |
63 |
{ |
{ |
64 |
CListCtrl *list = (CListCtrl *) GetDlgItem(IDC_LIST); |
CListCtrl *list = (CListCtrl *) GetDlgItem(IDC_LIST); |
65 |
EquipmentVector result = CommonStorage::Instance()->getSearchResult(); |
vector<Equipment> result = CommonStorage::Instance()->getSearchResult(); |
66 |
|
|
67 |
CString count; |
CString count; |
68 |
count.Format("Found %d items", result.size()); |
count.Format("Found %d items", result.size()); |