LinkDlg.h
上传用户:y440e3
上传日期:2010-03-08
资源大小:200k
文件大小:2k
- #if !defined(AFX_LINKDLG_H__D305C9D3_1B8B_11D3_B41D_1462AD000000__INCLUDED_)
- #define AFX_LINKDLG_H__D305C9D3_1B8B_11D3_B41D_1462AD000000__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // LinkDlg.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // CLinkDlg dialog
- class CDrawDoc;
- class CLinkDataSet;
- class CLinkDlg : public CDialog
- {
- // Construction
- public:
- BOOL IsExistLink(short lb,int id);
- BOOL IsExistLink1(short lb,int id);
- CLinkDlg(CWnd* pParent = NULL); // standard constructor
- CLinkDlg(CDrawDoc* pDoc,CLinkDataSet* pSet,short LinkMode,short DatabaseID,int RecordID,CWnd* pParent = NULL); // standard constructor
- // Dialog Data
- //{{AFX_DATA(CLinkDlg)
- enum { IDD = IDD_LINK };
- CLinkDataSet* m_pSet;
- //}}AFX_DATA
- protected:
- short m_DatabaseID;
- int m_RecordID;
- CDrawDoc* m_pDoc;
- CListBox *plist1,*plist2;
- CComboBox *pcom1;
- short m_GraphLB[200],m_GraphLB1[200]; //图形的
- int m_GraphID[200],m_GraphID1[200];
- short m_NumbLink,m_NumbLink1;
- short m_LinkMode;
- CString graph_Name[8];
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CLinkDlg)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- // Generated message map functions
- //{{AFX_MSG(CLinkDlg)
- virtual BOOL OnInitDialog();
- afx_msg void OnLinkAdd();
- afx_msg void OnSelchangeList2();
- afx_msg void OnSelchangeList1();
- afx_msg void OnLinkDelete();
- afx_msg void OnLinkDelAll();
- afx_msg void OnLinkAddAll();
- virtual void OnOK();
- virtual void OnCancel();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_LINKDLG_H__D305C9D3_1B8B_11D3_B41D_1462AD000000__INCLUDED_)