#include "pch.h" #include "message.h" #include "App.xaml.h" #include "MainWindow.xaml.h" using namespace winrt; using namespace Redwax_SignText; using namespace Redwax_SignText::implementation; /// /// Invoked when the application is launched. /// /// Details about the launch request and process. void Message::Receive(winrt::Redwax_SignText::implementation::App const& app) { mDQC = winrt::Windows::System::DispatcherQueueController::CreateOnDedicatedThread(); mDQC.DispatcherQueue().TryEnqueue(winrt::Windows::System::DispatcherQueuePriority::Normal, [&app, this]() { // StatusBlock().Text(strMessage); }); }