private void New_Click(object sender, RoutedEventArgs e) { Button senderButton = (Button)sender; if (senderButton.Name == "NewFlyout_New") { Text.Document.SetText(0, ""); } NewFlyout.Hide(); }
private void New_Click(object sender, RoutedEventArgs e) { Button senderButton = (Button)sender; if (senderButton.Name == "NewFlyout_New") { Message.Visibility = Visibility.Visible; Remove.IsEnabled = false; List.Items.Clear(); todoList.Clear(); } NewFlyout.Hide(); }
private void NewFlyoutButton_Click(object sender, Windows.UI.Xaml.RoutedEventArgs e) { NewFlyout.Hide(); }