private void groupsAccountsTreeView_AfterSelect(object sender, TreeViewEventArgs e) { if (e.Node.IsSelected) { _selectedAccount = (Edge.Objects.Account)e.Node.Tag; SetGroupPermmisions(); } }