| 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, |
nothing calls this directly
no outgoing calls
no test coverage detected