public WebServiceMapWindow OpenWebServiceMapWindow(List <WebServiceConnections.TypeNode> _ws_entry_points) { if (_ws_entry_points == null || _ws_entry_points.Count == 0) { return(null); } this.wsMap_win = new WebServiceMapWindow(); this.wsMap_win.WSRoots = _ws_entry_points; this.wsMap_win.Show(); return(this.wsMap_win); }
public void PropagateContentInfoToItems(WebServiceMapWindow _win) { if (_win == null) { return; } foreach (object item in this.Items) { TreeViewItemForMapping tvi = this.ItemContainerGenerator.ContainerFromItem(item) as TreeViewItemForMapping; if (tvi != null) { tvi.ParentWindow = _win; } } }