#pragma once
|
#include "afxdialogex.h"
|
#include "GridCtrl.h"
|
|
|
// CRecipeListDlg 对话框
|
|
class CRecipeListDlg : public CDialogEx
|
{
|
DECLARE_DYNAMIC(CRecipeListDlg)
|
|
public:
|
CRecipeListDlg(CWnd* pParent = nullptr); // 标准构造函数
|
virtual ~CRecipeListDlg();
|
|
// 对话框数据
|
#ifdef AFX_DESIGN_TIME
|
enum { IDD = IDD_DIALOG_RECIPE_LIST };
|
#endif
|
|
private:
|
void InitRecipeLise();
|
void FillRecipeLise();
|
|
private:
|
CGridCtrl m_grid;
|
|
protected:
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
|
virtual BOOL OnInitDialog();
|
afx_msg void OnBnClickedButtonCreateRecipe();
|
afx_msg void OnBnClickedButtonDeleteRecipe();
|
DECLARE_MESSAGE_MAP()
|
};
|