public void OnDeleteClick() { if (m_Panel != null) { WinAddOutFood win = m_Panel as WinAddOutFood; win.DeleteOneImg(m_imgName); } }
public void OnChangeClick() { OpenUIForm(EM_WinType.WinAddOutFood); WinAddOutFood panel = UIManager.GetInstance().GetWinForm(EM_WinType.WinAddOutFood) as WinAddOutFood; if (panel != null) { panel.Init(m_data); } }