📄 connectserver.h
字号:
#if !defined(AFX_CONNECTSERVER1_H__45CE82C6_5035_4736_AC1E_AC1A1050C83D__INCLUDED_)
#define AFX_CONNECTSERVER1_H__45CE82C6_5035_4736_AC1E_AC1A1050C83D__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_dbname;
CString m_password;
CString m_serverip;
CString m_username;
//}}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_CONNECTSERVER1_H__45CE82C6_5035_4736_AC1E_AC1A1050C83D__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -