#if !defined(AFX_ANALOGDLG_H_INCLUDED_) #define AFX_ANALOGDLG_H_INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // AnalogDlg.h : header file // #include "DataGrid.h" #include "DataComboBox.h" #include "BtnST.h" ///////////////////////////////////////////////////////////////////////////// // CAnalogDlg dialog class CAnalogDlg : public CDialog { // Construction public: void SetVal(int row,int col,CString str); CAnalogDlg(CWnd* pParent = NULL); // standard constructor ~CAnalogDlg(); // Dialog Data //{{AFX_DATA(CAnalogDlg) enum { IDD = IDD_ANALOG_MANAGER }; CDataGrid m_ctrlAnalogGrid; //}}AFX_DATA // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CAnalogDlg) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL public: CButtonST m_btnEdit,m_btnDel,m_btnCopy,m_btnAdd, m_btnSetStatus, m_btnDatePlan, m_btnCancel,m_btnFind; private: void SetFields(); void Requery(); // Implementation protected: // Generated message map functions //{{AFX_MSG(CAnalogDlg) virtual void OnOK(); virtual void OnCancel(); virtual BOOL OnInitDialog(); DECLARE_EVENTSINK_MAP() //}}AFX_MSG DECLARE_MESSAGE_MAP() public: afx_msg void OnBnClickedAddanalog(); afx_msg void OnBnClickedEditanalog(); afx_msg void OnBnClickedDelanalog(); afx_msg void OnBnClickedCopyanalog(); afx_msg void OnBnClickedFindanalog(); protected: virtual BOOL OnNotify(WPARAM wParam, LPARAM lParam, LRESULT* pResult); public: afx_msg void OnBnClickedBtnSetStatus(); afx_msg void OnBnClickedBtnDatePlan(); afx_msg void OnBnClickedBtnClose(); protected: virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam); CUIntArray m_nArrayListID; public: afx_msg void OnClose(); void ShowFindDlg(); virtual BOOL PreTranslateMessage(MSG* pMsg); }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_ANALOGDLG_H_INCLUDED_)