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

Method Init

DuiLib/Layout/UIChildLayout.cpp:11–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9 }
10
11 void CChildLayoutUI::Init()
12 {
13 if (!m_pstrXMLFile.IsEmpty())
14 {
15 CDialogBuilder builder;
16 CContainerUI* pChildWindow = static_cast<CContainerUI*>(builder.Create(m_pstrXMLFile.GetData(), (UINT)0, NULL, m_pManager));
17 if (pChildWindow)
18 {
19 this->Add(pChildWindow);
20 }
21 else
22 {
23 this->RemoveAll();
24 }
25 }
26 }
27
28 void CChildLayoutUI::SetAttribute( LPCTSTR pstrName, LPCTSTR pstrValue )
29 {

Callers

nothing calls this directly

Calls 5

IsEmptyMethod · 0.80
CreateMethod · 0.45
GetDataMethod · 0.45
AddMethod · 0.45
RemoveAllMethod · 0.45

Tested by

no test coverage detected