DBConfig.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. // DBConfigDlg.h : header file
  2. //
  3. #if !defined(AFX_DBCONFIGDLG_H__7E209E4E_D6AC_431D_B14C_1CC304BEF711__INCLUDED_)
  4. #define AFX_DBCONFIGDLG_H__7E209E4E_D6AC_431D_B14C_1CC304BEF711__INCLUDED_
  5. #if _MSC_VER > 1000
  6. #pragma once
  7. #endif // _MSC_VER > 1000
  8. /////////////////////////////////////////////////////////////////////////////
  9. // DBConfig dialog
  10. class DBConfig : public CDialog
  11. {
  12. // Construction
  13. public:
  14. void EnableCtrl();
  15. DBConfig(CWnd* pParent = NULL); // standard constructor
  16. // Dialog Data
  17. //{{AFX_DATA(DBConfig)
  18. enum { IDD = IDD_DLGDBCONFIG };
  19. int m_bSql;
  20. CString m_server;
  21. CString m_user;
  22. CString m_psw;
  23. //}}AFX_DATA
  24. // ClassWizard generated virtual function overrides
  25. //{{AFX_VIRTUAL(DBConfig)
  26. protected:
  27. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  28. //}}AFX_VIRTUAL
  29. // Implementation
  30. protected:
  31. // Generated message map functions
  32. //{{AFX_MSG(DBConfig)
  33. virtual BOOL OnInitDialog();
  34. afx_msg void OnRadio1();
  35. afx_msg void OnRadio2();
  36. virtual void OnOK();
  37. //}}AFX_MSG
  38. DECLARE_MESSAGE_MAP()
  39. };
  40. //{{AFX_INSERT_LOCATION}}
  41. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  42. #endif // !defined(AFX_DBCONFIGDLG_H__7E209E4E_D6AC_431D_B14C_1CC304BEF711__INCLUDED_)