/[H6]/AdminDialog.cpp
ViewVC logotype

Diff of /AdminDialog.cpp

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

revision 10 by torben, Thu Aug 31 07:09:37 2006 UTC revision 31 by torben, Sun Sep 3 10:10:19 2006 UTC
# Line 1  Line 1 
1  // AdminDialog.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 255  void AdminDialog::OnBnClickedDelete() Line 256  void AdminDialog::OnBnClickedDelete()
256                  }                  }
257          } else {          } else {
258                  if (MessageBox(question,"Delete equipment", MB_YESNO) == IDYES) {                  if (MessageBox(question,"Delete equipment", MB_YESNO) == IDYES) {
259                          dblayer->DeleteEquipment(id);                          Equipment e;
260                            e.barcode = id;
261                            dblayer->DeleteEquipment(e);
262                          LoadEquipment();                          LoadEquipment();
263                  }                  }
264          }          }

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

  ViewVC Help
Powered by ViewVC 1.1.20