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); // <20><>׼<EFBFBD><D7BC><EFBFBD><EFBFBD><ECBAAF>
virtual ~CDlgRecipeCompare();
// <20>Ի<EFBFBD><D4BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
enum { IDD = IDD_CHILD_RECIPE_COMPARE };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV ֧<><D6A7>
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;//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ<EFBFBD><CABE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>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;//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ<EFBFBD><CABE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>list
CListCtrl m_EditSubRecipeList2;//Edit Sub recipe list
};