Skip to content
This repository has been archived by the owner on Jun 19, 2023. It is now read-only.

Commit

Permalink
记忆密码
Browse files Browse the repository at this point in the history
  • Loading branch information
Berrysoft committed Nov 13, 2018
1 parent fe39b5f commit efbbd88
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions TsinghuaNetUWP/MainPage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ namespace winrt::TsinghuaNetUWP::implementation
{
dialog.SaveBox().IsChecked(true);
}
dialog.UnBox().TextChanged([&dialog](IInspectable const&, TextChangedEventArgs const&) {
dialog.PwBox().Password(GetCredential(dialog.UnBox().Text()));
});
auto result = co_await dialog.ShowAsync();
if (result == ContentDialogResult::Primary)
{
Expand Down
2 changes: 1 addition & 1 deletion TsinghuaNetUWP/Package.appxmanifest
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest" xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10" IgnorableNamespaces="uap mp">
<Identity Name="091ffa12-1933-4f1b-96a5-4a169e4ab5f5" Publisher="CN=Straw" Version="1.0.0.0" />
<Identity Name="091ffa12-1933-4f1b-96a5-4a169e4ab5f5" Publisher="CN=Straw" Version="1.0.1.0" />
<mp:PhoneIdentity PhoneProductId="091ffa12-1933-4f1b-96a5-4a169e4ab5f5" PhonePublisherId="00000000-0000-0000-0000-000000000000" />
<Properties>
<DisplayName>TsinghuaNetUWP</DisplayName>
Expand Down

0 comments on commit efbbd88

Please sign in to comment.