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