nurritionandneeddlg.h

来自「开发的,食物管理软件,可以在智能家电的终端上直接应用」· C头文件 代码 · 共 66 行

H
66
字号
#if !defined(AFX_NURRITIONANDNEEDDLG_H__5260D175_9949_480E_956E_2D4DB03AB2C6__INCLUDED_)
#define AFX_NURRITIONANDNEEDDLG_H__5260D175_9949_480E_956E_2D4DB03AB2C6__INCLUDED_


#include "FoodNurritionDlg.h"//add
#include "NurritionNeedDlg.h"//add
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// NurritionAndNeedDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CNurritionAndNeedDlg dialog
//	bool bIcon;
class CNurritionAndNeedDlg : public CDialog
{
// Construction
public:
	void DoTab(int nSel);// 切换对话框
	void SetDlgState(CWnd *pWnd, BOOL bShow,int dialog);//显示或隐藏
	CFoodNurritionDlg *m_pFoodNurritionDlg;
	CNurritionNeedDlg *m_pNurritionNeedDlg;
	CNurritionAndNeedDlg(CWnd* pParent = NULL);   // standard constructor


    CBitmapButton foodnurrition;
	CBitmapButton foodneed;
	CBitmapButton home;
	CBitmapButton back;


// Dialog Data
	//{{AFX_DATA(CNurritionAndNeedDlg)
	enum { IDD = IDD_1_NURRITIONandNEED };
	CTabCtrl	m_Tab;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CNurritionAndNeedDlg)
	afx_msg void OnSelchangeTab1(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnChangeFoodNurritionButton();
	afx_msg void OnChangeNurritionNeedButton();
	virtual BOOL OnInitDialog();
	afx_msg void OnHome1();
	afx_msg void OnBack();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_NURRITIONANDNEEDDLG_H__5260D175_9949_480E_956E_2D4DB03AB2C6__INCLUDED_)

⌨️ 快捷键说明

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