www.pudn.com > SQL_user.zip > SQLDlg.h
// SQLDlg.h : header file
//
#if !defined(AFX_SQLDLG_H__F7B6C52A_2F6A_422A_B889_86FC5150750F__INCLUDED_)
#define AFX_SQLDLG_H__F7B6C52A_2F6A_422A_B889_86FC5150750F__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "user.h"
extern _ConnectionPtr cn;
extern BOOL bConnect;
/////////////////////////////////////////////////////////////////////////////
// CSQLDlg dialog
class CSQLDlg : public CDialog
{
// Construction
public:
void DisconnectDB();
BOOL ConnectDB();
CSQLDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CSQLDlg)
enum { IDD = IDD_SQL_DIALOG };
CString m_name;
CString m_password;
CString m_server;
CString m_database;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSQLDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CSQLDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
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_SQLDLG_H__F7B6C52A_2F6A_422A_B889_86FC5150750F__INCLUDED_)