sqlinputview.h

来自「用C++编写的数据库软件」· C头文件 代码 · 共 61 行

H
61
字号
#if !defined(AFX_SQLINPUTVIEW_H__A7A376E6_4FC7_4C56_BABF_8011EA6435AB__INCLUDED_)
#define AFX_SQLINPUTVIEW_H__A7A376E6_4FC7_4C56_BABF_8011EA6435AB__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SqlInputView.h : header file
//
class CMySqlPlusDoc;
/////////////////////////////////////////////////////////////////////////////
// CSqlInputView view

class CSqlInputView : public CEditView
{
protected:
	CSqlInputView();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(CSqlInputView)

// Attributes
public:
	CMySqlPlusDoc * GetDocument();

// Operations
private:
	void execSql();

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSqlInputView)
	public:
	virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
	protected:
	virtual void OnDraw(CDC* pDC);      // overridden to draw this view
	//}}AFX_VIRTUAL

// Implementation
protected:
	virtual ~CSqlInputView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	// Generated message map functions
protected:
	//{{AFX_MSG(CSqlInputView)
	afx_msg void OnKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags);
	afx_msg void OnConnect();
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};


/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_SQLINPUTVIEW_H__A7A376E6_4FC7_4C56_BABF_8011EA6435AB__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?