AutoCatUwp/AutoCat/MainPage.cpp
2020-08-16 10:34:10 -07:00

32 lines
712 B
C++

#include "pch.h"
#include "MainPage.h"
#include "MainPage.g.cpp"
#include <iostream>
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());
}
}