12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- #if !defined(AFX_DLGBIT_H__F2F714D0_8B12_4A66_9D89_433433F3FF2C__INCLUDED_)
- #define AFX_DLGBIT_H__F2F714D0_8B12_4A66_9D89_433433F3FF2C__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // AnalogPropertyDlg.h : header file
- //
- #include "BtnST.h"
- #include "DataComboBox.h"
- #include "DDXFields.h"
- /////////////////////////////////////////////////////////////////////////////
- // CDlgBit dialog
- class CDlgBit: public CDialog
- {
- // Construction
- public:
- CDlgBit(CWnd* pParent = NULL); // standard constructor
- // Dialog Data
- //{{AFX_DATA(CDlgBit)
- enum { IDD = IDD_DLG_BIT };
- //}}AFX_DATA
- public:
- CADORecordset* m_pSet;
- CDDXFields m_DDXFields;
- enum {EDIT, COPY, NEW};
- enum {DATA_NUM, DATA_STR, DATA_BIT, DATA_BOOL};
- int m_operation;
- CButtonST m_btnSave,m_btnCancel;
- CString m_strUID;
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CDlgBit)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- // Generated message map functions
- //{{AFX_MSG(CDlgBit)
- virtual BOOL OnInitDialog();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- private:
- int CheckDataValid();
- public:
- afx_msg void OnBnClickedBtnCancel();
- afx_msg void OnBnClickedBtnSave();
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_DLGBIT_H__F2F714D0_8B12_4A66_9D89_433433F3FF2C__INCLUDED_)
|