Old fashion design for PC-104
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

70 lines
1.9 KiB

4 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. //----------------------------------------------------------------------------
  2. // Laser Guard Ltd.
  3. // Copyright � 2000-2002. All Rights Reserved.
  4. // Version 1.0 01/01/2000
  5. // Last modification: 08/10/2003
  6. // PROJECT:
  7. // SUBSYSTEM:
  8. // FILE: BoardReceiverDlg.h
  9. // AUTHOR: Sergey Chizhevskiy
  10. // OVERVIEW
  11. // ~~~~~~~~
  12. // Header file of BoardReceiverDlg.h
  13. //----------------------------------------------------------------------------
  14. #if !defined(AFX_BOARDRECEIVERDLG_H__AA60E9C5_BB30_11D5_9B78_0000E89F6E90__INCLUDED_)
  15. #define AFX_BOARDRECEIVERDLG_H__AA60E9C5_BB30_11D5_9B78_0000E89F6E90__INCLUDED_
  16. #if _MSC_VER > 1000
  17. #pragma once
  18. #endif // _MSC_VER > 1000
  19. // BoardReceiverDlg.h : header file
  20. //
  21. class CBoardReceiverDlg : public CDialog
  22. {
  23. // Construction
  24. public:
  25. CBoardReceiverDlg(CWnd* pParent = NULL); // standard constructor
  26. // Dialog Data
  27. //{{AFX_DATA(CBoardReceiverDlg)
  28. enum { IDD = IDD_NEW_DOC_DLG };
  29. CButton m_ButtonTargetFile;
  30. CComboBox m_ComboPort;
  31. CEdit m_EditTargetFile;
  32. int m_RadioMaster;
  33. //}}AFX_DATA
  34. // Overrides
  35. // ClassWizard generated virtual function overrides
  36. //{{AFX_VIRTUAL(CBoardReceiverDlg)
  37. protected:
  38. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  39. //}}AFX_VIRTUAL
  40. // Implementation
  41. protected:
  42. // Generated message map functions
  43. //{{AFX_MSG(CBoardReceiverDlg)
  44. virtual BOOL OnInitDialog();
  45. virtual void OnOK();
  46. afx_msg void OnButtonTargetFile();
  47. //}}AFX_MSG
  48. DECLARE_MESSAGE_MAP()
  49. public:
  50. CString& GetFileName() { return m_strFileName; }
  51. CString& GetPort() { return m_strPort; }
  52. INT GetDevice() { return m_RadioMaster; }
  53. private:
  54. CString m_strFileName;
  55. CString m_strPort;
  56. };
  57. //{{AFX_INSERT_LOCATION}}
  58. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  59. #endif // !defined(AFX_BOARDRECEIVERDLG_H__AA60E9C5_BB30_11D5_9B78_0000E89F6E90__INCLUDED_)