/* * Developed by Torben H. Nielsen */ #pragma once #include "Containers.h" class ResultDetailsDialog : public CDialog { DECLARE_DYNAMIC(ResultDetailsDialog) public: ResultDetailsDialog(CWnd* pParent = NULL); // standard constructor virtual ~ResultDetailsDialog(); // Dialog Data enum { IDD = IDD_RESULTDETAILS }; CString m_barcode; Equipment m_equipment; bool m_loadingData; protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support DECLARE_MESSAGE_MAP() public: void LoadData(void); virtual BOOL OnInitDialog(); afx_msg void OnEnChangeBarcode(); afx_msg void OnEnChangeName(); afx_msg void OnEnChangeDescription(); afx_msg void OnEnChangePlacement(); afx_msg void OnEnChangeStatus(); void LoadListControls(void); afx_msg void OnBnClickedClose(); afx_msg void OnBnClickedReturn(); afx_msg void OnBnClickedCheckout(); afx_msg void OnBnClickedReserve(); afx_msg void OnBnClickedDelres(); void ReloadData(void); void EnableControls(void); };