private void SetTree(PSParseResult psParseResult) { treeView.BeginUpdate(); treeView.Nodes.Clear(); AddPSNode(psScriptAst); AddCSharpClassesNode(psParseResult.CSharpClasses); AddInvokeMembersNode(psParseResult.InvokeMembers); treeView.EndUpdate(); }
private void RefreshWindow(PSParseResult psParseResult) { SetScriptText(psScriptAst.GetText()); SetClassNames(psParseResult.CSharpClasses); SetInvokedMethods(psParseResult.InvokeMembers); SetClassesMethods(psParseResult.CSharpClasses); SetTree(psParseResult); }