private SelectUserInList ( System.Int64 accountId ) : bool | ||
accountId | System.Int64 | |
return | bool |
private bool SelectUserInList( Int64 accountId )
{
string profDirName = Profile.ID64toDirName( accountId );
for( int i = 0; i < lstUsers.Items.Count; i++ ) {
UserRecord r = lstUsers.Items[i] as UserRecord;
if( r != null && r.DirName == profDirName ) {
lstUsers.SelectedIndex = i;
return true;
}
}
return false;
}
DlgProfile::SelectUserInList ( string accountId ) : bool |