connectserver.h

来自「点歌系统」· C头文件 代码 · 共 67 行

H
67
字号
//{{AFX_INCLUDES()
 //}}AFX_INCLUDES
#if !defined(AFX_CONNECTSERVER_H__3B83013E_18BD_413D_9076_6074286FB65E__INCLUDED_)
#define AFX_CONNECTSERVER_H__3B83013E_18BD_413D_9076_6074286FB65E__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ConnectServer.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CConnectServer dialog

class CConnectServer : public CDialog
{
// Construction
public:
	CConnectServer(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CConnectServer)
	enum { IDD = IDD_ConnectServer };
	CString	m_serverip;
	CString	m_dbname;
	CString	m_username;
	CString	m_password;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CConnectServer)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

public:
	BOOL IsShowDlg(void);
	static CString GetServerIp(void);
	CString GetDatabaseName(void);
	CString GetUsername(void);
	CString GetPassword(void);
	CString GetAppPath(void);

// Implementation
protected:
	static BOOL m_bShowDlg;
	static CString	m_strserverip;
	static CString	m_strdbname;
	static CString	m_strusername;
	static CString	m_strpassword;


	// Generated message map functions
	//{{AFX_MSG(CConnectServer)
	virtual void OnOK();
	afx_msg void OnSaveLoginMsg();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_CONNECTSERVER_H__3B83013E_18BD_413D_9076_6074286FB65E__INCLUDED_)

⌨️ 快捷键说明

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