📄 dlgconnectionconfig.h
字号:
#if !defined(AFX_DLGCONNECTIONCONFIG_H__B731C856_2091_4034_80BA_207E9B669C46__INCLUDED_)
#define AFX_DLGCONNECTIONCONFIG_H__B731C856_2091_4034_80BA_207E9B669C46__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DlgConnectionConfig.h : header file
//
#include "OracleHandler.h"
/////////////////////////////////////////////////////////////////////////////
// CDlgConnectionConfig dialog
#ifdef _EXPORT_BASEFUNC_
#define EXPORT_BASE_DLL __declspec(dllexport)
#else
#define EXPORT_BASE_DLL __declspec(dllimport)
#endif
#ifndef IDD_DIALOG_CONNECTION_CONFIG
#define IDD_DIALOG_CONNECTION_CONFIG 1
#endif
class EXPORT_BASE_DLL CDlgConnectionConfig : public CDialog
{
// Construction
public:
CDlgConnectionConfig(CWnd* pParent = NULL); // standard constructor
~CDlgConnectionConfig();
// Dialog Data
//{{AFX_DATA(CDlgConnectionConfig)
enum { IDD = IDD_DIALOG_CONNECTION_CONFIG };
CString m_edtDataBaseServerName;
CString m_edtUserName;
CString m_edtUserPassWord;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDlgConnectionConfig)
public:
virtual int DoModal();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CDlgConnectionConfig)
afx_msg void OnButtonTestConnect();
virtual void OnOK();
virtual BOOL OnInitDialog();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
COracleHandler m_ADOHandler;
bool TestConnection();
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DLGCONNECTIONCONFIG_H__B731C856_2091_4034_80BA_207E9B669C46__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -