Exemple #1
0
        private async void deleteItem_Click(object sender, RoutedEventArgs e)
        {
            // 清除登录cookies
            httpClient.ClearCookies();

            Account data    = (sender as MenuFlyoutItem).DataContext as Account;
            string  keyName = data.Key;
            await AccountSettings.Delete(keyName);

            Refresh();
        }