bankserverdlg.h

来自「用interbus作为中间件的工具模拟银行自动取款机ATM.」· C头文件 代码 · 共 66 行

H
66
字号
// BankServerDlg.h : header file
//

#if !defined(AFX_BANKSERVERDLG_H__3FDBEBD8_E8B5_471D_962A_EBA4CEC575BA__INCLUDED_)
#define AFX_BANKSERVERDLG_H__3FDBEBD8_E8B5_471D_962A_EBA4CEC575BA__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CBankServerDlg dialog


#define WM_CLINETSOCKETCLOSE WM_USER + 110
#define IDD_BANKSERVER_DIALOG 102

class CBankServerDlg : public CDialog
{
// Construction
public:
	void addListMsg(CString msg);
	BOOL updatePAW(CString strID, CString strPAW);
	BOOL updateSUM(CString strID, double dMoney);
	CString getFieldValue(CString strID, CString strField);
	CBankServerDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CBankServerDlg)
	enum { IDD = IDD_BANKSERVER_DIALOG };
	CListBox	m_ctlList;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	_ConnectionPtr m_pCon;		//连接对象
	_RecordsetPtr m_pRs;		//记录集对象


	// Generated message map functions
	//{{AFX_MSG(CBankServerDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnClerar();
	afx_msg void OnDestroy();
	virtual void OnOK();
	afx_msg void OnStart();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_BANKSERVERDLG_H__3FDBEBD8_E8B5_471D_962A_EBA4CEC575BA__INCLUDED_)

⌨️ 快捷键说明

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