#include "pch.h" #include "MainPage.h" #include "MainPage.g.cpp" #include using namespace winrt; using namespace Windows::UI::Xaml; namespace winrt::AutoCat::implementation { MainPage::MainPage() { InitializeComponent(); } int32_t MainPage::MyProperty() { throw hresult_not_implemented(); } void MainPage::MyProperty(int32_t /* value */) { throw hresult_not_implemented(); } void MainPage::Login_Click(winrt::Windows::Foundation::IInspectable const& sender, winrt::Windows::UI::Xaml::RoutedEventArgs const& e) { auto log = L"Login: " + std::wstring(LoginBox().Text()); OutputDebugString(log.c_str()); } }