private async void AddUrlButton_Click(object sender, RoutedEventArgs e) { localSettings.Values[NewUrlTextBox.Text.ToString()] = NewUrlTextBox.Text.ToString(); UrlComboBox.ItemsSource = localSettings.Values.Values.ToArray(); AddUrlFlyout.Hide(); var messageDialog = new MessageDialog("Se ha agregado la URL: " + NewUrlTextBox.Text.ToString()); await messageDialog.ShowAsync(); }
private void CancelAddUrl_Click(object sender, RoutedEventArgs e) { AddUrlFlyout.Hide(); }