#if !defined(AFX_ModifyDinDan_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)
#define AFX_ModifyDinDan_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ModifyDinDan.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// ModifyDinDan form view

#ifndef __AFXEXT_H__
#include <afxext.h>
#endif
#include "EditListCtrl.h"
class ModifyDinDan : public CDialog
{
	float m_cost1;
	CArray<CStringArray, CStringArray>m_List1array;
	CArray<CStringArray, CStringArray>m_List2array;
	CArray<CStringArray, CStringArray>m_List3array;
	CArray<CStringArray, CStringArray>m_sparray;
	CArray<CStringArray, CStringArray>m_List1Bakarray;
	CStringArray m_renyuanarray;

	CString m_taoxiid;
	CString m_waiter1;
	CString m_waiter2;
	CString m_waiter3;
	CString m_waiter4;
	CString m_choosephotomoney;
	CString m_takephotomoney;
	CStringArray m_kindarray;
/*
#ifdef CHILD_VERSION
	enum { IDD = IDD_DLGModifyDinDan2 };
#else
	enum { IDD = IDD_DLGModifyDinDan };
#endif*/
// Form Data
public:
	ModifyDinDan(CWnd* pParent = NULL);   // standard constructor

#ifdef CHILD_VERSION
	enum { IDD = IDD_DLGModifyDinDan2 };
#else
	enum { IDD = IDD_DLGModifyDinDan };
#endif
	CListBox	m_listbox1;
	CComboBox	m_combowaiter7;
	CComboBox	m_combowaiter5;
	CComboBox	m_combowaiter4;
	CComboBox	m_combowaiter3;
	CComboBox	m_combowaiter2;
	CComboBox	m_combowaiter1;
	CComboBox	m_combostatus5;
	CComboBox	m_combostatus6;
	CComboBox	m_combostatus4;
	CComboBox	m_combostatus3;
	CComboBox	m_combostatus2;
	CComboBox	m_combostatus1;
	CComboBox	m_combotype;
	CComboBox	m_comboarea;
	CDateEdit	m_datectrl5;
	CDateEdit	m_datectrl4;
	CDateEdit	m_datectrl2;
	CDateEdit	m_datectrl1;
	CNumEdit	m_edit2;
	CNumEdit	m_edit1;
	CComboBox	m_combobm;
	CComboBox	m_comborenyuan;
	CEditListCtrl	m_List1;
	CComboBox	m_combotaoxiname;
	CString	m_taoxijiage;
	CString	m_zs;
	CString	m_discount;
	CString	m_money1;
	CString	m_money2;
	CString	m_money3;
	CString	m_name1;
	CString	m_name2;
	CString	m_payed1;
	CString	m_payed2;
	CString	m_payed3;
	CString	m_payed4;
	CString	m_payed5;
	CString	m_time1;
	CString	m_time2;
	CString	m_time3;
	CString	m_bz;
	CString	m_clothescount;
	CString	m_clothescount2;
	CString	m_outside;
	CString	m_outside2;
	CString	m_style;
	CString	m_waiter6;
	CString	m_id;
	CString	m_time4;
	CString	m_time5;
	//}}AFX_DATA

// Attributes
public:

// Operations
public:
	void CalculateCost();
	void ClearCtrl();
	void SetSPName1();
	CString GetSPNameFromId(CString id);
	CString GetSPPriceFromId(CString id);
	CString GetSPPriceFromIdCost(CString id);
	void GetData();
	void FillGrid();
// Overrides
	// ClassWizard generated virtual function overrides
public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif
	afx_msg void OnBUTsave();
	afx_msg void OnBUTclose();
	afx_msg void OnSelchangeCOMBOtaoxiname();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnChangeEDITtaoxijiage();
	afx_msg void OnChangeEDITdiscount();
	afx_msg void OnChangeEDITpayed1();
	afx_msg void OnDropdownCOMBObm();
	afx_msg void OnDropdownCOMBOrenyuan();
	afx_msg void OnSelchangeCOMBObm();
	afx_msg void OnBUTclient();
	afx_msg void OnBUTWaiter();
	afx_msg void OnButton1();
	afx_msg void OnBUTprint();
	afx_msg void OnBUTstyle();
	afx_msg void OnBUTspbox2();
	afx_msg void OnBUTdel3();
	virtual BOOL OnInitDialog();
	afx_msg void OnBUTaddjd();
	afx_msg void OnBUTdeljd();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_ModifyDinDan_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)