123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- #if !defined(AFX_TXSPDlg_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)
- #define AFX_TXSPDlg_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif
- #ifndef __AFXEXT_H__
- #include <afxext.h>
- #endif
- #include "EditListCtrl.h"
- #include "afxwin.h"
- class TXSPDlg : public MyFormView // Ì×ϵÉÌÆ·ÉèÖÃ;
- {
- CRect m_rcOld;
- CArray<CStringArray, CStringArray>m_List1array;
- CArray<CStringArray, CStringArray>m_List2array;
- CArray<CStringArray, CStringArray>m_List3array;
- CArray<CStringArray, CStringArray>m_sparray;
- protected:
- TXSPDlg(); // protected constructor used by dynamic creation
- DECLARE_DYNCREATE(TXSPDlg)
- public:
- #if 1
- enum {
- IDD = IDD_DLGTXSP2
- };
- #else
- enum { IDD = IDD_DLGTXSP };
- #endif
- CEditListCtrl m_List2;
- CEditListCtrl m_List1;
- CStatic m_static1;
- CComboBox m_combotaoxiname;
- CString m_taoxiid;
- CString m_taoxijiage;
- CString m_zs;
- public:
- void SetSPName2();
- void SetSPName1();
- CString GetSPNameFromId(CString id);
- void FillGrid();
- public:
- virtual void OnInitialUpdate();
- virtual BOOL PreTranslateMessage(MSG* pMsg);
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- protected:
- virtual ~TXSPDlg();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- afx_msg void OnBUTsave();
- afx_msg void OnBUTdel();
- afx_msg void OnBUTclose();
- afx_msg void OnSelchangeCOMBOtaoxiname();
- afx_msg void OnBUTspbox();
- afx_msg void OnTimer(UINT nIDEvent);
- afx_msg void OnBUTsave2();
- afx_msg void OnBUTdel2();
- afx_msg void OnBUTspbox2();
- afx_msg void OnBUTclose2();
- DECLARE_MESSAGE_MAP()
- public:
- // Ì×ϵ´óÀà
- CComboBox m_cbKinds;
- afx_msg void OnCbnSelchangeKinds();
- afx_msg void OnSize(UINT nType, int cx, int cy);
- static BOOL CALLBACK EnumChildProc1(HWND hwnd, LPARAM lParam);
- };
- #endif
|