www.pudn.com > DNC.rar > NCDlg.h


// NCDlg.h : header file 
// 
//{{AFX_INCLUDES() 
#include "mscomm.h" 
//}}AFX_INCLUDES 
 
#if !defined(AFX_NCDLG_H__A3FB2BB7_1498_4E5C_B456_A00F7CEDFDB3__INCLUDED_) 
#define AFX_NCDLG_H__A3FB2BB7_1498_4E5C_B456_A00F7CEDFDB3__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
///////////////////////////////////////////////////////////////////////////// 
// CNCDlg dialog 
#include "Machine.h" 
class CNCDlg : public CDialog 
{ 
// Construction 
public: 
	CNCDlg(CWnd* pParent = NULL);	// standard constructor 
	void OnCom1Send(); 
	void OnCom2Send(); 
    CString m_fileName1,m_fileName2; 
	int m,n; 
	CMachine m_pSet; 
	CString	m_name; 
	CString	m_com; 
	CString	m_description; 
// Dialog Data 
	//{{AFX_DATA(CNCDlg) 
	enum { IDD = IDD_NC_DIALOG }; 
	CProgressCtrl	m_progress2; 
	CProgressCtrl	m_progress1; 
	CTreeCtrl	m_tree; 
	CMSComm	m_ctrlComm1; 
	CMSComm	m_ctrlComm2; 
	CString	m_strEdit1; 
	CString	m_strEdit2; 
	//}}AFX_DATA 
 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CNCDlg) 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
	HICON m_hIcon; 
    HTREEITEM	m_hRoot; 
 
	// Generated message map functions 
	//{{AFX_MSG(CNCDlg) 
	virtual BOOL OnInitDialog(); 
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam); 
	afx_msg void OnPaint(); 
	afx_msg HCURSOR OnQueryDragIcon(); 
	afx_msg void OnNcedit(); 
	afx_msg void OnTointernet(); 
	afx_msg void OnAboutbox(); 
	afx_msg void OnRclickTree(NMHDR* pNMHDR, LRESULT* pResult); 
	afx_msg void OnAcceptCom1(); 
	afx_msg void OnAcceptCom2(); 
	afx_msg void OnMachineAdd(); 
	afx_msg void OnMachineDel(); 
	afx_msg void OnComReceive(); 
	afx_msg void OnComSend(); 
	afx_msg void OnMachineEdit(); 
	afx_msg void OnNcsave1(); 
	afx_msg void OnNcsave2(); 
	DECLARE_EVENTSINK_MAP() 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_NCDLG_H__A3FB2BB7_1498_4E5C_B456_A00F7CEDFDB3__INCLUDED_)