MCPcopy Create free account
hub / github.com/M2Team/NanaBox / InitializeComponent

Method InitializeComponent

NanaBox/MainWindowControl.cpp:46–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44 }
45
46 void MainWindowControl::InitializeComponent()
47 {
48 MainWindowControlT::InitializeComponent();
49
50 this->m_DispatcherQueue =
51 winrt::DispatcherQueue::GetForCurrentThread();
52
53 this->m_StoreContext = winrt::StoreContext::GetDefault();
54 if (this->m_StoreContext)
55 {
56 winrt::check_hresult(
57 this->m_StoreContext.as<IInitializeWithWindow>()->Initialize(
58 this->m_WindowHandle));
59 }
60 }
61
62 void MainWindowControl::PageLoaded(
63 winrt::IInspectable const& sender,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected