📄 atmdlg.h
字号:
// ATMDlg.h : header file
//
#if !defined(AFX_ATMDLG_H__A1C56DFF_8042_4F42_B020_D0B28D433054__INCLUDED_)
#define AFX_ATMDLG_H__A1C56DFF_8042_4F42_B020_D0B28D433054__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CATMDlg dialog
#include "AuthentificateDlg.h"
#include "OperationDlg.h"
#include <STAR/CORBA.h>
#include "bank.h" // Added by ClassView
#define RESPONSE_BUFFER_SIZE 1024
class CATMDlg : public CDialog
{
// Construction
public:
CATMDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CATMDlg)
enum { IDD = IDD_ATM_DIALOG };
CButton m_ctlCancel;
CButton m_ctlLog;
CEdit m_ctlID;
CString m_strID;
CString m_strInfo;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CATMDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CATMDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnLog();
afx_msg void OnTimer(UINT nIDEvent);
virtual void OnCancel();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
CString m_sError;
CAuthentificateDlg* pAuthentificateDlg;
COperationDlg* pOperationDlg;
BOOL m_bGet;
public:
BankAccount_var m_pBankAccount;
BOOL alterPAW(CString strPAW);
BOOL deposit(UINT nMoney);
BOOL withdraw(UINT nMoney);
double requery();
BOOL authentificate(CString password);
int commonproc(CORBA::ORB_ptr orb, int argc, char* argv[]);
protected:
static CString sWelcome;
static CString sLeave;
static CString sGetCard;
static TCHAR* error_table[];
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_ATMDLG_H__A1C56DFF_8042_4F42_B020_D0B28D433054__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -