📄 buystock.h
字号:
#if !defined(AFX_BUYSTOCK_H__F2E07D23_CA29_44FF_8309_E3BD96D9FAE4__INCLUDED_)
#define AFX_BUYSTOCK_H__F2E07D23_CA29_44FF_8309_E3BD96D9FAE4__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// BuyStock.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CBuyStock dialog
class CBuyStock : public CDialog
{
// Construction
public:
CBuyStock(CWnd* pParent = NULL); // standard constructor
CString currentuser;
CString m_title; //标题
// Dialog Data
//{{AFX_DATA(CBuyStock)
enum { IDD = IDD_BUY_STOCK };
CComboBox m_marttype; //市场类型
CDateTimeCtrl m_dealdate; //交易日期
CEdit m_stockcode_c; //股票代码控制
CString m_remark; //备注
CString m_stcokcode; //股票代码
int m_buyamount; //买入数量
double m_buysprice; //买入价格
int m_canbuyamount; //可买数量
double m_currentmoney; //当前帐户金额
double m_fare; //费用支出(其他开支)
double m_allfare; //总开支
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CBuyStock)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CBuyStock)
virtual void OnOK();
virtual void OnCancel();
afx_msg void OnBtnOk();
afx_msg void OnBtnCancle();
afx_msg void OnClose();
virtual BOOL OnInitDialog();
afx_msg void OnKillfocusButstockStockcode();
afx_msg void OnChangeBuystockBuysprice();
afx_msg void OnChangeBuystockBuyamount();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_BUYSTOCK_H__F2E07D23_CA29_44FF_8309_E3BD96D9FAE4__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -