private void btnMin_Click(object sender, RoutedEventArgs e) { parentWindow.CollapseNode(this.Name); }