#include "../pch/pch.h" #include "CWaimaiOrderInfoUI.h" #include "ControlEx.h" void CWaimaiOrderInfoUI::DoEvent(TEventUI& event) { CHorizontalLayoutUI::DoEvent(event); } void CWaimaiOrderInfoUI::Refresh(CWaimaiOrder& order) { std::wstring name_show = L"姓名:" + CLewaimaiString::UTF8ToUnicode(order.m_customer_name); this->FindSubControl(_T("waimai_order_list_name"))->SetText(name_show.c_str()); }