/[H6]/ResultDetailsDialog.h
ViewVC logotype

Contents of /ResultDetailsDialog.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 54 - (show annotations) (download)
Tue Sep 12 09:09:30 2006 UTC (17 years, 6 months ago) by torben
File MIME type: text/plain
File size: 1044 byte(s)
In the Search() function in the databaselayers we shouldn't waste time and space on finding
the previous checkouts and the current reservations - this should be done in getEquipment().

ResultDialog and ResultDetailsDialog now communicates throuh a CString barcode, insted of an index into the search result.

On an administrative action the ResultDetailsDialog now refreshes the data instead of closing the dialog.
1 /*
2 * Developed by Torben H. Nielsen
3 */
4
5 #pragma once
6 #include "Containers.h"
7
8 class ResultDetailsDialog : public CDialog
9 {
10 DECLARE_DYNAMIC(ResultDetailsDialog)
11
12 public:
13 ResultDetailsDialog(CWnd* pParent = NULL); // standard constructor
14 virtual ~ResultDetailsDialog();
15
16 // Dialog Data
17 enum { IDD = IDD_RESULTDETAILS };
18
19
20 CString m_barcode;
21 Equipment m_equipment;
22 bool m_loadingData;
23 protected:
24 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
25
26 DECLARE_MESSAGE_MAP()
27 public:
28 void LoadData(void);
29 virtual BOOL OnInitDialog();
30 afx_msg void OnEnChangeBarcode();
31 afx_msg void OnEnChangeName();
32 afx_msg void OnEnChangeDescription();
33 afx_msg void OnEnChangePlacement();
34
35 afx_msg void OnEnChangeStatus();
36 void LoadListControls(void);
37 afx_msg void OnBnClickedClose();
38 afx_msg void OnBnClickedReturn();
39 afx_msg void OnBnClickedCheckout();
40 afx_msg void OnBnClickedReserve();
41 afx_msg void OnBnClickedDelres();
42 void ReloadData(void);
43 void EnableControls(void);
44 };

  ViewVC Help
Powered by ViewVC 1.1.20