private void Activate_Click(object sender, RoutedEventArgs e) { ProjectDB.ActivateProject(); ProjectViewSource.View.Refresh(); }