private void buttonTest_Click(object sender, RoutedEventArgs e) { ConflictHandling ch = new ConflictHandling(obj1, obj2); ch.analyzeObjects(); ch.printConflicts(); }