BlockStudio.TreeNodes.TreeNodeManager.UpdateAccountNode C# (CSharp) Метод

UpdateAccountNode() публичный статический Метод

public static UpdateAccountNode ( Account account ) : void
account BlockStudio.Project.Account
Результат void
        public static void UpdateAccountNode(Account account)
        {
            var list = TreeView.Nodes.Find(NodeType.Account.ToString(), true);
            var accountNodes = list.Cast<AccountNode>().Where(x => x.Account.Address == account.Address).ToList();
            foreach (var accountNode in accountNodes)
            {
                accountNode.ImageIndex = account.ImageIconIndex;
                accountNode.SelectedImageIndex = account.ImageIconIndex;
            }
        }