예제 #1
0
void CApplication::UpdateNoteWnd( CNoteWnd* pWnd, CNote const& note )
{
	pWnd->SetId(note.GetId());
	pWnd->SetText(note.GetText());
	pWnd->SetCreatedDate(note.GetCreatedDate());
	pWnd->SetDeletedDate(note.GetDeletedDate());
	pWnd->SetLabel(note.GetLabel().c_str());
	pWnd->Refresh();
}
예제 #2
0
_tstring CApplication::GetNoteLabel(int nNoteId) 
{
	CNote note = FindNote(nNoteId);
	return note.GetLabel();
}