1 |
// EquipmentEditDialog.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" |
80 |
GetDlgItem(IDC_NAME)->SetWindowText(m_currentEquipment.name); |
GetDlgItem(IDC_NAME)->SetWindowText(m_currentEquipment.name); |
81 |
GetDlgItem(IDC_DESCRIPTION)->SetWindowText(m_currentEquipment.description); |
GetDlgItem(IDC_DESCRIPTION)->SetWindowText(m_currentEquipment.description); |
82 |
GetDlgItem(IDC_PLACEMENT)->SetWindowText(m_currentEquipment.placement); |
GetDlgItem(IDC_PLACEMENT)->SetWindowText(m_currentEquipment.placement); |
83 |
|
((CEdit*)GetDlgItem(IDC_BARCODE))->SetReadOnly(true); |
84 |
} |
} |
85 |
|
|
86 |
return TRUE; // return TRUE unless you set the focus to a control |
return TRUE; // return TRUE unless you set the focus to a control |