⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 personframe.h

📁 个人理财系统(管理股票信息)
💻 H
字号:
#if !defined(AFX_PERSONFRAME_H__EB239920_3582_4726_9178_0A7FCFE908E8__INCLUDED_)
#define AFX_PERSONFRAME_H__EB239920_3582_4726_9178_0A7FCFE908E8__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// PersonFrame.h : header file
//
#define WM_SHOWINPUTPWDDLG	WM_USER + 101
/************************************************************************/
/* 头文件                                                               */
/************************************************************************/
#include "StockSystem.h"
#include "Login.h"
#include "AmendAccount.h"
#include "AmendPwd.h"
#include "BuyStock.h"
#include "GiveStock.h"
#include "LiuShuiZhang.h"
#include "MakeStock.h"
#include "MelonCutting.h"
#include "SellStock.h"
#include "AddAccount.h"
#include "DealDetail.h"
#include "AccountTreeView.h"
#include "MyListView.h"
#include "AdoConnect.h"
#include "ParameterSet.h"
#include "InvestAnalyse.h"
#include "MainFrm.h"
#include "InputPwd.h"
#include "commonType.h"
#include "AddMoney.h"
#include "LayoutMoney.h"

class CInputPwd;
/////////////////////////////////////////////////////////////////////////////
// CPersonFrame frame
class CMainFrame;
class CPersonFrame : public CFrameWnd
{
	DECLARE_DYNCREATE(CPersonFrame)
public:
	CPersonFrame();
	CPersonFrame(CMainFrame *the_main);
	virtual ~CPersonFrame();
	void GetUserInfo();
	CMainFrame				*m_pmain_frame;
	CToolBar				m_tool_bar;							//工具栏
	CAdoRecordSet			record;								//数据库读取
	CSplitterWnd			m_splitterwnd;						//切分窗口
	CLogin					login;								//帐户登录	
	CAmendAccount			amend_account;						//修改帐户
	CAmendPwd				amend_pwd;							//修改密码
	CBuyStock				buy_stock;							//买入股票
	CGiveStock				give_stock;							//送股
	CLiuShuiZhang			liushuizhang;						//流水账
	CMakeStock				make_stock;							//配股
	CMelonCutting			melon_cutting;						//股票分红
	CSellStock				sell_stock;							//卖出股票
	CAddAccount				addaccount;							//新建帐户
	CDealDetail				dealdetail;							//交易明细
	CParameterSet			parameter_set;						//参数设置
	CInvestAnalyse			invest_analysis;					//投资分析
	CInputPwd				*m_pinput_pwd;						//输入密码
	CAddMoney				addmoney;							//追加资金
	CLayoutMoney			layoutmoney;						//划出资金
// Operations
public:	
	UINT					paint_times;						//窗口重画次数
	int IsCurrentAccountLogin();	
	CString					currentuser;
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CPersonFrame)
	public:
	protected:
	virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
	//}}AFX_VIRTUAL

// Implementation
	// Generated message map functions
	//{{AFX_MSG(CPersonFrame)
	afx_msg void OnLogin();
	afx_msg void OnAmendAccount();
	afx_msg void OnAmendPwd();
	afx_msg void OnBuyStock();
	afx_msg void OnGiveStock();
	afx_msg void OnLiushuizhang();
	afx_msg void OnMakeStock();
	afx_msg void OnSellStock();
	afx_msg void OnAddAccount();
	afx_msg void OnDelAccount();
	afx_msg void OnCloseAccount();
	afx_msg void OnDelInfo();
	afx_msg void OnDealDetail();
	afx_msg void OnMelonCutting();
	afx_msg void OnExitLicai();
	afx_msg void OnParameterSet();
	afx_msg void OnInvestAnalysis();
	afx_msg void OnMarketRefurbish();
	afx_msg void OnAddMoney();
	afx_msg void OnLayoffMoney();
	//}}AFX_MSG
	afx_msg LONG showInputPwdDlg(WPARAM wParam, LPARAM lParam);
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

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

#endif // !defined(AFX_PERSONFRAME_H__EB239920_3582_4726_9178_0A7FCFE908E8__INCLUDED_)

⌨️ 快捷键说明

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