📄 stockdlg.h
字号:
#if !defined(AFX_STOCKDLG_H__95F54623_1B8E_485C_9AD7_3B9CEB2CBA5C__INCLUDED_)
#define AFX_STOCKDLG_H__95F54623_1B8E_485C_9AD7_3B9CEB2CBA5C__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// StockDlg.h : header file
//
#include "CeBtnST.h"
#include "SortListCtrl.h"
#include "inireader.h"
#include "Stock.h"
/////////////////////////////////////////////////////////////////////////////
// CStockDlg dialog
class CStockDlg : public CDialog
{
// Construction
public:
CStockDlg(CWnd* pParent = NULL); // standard constructor
BOOL EqualSection(CSection sec,CStock * pStock);
void SetStock(String key,String value,int i);
BOOL ReadIni(CString file);
CCeButtonST m_btnOper;
CIniReader * pStockIni;
CIniReader * pStockInfo;
CString m_strStockName; //现金帐户名
CStock *m_pCStock[250]; //维护一个现金的列表
int m_iCount; //交易次数
CString m_strType; //帐户类型,现金OR存款
CString m_strMoneyType; //默认是RMB
CString m_strBeginDate; //默认是2005-01-01
CString m_strLastDate; //默认是2005-01-01
int m_iBeginSum; //开户金额
int m_iSumOut;
int m_iSumIn;
int m_iLeft;
// Dialog Data
//{{AFX_DATA(CStockDlg)
enum { IDD = IDD_DIALOG_STOCK };
CSortListCtrl m_ctrStockList;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CStockDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CStockDlg)
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
afx_msg void OnAdd();
afx_msg void OnSellOut();
afx_msg void OnBuyIn();
afx_msg void OnModify();
afx_msg void OnDelete();
afx_msg void OnBtnstockhelp();
afx_msg void OnBtnstockdetail();
afx_msg void OnDblclkListStock(NMHDR* pNMHDR, LRESULT* pResult);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_STOCKDLG_H__95F54623_1B8E_485C_9AD7_3B9CEB2CBA5C__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -