Example #1
0
        private void EditProjectButton_Click(object sender, RoutedEventArgs e)
        {
            // Get which item was clicked.
            var item = ((FrameworkElement)sender).DataContext;

            EditProjectContentDialog editProjectContentDialog = new EditProjectContentDialog(this, (Project)item);

            App.ShowContentDialog(editProjectContentDialog, null);
        }
Example #2
0
        private void AddProjectButton_Click(object sender, RoutedEventArgs e)
        {
            EditProjectContentDialog editProjectContentDialog = new EditProjectContentDialog(this, null);

            App.ShowContentDialog(editProjectContentDialog, null);
        }