示例#1
0
        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();
        }
示例#2
0
 private void CancelAddUrl_Click(object sender, RoutedEventArgs e)
 {
     AddUrlFlyout.Hide();
 }