You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
2.3 KiB
C++

#pragma once
#include "RecipeMgr.h"
class CDlgRecipeCompare : public CDialogEx
{
DECLARE_DYNAMIC(CDlgRecipeCompare)
public:
CDlgRecipeCompare(CWnd* pParent = NULL); // 标准构造函数
virtual ~CDlgRecipeCompare();
// 对话框数据
enum { IDD = IDD_CHILD_RECIPE_COMPARE };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
virtual BOOL OnInitDialog();
afx_msg void OnCbnSelchangeSelRecipeCombo();
afx_msg void OnCbnSelchangeSelGroupCombo();
afx_msg void OnNMClickEditSubRecipeList(NMHDR *pNMHDR, LRESULT *pResult);
afx_msg void OnCbnSelchangeSelRecipeCombo2();
afx_msg void OnCbnSelchangeSelGroupCombo2();
afx_msg void OnNMClickEditSubRecipeList2(NMHDR *pNMHDR, LRESULT *pResult);
void OnDrawRecipeList( NMHDR* pNMHDR, LRESULT* pResult );
void OnDrawRecipeInfoList( NMHDR* pNMHDR, LRESULT* pResult );
void OnDrawRecipeList2( NMHDR* pNMHDR, LRESULT* pResult );
void OnDrawRecipeInfoList2( NMHDR* pNMHDR, LRESULT* pResult );
DECLARE_MESSAGE_MAP()
private:
//recipe1
CComboBox m_SelRecipeGroupComb;
CComboBox m_SelRecipeComb;
vector<CString> m_SelGroupRecipeNameVec;
CString m_CurSelRecipeName;
CRecipe m_CurRecipe;
CListCtrl m_EditRecipeList;//Edit recipe list
CListCtrl m_EditRecipeInfoList;//用于显示计算参数的list
CListCtrl m_EditSubRecipeList;//Edit Sub recipe list
//recipe2
CComboBox m_SelRecipeGroupComb2;
CComboBox m_SelRecipeComb2;
vector<CString> m_SelGroupRecipeNameVec2;
CString m_CurSelRecipeName2;
CRecipe m_CurRecipe2;
CListCtrl m_EditRecipeList2;//Edit recipe list
CListCtrl m_EditRecipeInfoList2;//用于显示计算参数的list
CListCtrl m_EditSubRecipeList2;//Edit Sub recipe list
};