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;
}
}