private void ScanExcelObjectModel() { treeViewApplicationTree.Nodes.Clear(); propertyGridDetails.SelectedObject = excelApplication; TreeNode tnRoot = treeViewApplicationTree.Nodes.Add(excelApplication.ToString()); tnRoot.Tag = excelApplication; string[] propertyNames = GetAllIXlPropertyNames(excelApplication); foreach (string propName in propertyNames) { TreeNode tnProperty = tnRoot.Nodes.Add(propName); tnProperty.Nodes.Add("Please Wait..."); } }