private void MainWindow_Loaded(object sender, RoutedEventArgs e)
 {
     SharedFunctions.TryFindAndExpandNode(ElementsTreeView, StaticResources.ElementsList.Document.FirstChild.ChildNodes, "Kanał prosty");
 }
        private void CommandComboBox_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            string itemName = ((ComboBoxItem)e.AddedItems[0]).Content.ToString();

            SharedFunctions.TryFindAndExpandNode(ElementsTreeView, StaticResources.ElementsList.Document.FirstChild.ChildNodes, itemName);
        }