MCPcopy Create free account
hub / github.com/cinience/RedisStudio / RedisHelpUI

Method RedisHelpUI

RedisStudio/RedisHelpUI.cpp:8–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6DUI_END_MESSAGE_MAP()
7
8RedisHelpUI::RedisHelpUI(const CDuiString& strXML, CPaintManagerUI* pm, Environment* env) : AbstraceUI(pm, env)
9{
10 CDialogBuilder builder;
11 /// 这里必须传入m_PaintManager,不然子XML不能使用默认滚动条等信息。
12 CControlUI* pContainer = builder.Create(strXML.GetData(), NULL, NULL, GetPaintMgr(), NULL);
13 if (pContainer)
14 {
15 this->Add(pContainer);
16 }
17 else {
18 this->RemoveAll();
19 return;
20 }
21}
22
23RedisHelpUI::~RedisHelpUI(void)
24{

Callers

nothing calls this directly

Calls 4

CreateMethod · 0.45
GetDataMethod · 0.45
AddMethod · 0.45
RemoveAllMethod · 0.45

Tested by

no test coverage detected