Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

58 lines
1.5 KiB

  1. #if !defined(AFX_CONNECTIONDLG_H__ED0892D9_99C7_4F37_A6C3_D201D448C9E9__INCLUDED_)
  2. #define AFX_CONNECTIONDLG_H__ED0892D9_99C7_4F37_A6C3_D201D448C9E9__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // ConnectionDlg.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CConnectionDlg dialog
  10. class CConnectionDlg : public CDialog
  11. {
  12. // Construction
  13. public:
  14. bool m_bLocalServer;
  15. CConnectionDlg(CWnd* pParent = NULL); // standard constructor
  16. CString m_strLocalMachineName;
  17. // Dialog Data
  18. //{{AFX_DATA(CConnectionDlg)
  19. enum { IDD = IDD_CONNECTION };
  20. CButton m_btnConnect;
  21. CButton m_btnLocalServer;
  22. CButton m_btnRemoteServer;
  23. CStatic m_idc_StaticServerName;
  24. CEdit m_idc_ServerName;
  25. int m_nRadio;
  26. CString m_strRemoteMachineName;
  27. //}}AFX_DATA
  28. // Overrides
  29. // ClassWizard generated virtual function overrides
  30. //{{AFX_VIRTUAL(CConnectionDlg)
  31. protected:
  32. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  33. //}}AFX_VIRTUAL
  34. // Implementation
  35. protected:
  36. // Generated message map functions
  37. //{{AFX_MSG(CConnectionDlg)
  38. afx_msg void OnConnect();
  39. afx_msg void OnRadioRemote();
  40. afx_msg void OnRadioLocal();
  41. afx_msg void OnChangeEditServername();
  42. virtual BOOL OnInitDialog();
  43. //}}AFX_MSG
  44. DECLARE_MESSAGE_MAP()
  45. };
  46. //{{AFX_INSERT_LOCATION}}
  47. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  48. #endif // !defined(AFX_CONNECTIONDLG_H__ED0892D9_99C7_4F37_A6C3_D201D448C9E9__INCLUDED_)