12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- #if !defined(AFX_TXDlg_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)
- #define AFX_TXDlg_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif
- #ifndef __AFXEXT_H__
- #include <afxext.h>
- #endif
- #include "MyFormView.h"
- #include "afxwin.h"
- class TXDlg : public MyFormView //Ì×ϵÉèÖÃ;
- {
- CArray<CStringArray, CStringArray>m_List1array;
- CString m_oldtaoxiid;
- CString m_oldtaoxiname;
- protected:
- TXDlg(); // protected constructor used by dynamic creation
- DECLARE_DYNCREATE(TXDlg)
- public:
- enum { IDD = IDD_DLGTX };
- CComboBox m_combo2;
- CComboBox m_combo1;
- CNumEdit m_editctrl1;
- CStatic m_static1;
- CSortListCtrl2 m_List1;
- CString m_taoxiid;
- CString m_taoxijiage;
- CString m_taoxiname;
- CString m_zs;
- CString m_zs2;
- public:
- BOOL IsExist();
- BOOL IsExistID();
- BOOL IsExistName();
- void GetData();
- void ListSelChange();
- void ClearCtrl();
- void FillGrid();
- public:
- virtual void OnInitialUpdate();
- virtual BOOL PreTranslateMessage(MSG* pMsg);
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- protected:
- virtual ~TXDlg();
- #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 OnClickList2(NMHDR* pNMHDR, LRESULT* pResult);
- afx_msg void OnBUTadd();
- afx_msg void OnButton1();
- DECLARE_MESSAGE_MAP()
- public:
- // Ì×ϵÏÂÀ¿ò;
- CComboBox m_cbKinds;
- afx_msg void OnCbnSelchangeKinds();
- };
- #endif
|