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

Method RedisConfigUI

RedisStudio/RedisConfigUI.cpp:13–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

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