TXSPDlg.h 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. #if !defined(AFX_TXSPDlg_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)
  2. #define AFX_TXSPDlg_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // TXSPDlg.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // TXSPDlg form view
  10. #ifndef __AFXEXT_H__
  11. #include <afxext.h>
  12. #endif
  13. #include "EditListCtrl.h"
  14. class TXSPDlg : public CFormView
  15. {
  16. CArray<CStringArray, CStringArray>m_List1array;
  17. CArray<CStringArray, CStringArray>m_List2array;
  18. CArray<CStringArray, CStringArray>m_List3array;
  19. CArray<CStringArray, CStringArray>m_sparray;
  20. protected:
  21. TXSPDlg(); // protected constructor used by dynamic creation
  22. DECLARE_DYNCREATE(TXSPDlg)
  23. // Form Data
  24. public:
  25. //{{AFX_DATA(TXSPDlg)
  26. //#ifdef MODERN_VERSION
  27. #if 1
  28. enum { IDD = IDD_DLGTXSP2 };
  29. #else
  30. enum { IDD = IDD_DLGTXSP };
  31. #endif
  32. CEditListCtrl m_List2;
  33. CEditListCtrl m_List1;
  34. CStatic m_static1;
  35. CComboBox m_combotaoxiname;
  36. CString m_taoxiid;
  37. CString m_taoxijiage;
  38. CString m_zs;
  39. //}}AFX_DATA
  40. // Attributes
  41. public:
  42. // Operations
  43. public:
  44. void SetSPName2();
  45. void SetSPName1();
  46. CString GetSPNameFromId(CString id);
  47. void FillGrid();
  48. // Overrides
  49. // ClassWizard generated virtual function overrides
  50. //{{AFX_VIRTUAL(TXSPDlg)
  51. public:
  52. virtual void OnInitialUpdate();
  53. virtual BOOL PreTranslateMessage(MSG* pMsg);
  54. protected:
  55. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  56. //}}AFX_VIRTUAL
  57. // Implementation
  58. protected:
  59. virtual ~TXSPDlg();
  60. #ifdef _DEBUG
  61. virtual void AssertValid() const;
  62. virtual void Dump(CDumpContext& dc) const;
  63. #endif
  64. // Generated message map functions
  65. //{{AFX_MSG(TXSPDlg)
  66. afx_msg void OnBUTsave();
  67. afx_msg void OnBUTdel();
  68. afx_msg void OnBUTclose();
  69. afx_msg void OnSelchangeCOMBOtaoxiname();
  70. afx_msg void OnBUTspbox();
  71. afx_msg void OnTimer(UINT nIDEvent);
  72. afx_msg void OnBUTsave2();
  73. afx_msg void OnBUTdel2();
  74. afx_msg void OnBUTspbox2();
  75. afx_msg void OnBUTclose2();
  76. //}}AFX_MSG
  77. DECLARE_MESSAGE_MAP()
  78. };
  79. /////////////////////////////////////////////////////////////////////////////
  80. //{{AFX_INSERT_LOCATION}}
  81. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  82. #endif // !defined(AFX_TXSPDlg_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)