private void NewGroupClick(object sender, RoutedEventArgs e) { var dialog = new AddNewPageDialog("Add New Page Group", "Enter to add new group"); dialog.NewStatusPage += NewStatusGroup; dialog.ShowDialog(); }
private void NewPageClick(object sender, RoutedEventArgs e) { var dialog = new AddNewPageDialog(); dialog.NewStatusPage += NewStatusPage; dialog.ShowDialog(); }