/[H6]/EquipmentEditDialog.cpp
ViewVC logotype

Diff of /EquipmentEditDialog.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 9 by torben, Wed Aug 30 21:57:57 2006 UTC revision 31 by torben, Sun Sep 3 10:10:19 2006 UTC
# Line 1  Line 1 
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"
# Line 79  BOOL EquipmentEditDialog::OnInitDialog() Line 80  BOOL EquipmentEditDialog::OnInitDialog()
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

Legend:
Removed from v.9  
changed lines
  Added in v.31

  ViewVC Help
Powered by ViewVC 1.1.20