private void AddSectionButton_Click(object sender, RoutedEventArgs e) { ViewModel.NewSection = new Section() .NotebookId(ViewModel.Notebook.Id); NewSectionFlyout.ShowAt(sender as FrameworkElement); }
private void CancelNewSectionButton_Click(object sender, RoutedEventArgs e) { NewSectionFlyout.Hide(); NewSectionTextBox.Text = string.Empty; }
private void AddNewSectionButton_Click(object sender, RoutedEventArgs e) { NewSectionFlyout.Hide(); }